umlaute with X
May 8th, 2008
Tags: debian, gnome, t61
To use german Umlaute (i.e. ä, ö, ü, and ß) with an american keyboard you have to patch Xmodmap.
Before you can edit the xmodmap, you need to identify the right code for each. This can be done with xev which prints contents of X events.
Run
CODE:
-
xev
to see a key code for a certain, press this key and xev will show the code.
These codes can now be stored into your home dir into
CODE:
-
~/.Xmodmap
Mine looks like this
CODE:
-
keycode 227 = Mode_switch
-
keycode 38 = a A adiaeresis Adiaeresis
-
keycode 30 = u U udiaeresis Udiaeresis
-
keycode 32 = o O odiaeresis Odiaeresis
-
keycode 39 = s S ssharp







Leave a Reply