]> 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:

add non-breaking space to keymap
[etc/xsession.git] / .xkb / symbols / madduck
index ddfef83c810930e13f8f4bf0f707cec27c7bd2ee..ef781b3ccefbb8c61977471c204705c0d7945052 100644 (file)
@@ -1,23 +1,18 @@
-// mode_switch: set up windows keys for mode switching and the menu keys
-// to generate mod3
+// default_switch: set up windows keys for mode switching and the menu keys
+// 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
 partial modifier_keys
-xkb_symbols "mode_switch" {
+xkb_symbols "default_switch" {
   include "group(win_switch)"
   include "group(win_switch)"
+  include "group(switch)"
   replace key <MENU> {
     [ VoidSymbol, VoidSymbol ]
   };
   replace key <MENU> {
     [ 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> {
     [ VoidSymbol, VoidSymbol ]
   };
   modifier_map Mod3 { <RCTL> };
   replace key <RCTL> {
     [ VoidSymbol, VoidSymbol ]
   };
   modifier_map Mod3 { <RCTL> };
+  modifier_map Mod3 { <MENU> };
 };
 
 // caps_mod4: make capslock generate the mod4 modifier
 };
 
 // caps_mod4: make capslock generate the mod4 modifier
@@ -35,8 +30,11 @@ xkb_symbols "group2_intl" {
   key <TLDE> {
     symbols[Group2] = [ degree, infinity ]
   };
   key <TLDE> {
     symbols[Group2] = [ degree, infinity ]
   };
+  key <AE00> {
+    symbols[Group2] = [ degree, infinity ]
+  };
   key <AE01> {
   key <AE01> {
-    symbols[Group2] = [ onequarter, oneeighth ]
+    symbols[Group2] = [ onesuperior, onequarter ]
   };
   key <AE02> {
     symbols[Group2] = [ twosuperior, onehalf ]
   };
   key <AE02> {
     symbols[Group2] = [ twosuperior, onehalf ]
@@ -74,6 +72,9 @@ xkb_symbols "group2_intl" {
   key <BKSP> {
     symbols[Group2] = [ BackSpace, BackSpace ]
   };
   key <BKSP> {
     symbols[Group2] = [ BackSpace, BackSpace ]
   };
+  key <SPCE> {
+    symbols[Group2] = [ nobreakspace, nobreakspace ]
+  };
   key <TAB> {
     symbols[Group2] = [ Tab, Tab ]
   };
   key <TAB> {
     symbols[Group2] = [ Tab, Tab ]
   };
@@ -174,7 +175,7 @@ xkb_symbols "group2_intl" {
     symbols[Group2] = [ mu, heart ]
   };
   key <AB08> {
     symbols[Group2] = [ mu, heart ]
   };
   key <AB08> {
-    symbols[Group2] = [ notsign, guillemotleft ]
+    symbols[Group2] = [ periodcentered, guillemotleft ]
   };
   key <AB09> {
     symbols[Group2] = [ ellipsis, guillemotright ]
   };
   key <AB09> {
     symbols[Group2] = [ ellipsis, guillemotright ]