Ubuntu: Launching Applications on Startup

Posted on November 18, 2005
Filed Under /dev/null/ | 70 views |

Ubuntu LogoI hunted for half an hour trying to figure out how to launch an application on startup in Ubuntu. Hint: it has nothing to do with .xinitrc. You can try but I couldn’t get that approach to work. Finally Jonathan turned me onto How to get ubuntu to automatically start programs when user logs in which describes the steps perfectly:

To start programs automatically when user logs in edit the following script
~/.gnome2/session-manual

My file contains:

[Default]
num_clients=1
0,RestartStyleHint=3
0,Priority=50
0,RestartCommand=torsmo

I don’t actually know what that file does per se, but it certainly does do it.

Comments

2 Responses to “Ubuntu: Launching Applications on Startup”

  1. martin on December 12th, 2005 10:18 am

    I dealt with this specific issue too in my blog: http://fgaco.blogspot.com/2005/12/ubuntu-addingremoving-script-to.html

  2. MrHappy on December 12th, 2005 11:00 pm

    Hmm, I’ll have to give that a try also. At first glance I like your method more than mine.

Leave a Reply