XFree: Change Keymap
Published on 07 Jun 2004Tags #Linux #X11
To change the keymap of your X server while it is running use the following command:
setxkbmap us
You can also achieve a similar behaviour as in windows by implementing one of the following:
-
In your X config:
Option "XkbLayout" "us,de" Option "XkbVariant" ",nodeadkeys" Option "XkbOptions" "grp:alt_shift_toggle"
-
One the command line:
setxkbmap -rules xorg|xfree86 -layout "us,de" -variant ",nodeadkeys" -option "grp:alt_shift_toggle"
Feedback is always welcome! If you'd like to get in touch with me concerning the contents of this article, please use Twitter.