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?
elementary OS Stack Exchange is a question and answer site for developers and users of elementary OS and applications. It only takes a minute to sign up.
Sign up to join this communityWindows can be forced to open maximised using devilspie2.
$ sudo apt-get install devilspie2
~/.config/devilspie2/open-apps-maximised.lua
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
devilspie
will solve this?.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.