Autoexec in LMDE (rc.local) [SOLVED]

All Gurus once were Newbies
Forum rules
There are no such things as "stupid" questions. However if you think your question is a bit stupid, then this is the right place for you to post it. Please stick to easy to-the-point questions that you feel people can answer fast. For long and complicated questions prefer the other forums within the support section.
Before you post please read this

Autoexec in LMDE (rc.local) [SOLVED]

Postby marlar on Thu Jan 27, 2011 6:57 pm

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
marlar
Level 2
Level 2
 
Posts: 64
Joined: Thu Dec 10, 2009 9:30 am

Linux Mint is funded by ads and donations.
 

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

Postby marlar on Thu Jan 27, 2011 7:10 pm

Oh, that was easy:

I just added the code in Preferences - startup programs.
marlar
Level 2
Level 2
 
Posts: 64
Joined: Thu Dec 10, 2009 9:30 am

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

Postby sgosnell on Thu Jan 27, 2011 9:18 pm

Yep, that's the standard way to do it.
Asus eee-pc 900 w/ 32GB SSD.
sgosnell
Level 5
Level 5
 
Posts: 686
Joined: Fri Sep 10, 2010 9:32 pm
Location: Baja Oklahoma


Return to Newbie Questions

Who is online

Users browsing this forum: No registered users and 5 guests