ubuntu:keyboard:map_all_keys
This is an old revision of the document!
Table of Contents
Ubuntu - Keyboard - Map all keys
Generate the current keycode map
xmodmap -pke > .Xmodmap
NOTE: To detect what the keycode is for specific key, use command:
xev -event keyboard
Add these lines to the ~/.xinitrc file.
- ~/.xinitrc
usermodmap=$HOME/.Xmodmap sysmodmap=/etc/X11/xinit/Xmodmap if [ -f $sysmodmap ]; then xmodmap $sysmodmap fi if [ -f $usermodmap ]; then xmodmap $usermodmap fi
References
ubuntu/keyboard/map_all_keys.1663886919.txt.gz · Last modified: 2022/09/22 22:48 by peter