Autoexec in LMDE (rc.local) [SOLVED]

Archived topics about LMDE 1
Forum rules
marlar
Level 2
Level 2
Posts: 62
Joined: Thu Dec 10, 2009 9:30 am

Autoexec in LMDE (rc.local) [SOLVED]

Postby marlar » 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

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

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

Oh, that was easy:

I just added the code in Preferences - startup programs.

sgosnell
Level 5
Level 5
Posts: 684
Joined: Fri Sep 10, 2010 9:32 pm
Location: Baja Oklahoma

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

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

Yep, that's the standard way to do it.
Asus eee-pc 900 w/ 32GB SSD.


Return to “Archive”

Who is online

Users browsing this forum: No registered users and 0 guests