chiark / gitweb /
seems to work
authorIan Jackson <ijackson@chiark.greenend.org.uk>
Wed, 13 May 2020 14:30:46 +0000 (15:30 +0100)
committerIan Jackson <ijackson@chiark.greenend.org.uk>
Wed, 13 May 2020 14:30:46 +0000 (15:30 +0100)
xkbcomp junk/xkb/hack.xkb $DISPLAY

hack.xkb

index 520eaad1e118fa4e3c9faad78ef57eea1e180594..a97caf9f2e5c6df96fe53e0f25e9eb33414ed1e3 100644 (file)
--- a/hack.xkb
+++ b/hack.xkb
@@ -1146,6 +1146,14 @@ xkb_compatibility "complete" {
     interpret Any+AnyOf(all) {
         action= SetMods(modifiers=modMapMods,clearLocks);
     };
+    interpret osfLeft {
+        repeat=True;
+        action=RedirectKey(keycode=<HOME>, clearmodifiers=Super);
+    };
+    interpret osfRight {
+        repeat=True;
+        action=RedirectKey(keycode=<END>, clearmodifiers=Super);
+    };
     group 2 = AltGr;
     group 3 = AltGr;
     group 4 = AltGr;
@@ -1486,11 +1494,11 @@ xkb_symbols "pc+gb+inet(evdev)" {
     key <PGUP> {         [            Home ] };
     key <LEFT> {
  type = "PC_SUPER_LEVEL2",
-         [            Left, Prior ]
+         [            Left, osfLeft ]
  };
     key <RGHT> {
  type = "PC_SUPER_LEVEL2",
-         [           Right, Next ]
+         [           Right, osfRight ]
  };
     key  <END> {         [            Next ] };
     key <DOWN> {         [            Down ] };