LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Ubuntu (http://www.linuxquestions.org/questions/ubuntu-63/)
-   -   auto execution of script on ubuntu when user login (http://www.linuxquestions.org/questions/ubuntu-63/auto-execution-of-script-on-ubuntu-when-user-login-653471/)

Mr.J 07-03-2008 11:32 PM

auto execution of script on ubuntu when user login
 
I've configured Ubuntu 7.1 for auto login. Now just after login, I want to run a script that will launch couple of other applications.... Can anybody help me in this regards

emi_ramo 07-04-2008 03:26 AM

Which kind of apps? Are them X apps or just shell ones?

If they're shell ones, go to $HOME/.profile and add them at the end. If this file does not exist, be sure make it executable ( chmod +x $HOME/.profile ) and it beginning (in the first line) with "#!/bin/sh".

If these apps are X ones, you'd add them to the Autostart section of your Desktop manager (KDE, Gnome, etc).

emi

Mr.J 07-04-2008 05:04 AM

Thanks.. It worked...


All times are GMT -5. The time now is 11:14 AM.