View Full Version : [ubuntu] Permanent Keyboard Modifaction

March 1st, 2011, 08:10 PM

I'm new, so hi everyone! I hope I found the right place to ask this question.

I have been following the instructions in this

http://art.ubuntuforums.org/showthread.php?p=7462971 (http://art.ubuntuforums.org/showthread.php?p=7462971)

thread to permanentely make the CapsLock key work like a BackSpace key.

I set up a .xmodmap file in my home folder as instructed and put the following lines in it

keycode 66 = BackSpace
clear LockThe script works fine when I call it with "xmodmap .xmodmap" in the Terminal, however when it is loaded on Ubuntu start up, only the first line seems to be read, that is, I can delete with CapsLock key however I will get capslocked everytime I press the key.

Thank you for any insight you may be able to offer!


March 1st, 2011, 08:35 PM
You might see it as a quick fix but you can run that command at startup if you want. Go to system > Preferences > Startup Applications and Add a new one. Give it a name and set the command to
xmodmap ~/.xmodmap or
xmodmap .xmodmap
When you login it should automatically run.

March 1st, 2011, 10:08 PM
Hello turtle153,

thank your for your suggestion. Sadly, the outcome from above remains unchanged :(