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

Posted: February 25, 2016. At: 11:07 AM. This was 2 years ago. Post ID: 8638
Page permalink.
WordPress uses cookies, or tiny pieces of information stored on your computer, to verify who you are. There are cookies for logged in users and for commenters. These cookies expire two weeks after they are set.

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