1 ! .xmodmap bind X characters to keys
2 ! Following http://www.in-ulm.de/~mascheck/X11/input8bit.html
3 ! get keycodes with xev
5 keycode 108 = Mode_switch
7 !add mod3 = Mode_switch
10 ! U00B9 is superscript one
11 keycode 10 = 1 exclam U2081 U00B9
12 keycode 11 = 2 at U2082 twosuperior
13 keycode 12 = 3 numbersign U2083 threesuperior
14 keycode 13 = 4 dollar U2084 foursuperior
15 keycode 14 = 5 percent U2085 fivesuperior
16 keycode 15 = 6 asciicircum U207B U00B9
17 ! U2080 is subscript zero
18 ! U2070 is superscript zerp
19 keycode 16 = 7 ampersand U2080 U2070
20 ! U00B7 is the middle dot
21 ! U2219 is the bullet operator
22 ! U22C5 is the dot operator
23 keycode 17 = 8 asterisk infinity U22C5
24 ! U2248 is almost equal (asymptotic)
25 keycode 18 = 9 parenleft U2248
26 ! U2205 is the empty set
27 keycode 19 = 0 parenright emptyset
28 ! U207B is superscript minus
29 ! U2213 is minus-or-plus
30 keycode 20 = minus underscore notsign U2213
31 keycode 21 = equal plus notequal plusminus
32 ! U221A is the square root sign (radical)
33 ! U211A is the set of all rationals
34 keycode 24 = q Q radical U211A
35 ! U1E84 is LATIN CAPITAL LETTER W WITH DIAERESIS
36 keycode 25 = w W Greek_omega U1E84
37 ! U2203 is there exists
38 ! U2130 is the electromotive force
39 ! U212F is the natural exponent symbol (script small e)
40 keycode 26 = e E Greek_epsilon U2130
41 ! U211D is the set of reals numbers
42 keycode 27 = r R Greek_rho U211D
43 keycode 28 = t T Greek_tau Greek_theta
44 keycode 29 = y Y Greek_psi Greek_PSI
45 keycode 30 = u U Greek_eta
46 ! U222C is a double integral
47 keycode 31 = i I integral U222C
48 ! U2126 is the ohm sign (different codepoint from Omega (U03A9))
49 keycode 32 = o O elementof U2126
50 ! U220F is the n-ary product (different codepoint from Pi (U03A0))
51 keycode 33 = p P Greek_pi U220F
52 keycode 34 = bracketleft braceleft leftsinglequotemark leftdoublequotemark
53 keycode 35 = bracketright braceright rightsinglequotemark rightdoublequotemark
55 keycode 38 = a A Greek_alpha U2200
56 ! U2211 is the n-ary summation (different codepoint from Sigma (U03A3))
57 keycode 39 = s S Greek_sigma U2211
58 ! U2202 is partial differential
59 ! (for some reason the keysym partialderivative wasn't working on my eeepc).
60 keycode 40 = d D U2202 Greek_delta
61 keycode 41 = f F function Greek_phi
62 keycode 42 = g G Greek_gamma Greek_GAMMA
63 ! U2103 is degrees Celsius
64 keycode 43 = h H degree U2103
65 ! U062A is Arabic "teh", looks like a smiley face :)
66 keycode 44 = j J j U062A
67 ! U062A is Arabic "teh with ring", looks like a goofey face :p
68 keycode 45 = k K Greek_kappa U067C
69 ! U0629 is Arabic "teh marbuta", looks like a surprised face :o
70 keycode 46 = l L Greek_lambda U0629
71 ! U2026 is an ellipsis
72 keycode 47 = semicolon colon U2026
73 keycode 48 = apostrophe quotedbl
74 ! U223C is the tilde operator
75 keycode 49 = grave asciitilde U223C approximate
77 ! U2261 is identical to (three-bar equals)
78 keycode 51 = backslash bar U2261
79 ! U2115 is the set of all natural numbers, U2124 is the set of integers
80 keycode 52 = z Z U2115 U2124
81 keycode 53 = x X Greek_chi Greek_xi
82 keycode 54 = c C Greek_chi
83 keycode 55 = v V Greek_nu
84 keycode 56 = b B Greek_beta
85 keycode 57 = n N Greek_DELTA nabla
86 ! U00B5 is the micro sign (different codepoint from mu (U03BC))
87 ! U2014 is the em-dash (parenthetical seperator)
88 keycode 58 = m M U00B5 U2014
90 ! includedin = 'subset of'
91 ! includes = 'superset of'
92 ! U2131 is the Fourier transform
93 ! U2112 is the Laplace transform
94 keycode 59 = comma less U2131 U2112
96 ! U27E8 is the mathematical left angle bracket (bra)
97 ! U27E9 is the mathematical right angle bracket (ket)
98 keycode 60 = period greater includes U22C5
99 keycode 61 = slash question rightarrow questiondown
100 ! U00A0 is a no-break space
101 keycode 65 = space space U00A0 U00A0
102 ! Compose key with my right function key
103 keycode 134 = Multi_key