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?
Windows can be forced to open maximised using devilspie2.
$ sudo apt-get install devilspie2~/.config/devilspie2/open-apps-maximised.luadevilspie2 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
devilspiewill solve this?.desktopfile (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.