Linux-Noob Forums

Full Version: Running programs on start-up?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I've written a silly little script that starts an xterm session. I'd like this script to be run as soon as I log in. Where do I add the script to make this possible?

Quote:I've written a silly little script that starts an xterm session. I'd like this script to be run as soon as I log in. Where do I add the script to make this possible?

 

 

In Slackware you would add the command used to start the session in /etc/rc.d/rc.local.


negative |Sanchez|... thats not 'when he logins in'

 

thats when the system starts up...

 

if you want it when the X starts... add it in ~/.xinitrc

 

if you want it when you login to a shell ~/.bashrc