Page 1 of 1

Autoexec in LMDE (rc.local) [SOLVED]

Posted: Thu Jan 27, 2011 6:57 pm
by marlar
What is the preferred way of running a script on bootup in LMDE?

I want to execute

Code: Select all

xmodmap -e "keycode 166 = Prior" -e "keycode 167 = Next"
each time my computer starts in order to do some key remapping, but putting the code in rc.local doesn't do the job.

So where should it go?

Thanks,
Martin

Re: Autoexec in LMDE (rc.local) [SOLVED]

Posted: Thu Jan 27, 2011 7:10 pm
by marlar
Oh, that was easy:

I just added the code in Preferences - startup programs.

Re: Autoexec in LMDE (rc.local) [SOLVED]

Posted: Thu Jan 27, 2011 9:18 pm
by sgosnell
Yep, that's the standard way to do it.