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?

  • @[email protected]
    link
    fedilink
    English
    28 months ago

    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```
    • @fart_pickleOP
      link
      English
      28 months ago

      I’m using Wayland (Fedora 40 KDE). I will have to look for a Wayland way of doing this.