Click to See Complete Forum and Search --> : how to run automatic script in MDK8.1 ?


mcmanus69
01-28-2002, 04:13 PM
I know you can use .xinitrc in SuSE, but how do you run automatic scripts in MDK8.1? .xinitrc in the home directory doesn't work. any suggestions?

slapNUT
01-28-2002, 08:09 PM
Just put the script in your .bash_profile and it will run when you login.

Put it in /etc/rc.d/rc.local and it will run when you first boot.

vasah20
01-29-2002, 02:32 AM
Instead of .xinitrc, throw whatever you need to inside of .xsession. Worked for me, since Drake 8 uses gdm as the login manager, and Drake 8.1 probably does too...

Or, then again, instead of using the /etc/rc.d/rc.local, you could always create a script in /etc/rc.d/init.d, then use the runlevels to have it run when you want.

Just some options...
HTH

[ 29 January 2002: Message edited by: vasah20 ]

mcmanus69
01-29-2002, 03:44 PM
Thanks guys! I COMPLETELY forgot about rc.local !