I can start a Flatpak app on login, but I would like to start it minimized to the tray
flatpak run com.mattermost.Desktop --hidden
or
flatpak run com.mattermost.Desktop --background
or
flatpak run com.mattermost.Desktop --start-in-tray
doesn't work - any suggestions?
For me the command that works for starting Transmission minimized to tray is:
My OS is Fedora 36 with GNOME though, so you might want to change the
com.transmissionbt.Transmission
part to match your system. I guess theflatpak run com.mattermost.Desktop -m
should work for you.