How to create a keyboard map in the .Xmodmap file.

Creating a .Xmodmap file for Linux is very easy. This file contains all of the keyboard mappings for the keyboard keys for your system.

[email protected]:~$ xmodmap -pke > ~/.Xmodmap

Now use less to view the completed file.

[email protected]:~$ cat .Xmodmap

This file can be edited if you wish to disable the annoying Caps lock key. This is very useful if you find that key annoying as I do. This page has the solution to performing this task.

No comments have been made. Use this form to start the conversation :)

Leave a Reply