DisableCapsLock

.

For the Xfce Edition Xfce was tricky to get working. While theoretically, adding the shell script (as shown above) to the list of Startup Applications should get it working, it doesn't in practice (version 4.6). Nevertheless, there is a solution.

1) Open the settings manager. To do this, go to Menu > Settings > Xfce 4 Settings Manager

2) Click the Keyboard selection

3) Click the Layout tab.

4) Verify that the checkbox labeled Use system defaults is checked.

xubuntu5) Open Thunar (the file manager), and view your home folder.

6) Select View > Show Hidden Files

7) Look for a file named .Xmodmap if it does not exist, create it. To create the file, right click an empty space in the folder, select Create Document > Empty File. Name the new file .Xmodmap

8) Open the file .Xmodmap with a text editor, like Mousepad. To do this, right click the file, and select Open With "Mousepad"

9) In the opened file, insert the following text:

remove Lock = Caps_Lock keycode 66 = BackSpace

10) Save the file.

You will have to log out, and then log back in to see the change.

Notice that you can use this to change CapsLock to be any other key of your choice, but it would take some knowledge of what the codes for the keys are. If you wish to apply a different function to Backspace, first research what the key is called before assigning CapsLock the new value