xkb: remap LWIN to Hyper_L

This avoids a conflict with Windows inside a VM.
This commit is contained in:
Vincent Bernat 2023-07-23 08:33:49 +02:00
parent 747c14a36a
commit 0f2bb27125
2 changed files with 7 additions and 1 deletions

View file

@ -3,6 +3,7 @@
# Default configuration with:
# - compose → rwin, ralt or menu
# - capslock as ctrl
# - lwin as hyper
# - pause key becomes xscreensaver
xkb_keymap {
xkb_keycodes { include "evdev+aliases(qwerty)" };
@ -11,6 +12,6 @@ xkb_keymap {
xkb_symbols { include "pc+us+inet(evdev)"
include "compose(rwin)+compose(menu)+compose(ralt)"
include "ctrl(nocaps)"
include "vbe(pause)" };
include "vbe(pause)+vbe(hyperwin)" };
xkb_geometry { include "pc(pc105)" };
};

View file

@ -11,6 +11,11 @@ xkb_symbols "75percent" {
key <INS> { [ Delete ] };
key <DELE> { [ Insert ] };
};
partial
xkb_symbols "hyperwin" {
key <LWIN> { [ Hyper_L ] };
modifier_map Mod4 { Hyper_L };
};
partial modifier_keys alphanumeric_keys
xkb_symbols "x1gen2" {