Autoexec in LMDE (rc.local) [SOLVED]

Archived topics about LMDE 1 and LMDE 2
Locked
marlar
Level 2
Level 2
Posts: 72
Joined: Thu Dec 10, 2009 9:30 am

Autoexec in LMDE (rc.local) [SOLVED]

Post 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
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 1 time in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
marlar
Level 2
Level 2
Posts: 72
Joined: Thu Dec 10, 2009 9:30 am

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

Post by marlar »

Oh, that was easy:

I just added the code in Preferences - startup programs.
sgosnell

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

Post by sgosnell »

Yep, that's the standard way to do it.
Locked

Return to “LMDE Archive”