Xmodmap

From MythTV Official Wiki
Revision as of 14:37, 13 July 2011 by Newbury (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
Wikipedia-logo-en.png
Wikipedia has an article on:

xmodmap is an X-Windows tool used to control keyboard mapping for X applications.

Linux allows the re-mapping of a keyboard to be done on a per-user level. In Fedora style distros, the startup /etc/X11/xinit/Xsession script looks for a /home/{user}/.xmodmaprc file. In Ubuntu based distros, /etc/gdm/Xession looks for the /home/{user}/.Xmodmap file (note the capitalization). In either event, the script runs 'xmodmap /home/{user}/.xmodmaprc|.Xmodmap'

Creating the xmodmap file is actually beyond the scope of this article: see the external links. The program 'xev' is your friend in doing this.


External Links