3

Usually I work with all my windows being maximised except for those that cannot be maximised (e.g. calculator).

Is it possible to tweak the behaviour as such that all maximisable windows always open maximised?

  • 1
    maybe devilspie will solve this? – png2378 Jul 16 '15 at 9:42
  • 1
    I'm not sure if it's possible to do it in one click, but it is possible in most of the applications to edit the .desktop file (located mostly in the /usr/share/applications) and edit their commands. It could be a bit time consuming to make it work, but it should be possible in theory. I'll try to find a way to automate the task using bash. – r3bl Jul 17 '15 at 18:09
2

Windows can be forced to open maximised using devilspie2.

  1. Install it: $ sudo apt-get install devilspie2
  2. Create the config file: ~/.config/devilspie2/open-apps-maximised.lua
  3. Run devilspie2 from the command-line and add it to the list of applications to run on startup.

Example content of open-apps-maximised.lua:

if (get_window_role()=="pop-up") then
    maximize();
end

if (get_window_name()=="Messenger") then
    maximize();
end

if (get_window_name()=="WhatsApp Web") then
    maximize();
end
| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.