1 ! xmodmap for en_GB keyboard layout with German umlauts
 2 !
 3 ! used websites to build this file:
 4 !   http://www.gentooforum.de/thread.php?threadid=12854
 5 !   http://howtos.linux.com/howtos/Intkeyb/index.shtml
 6 !   http://home.edo.uni-dortmund.de/~orclex/technik/linux.php
 7 !
 8 ! compose keys:
 9 !   http://www.w3.org/Amaya/User/editing_iso-latin-1_characters/about_standard_multikey_support.html
10 
11 ! available keysyms:
12 !   /usr/include/X11/keysymdef.h
13 !
14 ! could be very interesting, too:
15 !   /usr/share/X11/xkb/
16 
17 ! to autoload the xmodmap, there are at least two options:
18 !   • name the file .Xmodmap (or create an symlink with that name)
19 !   • use an entry in ~/.xsession
20 !
21 ! compose keys:
22 !   /usr/share/X11/locale/en_US.UTF-8/Compose
23 
24 ! print current mappings:
25 !   xmodmap -pke
26 !
27 ! use 'xset -r 111' to disable 'repeat keys' for some keys
28 ! set repeat keys speed with 'xset r rate 200 25' for example
29 
30 clear Lock
31 
32 keysym 1 = 1 exclam onesuperior exclamdown
33 keysym 2 = 2 at twosuperior onehalf
34 keysym 3 = 3 numbersign threesuperior onethird
35 keysym 4 = 4 dollar onequarter threequarters
36 keysym 5 = 5 percent onefifth twofifths
37 keysym 6 = 6 asciicircum onesixth fivesixths
38 keysym 7 = 7 ampersand seveneighths
39 keysym 8 = 8 asterisk infinity oneeighth
40 keysym 9 = 9 parenleft plusminus
41 keysym 0 = 0 parenright infinity Greek_OMEGA
42 !
43 keycode 49 = grave notsign bar dead_acute
44 keycode 48 = apostrophe quotedbl rightsinglequotemark
45 keycode 21 = equal plus approxeq notequal
46 keycode 20 = minus underscore endash emdash
47 keycode 59 = comma less ellipsis lessthanequal
48 keycode 60 = period greater periodcentered greaterthanequal
49 keycode 61 = slash question enfilledcircbullet questiondown
50 !keycode 94 = less greater guillemotleft guillemotright
51 keycode 94 = backslash bar guillemotleft guillemotright
52 keycode 51 = numbersign asciitilde
53 
54 ! Caps-Lock
55 keycode 66 = Mode_switch
56 ! AltGr will switch mode too
57 keycode 108 = Mode_switch
58 ! left Windows key becomes Compose key
59 ! http://en.wikipedia.org/wiki/Compose_key
60 ! keycode 115 = Multi_key
61 
62 ! thinkpad buttons
63 keycode 166 = F28
64 keycode 167 = F29
65 
66 keysym a = a A adiaeresis Adiaeresis
67 keysym c = c C checkmark copyright
68 keysym d = d D degree
69 keysym e = e E EuroSign cent
70 keysym i = i I idiaeresis Idiaeresis
71 keysym m = m M mu
72 keysym o = o O odiaeresis Odiaeresis
73 
74 keysym v = v V uparrow downarrow
75 keysym b = b B rightarrow leftarrow
76 
77 keysym p = p P section sterling
78 keysym s = s S ssharp
79 keysym t = t T trademark
80 keysym u = u U udiaeresis Udiaeresis
81 keysym x = x X multiply
82 keysym y = y Y yen
83 
84 ! Control_R didn't work. this helped
85 add Control = Control_R
86 
87 !  keycode 112 = Left
88 !  keycode 113 = Left
89 !  keycode 114 = Right
90 !  keycode 115 = Up
91 !  keycode 116 = Down
92 !  keycode 105 = Control_R