how to automatically start and minimize applications at boot?

asked 2016-01-06 08:10:13 -0500

fedoraemon gravatar image

updated 2016-01-06 16:07:15 -0500

Hi, I can easily add application in gnome-tweak-tool to make them start at login automatically but I don't know how to set them to start with a minimezed window. In my case the application would be Chrome, just for having hangouts running everytime I start my computer. I use Firefox for browsing, that's why I want chrome minimized... let's say Chrome has a better Hangouts app/implementation, with Firefox I have to make sure the gmail window is open all the time.

edit retag flag offensive close merge delete

Comments

There are some switches that you can try on google-chrome in particular --no-startup-window that will start google-chrome in background try that there are more here http://peter.sh/experiments/chromium-... but that seems what you need, if works you can add it to your start script. Try and let me know if it works. Good Luck

aeperezt gravatar imageaeperezt ( 2016-01-06 09:40:19 -0500 )edit

thank you! Gnome (through the tweak tool) let me easily add application to start at login but doesn't let me add the switches (that would be an awesome feature to add). I'll try googling again to see if I can find a way. Cheers

fedoraemon gravatar imagefedoraemon ( 2016-01-06 16:05:06 -0500 )edit

Check if the tweak tool added a file on /home/youruser/.config/autostart/ if it did then you can edit the google-chrome.desktop file and add the switches if not you could create one file there content should be something like this

    [Desktop Entry]
Name=Google-chrome
GenericName=Web Browser
Comment=Launch browser for google hang out
Exec=google-crhome --o-startup-window
Terminal=false
Type=Application
Icon=Google-chrome
Categories=Network;Internet;
StartupNotify=false
~

Hope this help

aeperezt gravatar imageaeperezt ( 2016-01-06 16:15:32 -0500 )edit

In 2011 gnome let you edit startup application commands! look at here :https://gnomeshell.wordpress.com/2011/08/28/manage-the-startup-applications/ So far I'm hating 2016 :)

fedoraemon gravatar imagefedoraemon ( 2016-01-06 16:20:48 -0500 )edit