I have setup Proton Mail app to autostart when I log in. It works fine but I want the app to start minimized. Is there an option I can pass to the proton-mail command to start it minimized?
You must log in or register to comment.
If there isn’t a built-in option, it will probably be DE / WM specific. Something like this might work for x11. Wayland will require something different. Sway/i3/Hyprland/Gnome/KDE/etc may all have a native way depending on what you use also.
/usr/bin/firefox & /usr/bin/wmctrl -r firefox -b add,hidden```
I’m using Wayland (Fedora 40 KDE). I will have to look for a Wayland way of doing this.
In KDE you should be able to set a window rule to minimize it.