]> git.madduck.net Git - etc/xsession.git/blobdiff - .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:

treat AE00 key like TLDE
[etc/xsession.git] / .xkb / symbols / madduck
index 174a1c3b4bb6ad1aad4d3f0f73b8c9e09d53e932..88b9c7f0dd5caf4f655149e324b679b4a8971d62 100644 (file)
@@ -1,30 +1,25 @@
 // mode_switch: set up windows keys for mode switching and the menu keys
 // mode_switch: set up windows keys for mode switching and the menu keys
-// to generate mod3
+// to generate mod3. since I have some machines without those fancy keys, I
+// also configure the right CTRL and ALT keys to do the same.
 partial modifier_keys
 xkb_symbols "mode_switch" {
   include "group(win_switch)"
 partial modifier_keys
 xkb_symbols "mode_switch" {
   include "group(win_switch)"
+  include "group(switch)"
   replace key <MENU> {
   replace key <MENU> {
-    [ Super_L, Super_R ]
+    [ VoidSymbol, VoidSymbol ]
   };
   };
-  modifier_map Mod3 { <MENU> };
-};
-
-// thinkpad_switch: on thinkpads, use the right control and alt keys as
-// substitute for the missing menu and windows keys
-partial modifier_keys
-xkb_symbols "thinkpad_switch" {
-  include "group(switch)"
   replace key <RCTL> {
   replace key <RCTL> {
-    [ Super_L, Super_R ]
+    [ VoidSymbol, VoidSymbol ]
   };
   modifier_map Mod3 { <RCTL> };
   };
   modifier_map Mod3 { <RCTL> };
+  modifier_map Mod3 { <MENU> };
 };
 
 // caps_mod4: make capslock generate the mod4 modifier
 partial modifier_keys
 xkb_symbols "caps_mod4" {
   replace key <CAPS> {
 };
 
 // caps_mod4: make capslock generate the mod4 modifier
 partial modifier_keys
 xkb_symbols "caps_mod4" {
   replace key <CAPS> {
-    [ Hyper_L, Hyper_R ]
+    [ VoidSymbol, VoidSymbol ]
   };
   modifier_map Mod4 { <CAPS> };
 };
   };
   modifier_map Mod4 { <CAPS> };
 };
@@ -35,6 +30,9 @@ xkb_symbols "group2_intl" {
   key <TLDE> {
     symbols[Group2] = [ degree, infinity ]
   };
   key <TLDE> {
     symbols[Group2] = [ degree, infinity ]
   };
+  key <AE00> {
+    symbols[Group2] = [ degree, infinity ]
+  };
   key <AE01> {
     symbols[Group2] = [ onequarter, oneeighth ]
   };
   key <AE01> {
     symbols[Group2] = [ onequarter, oneeighth ]
   };