Autoexec in LMDE (rc.local) [SOLVED]

All Gurus once were Newbies
Forum rules

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: 62
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: 62
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: 684
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