The Startup Applications shouldn't open a terminal window on login though...
I'll give different examples for Startup Applications first
Open Startup Applications and add a new entry.
Then write the following in the command section:
Discord Flatpak (minimized):
bash -c "sleep 6 && flatpak run com.discordapp.Discord --start-minimized"
This way it waits for 6 seconds after you login and then it opens discord minimized.
Discord Flatpak (Minimized Without Timer):
flatpak run com.discordapp.Discord --start-minimized
Discord (Minimized Non Flatpak):
discord --start-minimized
Steam (Minimized Non Flatpak):
steam -nochatui -nofriendsui -silent
Steam Flatpak:
flatpak run com.valvesoftware.Steam -silent
OR
flatpak run com.valvesoftware.Steam -nochatui -nofriendsui -silent
I don't use steam as flatpak, I'm not sure if this last one works
If Startup Applications really doesn't work for you, try the following:
Copy steam.desktop
and discord.desktop
inside /usr/share/applications/
to /home/$USER/.config/autostart/
.
sudo cp /usr/share/applications/steam.desktop /home/$USER/.config/autostart/
sudo cp /usr/share/applications/discord.desktop /home/$USER/.config/autostart/
Just in case change the ownership of the new .desktop files you copied:
sudo chown $USER /home/$USER/.config/autostart/steam.desktop
sudo chown $USER:$USER /home/$USER/.config/autostart/steam.desktop
OR
sudo chown 1000 /home/$USER/.config/autostart/steam.desktop
sudo chown 1000:1000 /home/$USER/.config/autostart/steam.desktop
Repeat the steps above for discord.
If you want it to start minimized, edit with your text editor of choice the steam.desktop
in /home/$USER/.config/autostart/
Find the Exec=
line and do this:Exec=/usr/games/steam -nochatui -nofriendsui -silent