]> git.madduck.net Git - etc/xsession.git/blob - .xkb/symbols/madduck

madduck's git repository

Every one of the projects in this repository is available at the canonical URL git://git.madduck.net/madduck/pub/<projectpath> — see each project's metadata for the exact URL.

All patches and comments are welcome. Please squash your changes to logical commits before using git-format-patch and git-send-email to patches@git.madduck.net. If you'd read over the Git project's submission guidelines and adhered to them, I'd be especially grateful.

SSH access, as well as push access can be individually arranged.

If you use my repositories frequently, consider adding the following snippet to ~/.gitconfig and using the third clone URL listed for each project:

[url "git://git.madduck.net/madduck/"]
  insteadOf = madduck:

remove special thinkpad handling, unify the two setups
[etc/xsession.git] / .xkb / symbols / madduck
1 // mode_switch: set up windows keys for mode switching and the menu keys
2 // to generate mod3. since I have some machines without those fancy keys, I
3 // also configure the right CTRL and ALT keys to do the same.
4 partial modifier_keys
5 xkb_symbols "mode_switch" {
6   include "group(win_switch)"
7   include "group(switch)"
8   replace key <MENU> {
9     [ VoidSymbol, VoidSymbol ]
10   };
11   replace key <RCTL> {
12     [ VoidSymbol, VoidSymbol ]
13   };
14   modifier_map Mod3 { <RCTL> };
15   modifier_map Mod3 { <MENU> };
16 };
17
18 // caps_mod4: make capslock generate the mod4 modifier
19 partial modifier_keys
20 xkb_symbols "caps_mod4" {
21   replace key <CAPS> {
22     [ VoidSymbol, VoidSymbol ]
23   };
24   modifier_map Mod4 { <CAPS> };
25 };
26
27 // group2_intl: my group2 map of international and other symbols
28 partial modifier_keys alphanumeric_keys
29 xkb_symbols "group2_intl" {
30   key <TLDE> {
31     symbols[Group2] = [ degree, infinity ]
32   };
33   key <AE01> {
34     symbols[Group2] = [ onequarter, oneeighth ]
35   };
36   key <AE02> {
37     symbols[Group2] = [ twosuperior, onehalf ]
38   };
39   key <AE03> {
40     symbols[Group2] = [ threesuperior, threequarters ]
41   };
42   key <AE04> {
43     symbols[Group2] = [ eacute, Eacute ]
44   };
45   key <AE05> {
46     symbols[Group2] = [ EuroSign, cent ]
47   };
48   key <AE06> {
49     symbols[Group2] = [ copyright, trademark ]
50   };
51   key <AE07> {
52     symbols[Group2] = [ yacute, Yacute ]
53   };
54   key <AE08> {
55     symbols[Group2] = [ uacute, Uacute ]
56   };
57   key <AE09> {
58     symbols[Group2] = [ iacute, Iacute ]
59   };
60   key <AE10> {
61     symbols[Group2] = [ oacute, Oacute ]
62   };
63   key <AE11> {
64     symbols[Group2] = [ endash, emdash ]
65   };
66   key <AE12> {
67     symbols[Group2] = [ approximate, plusminus ]
68   };
69   key <BKSP> {
70     symbols[Group2] = [ BackSpace, BackSpace ]
71   };
72   key <TAB> {
73     symbols[Group2] = [ Tab, Tab ]
74   };
75   key <AD01> {
76     symbols[Group2] = [ acircumflex, Acircumflex ]
77   };
78   key <AD02> {
79     symbols[Group2] = [ aacute, Aacute ]
80   };
81   key <AD03> {
82     symbols[Group2] = [ ediaeresis, Ediaeresis ]
83   };
84   key <AD04> {
85     symbols[Group2] = [ ecircumflex, Ecircumflex ]
86   };
87   key <AD05> {
88     symbols[Group2] = [ icircumflex, Icircumflex ]
89   };
90   key <AD06> {
91     symbols[Group2] = [ ydiaeresis, Ydiaeresis ]
92   };
93   key <AD07> {
94     symbols[Group2] = [ udiaeresis, Udiaeresis ]
95   };
96   key <AD08> {
97     symbols[Group2] = [ idiaeresis, Idiaeresis ]
98   };
99   key <AD09> {
100     symbols[Group2] = [ odiaeresis, Odiaeresis ]
101   };
102   key <AD10> {
103     symbols[Group2] = [ ocircumflex, Ocircumflex ]
104   };
105   key <AD11> {
106     symbols[Group2] = [ ae, AE ]
107   };
108   key <AD12> {
109     symbols[Group2] = [ oslash, Oslash ]
110   };
111   key <BKSL> {
112     symbols[Group2] = [ aring, Aring ]
113   };
114   key <AC01> {
115     symbols[Group2] = [ adiaeresis, Adiaeresis ]
116   };
117   key <AC02> {
118     symbols[Group2] = [ ssharp, section ]
119   };
120   key <AC03> {
121     symbols[Group2] = [ egrave, Egrave ]
122   };
123   key <AC04> {
124     symbols[Group2] = [ eth, Eth ]
125   };
126   key <AC05> {
127     symbols[Group2] = [ thorn, Thorn ]
128   };
129   key <AC06> {
130     symbols[Group2] = [ ucircumflex, Ucircumflex ]
131   };
132   key <AC07> {
133     symbols[Group2] = [ ugrave, Ugrave ]
134   };
135   key <AC08> {
136     symbols[Group2] = [ igrave, Igrave ]
137   };
138   key <AC09> {
139     symbols[Group2] = [ ograve, Ograve ]
140   };
141   key <AC10> {
142     symbols[Group2] = [ leftdoublequotemark, leftarrow ]
143   };
144   key <AC11> {
145     symbols[Group2] = [ rightdoublequotemark, rightarrow ]
146   };
147   key <RTRN> {
148     symbols[Group2] = [ Return, Return ]
149   };
150   key <AB01> {
151     symbols[Group2] = [ agrave, Agrave ]
152   };
153   key <AB02> {
154     symbols[Group2] = [ multiply, division ]
155   };
156   key <AB03> {
157     symbols[Group2] = [ ccedilla, Ccedilla ]
158   };
159   key <AB04> {
160     symbols[Group2] = [ atilde, Atilde ]
161   };
162   key <AB05> {
163     symbols[Group2] = [ otilde, Otilde ]
164   };
165   key <AB06> {
166     symbols[Group2] = [ ntilde, Ntilde ]
167   };
168   key <AB07> {
169     symbols[Group2] = [ mu, heart ]
170   };
171   key <AB08> {
172     symbols[Group2] = [ notsign, guillemotleft ]
173   };
174   key <AB09> {
175     symbols[Group2] = [ ellipsis, guillemotright ]
176   };
177   key <AB10> {
178     symbols[Group2] = [ exclamdown, questiondown ]
179   };
180 };