add xkb config for F13 remapping and language toggle
This commit is contained in:
4
xkb_config/README
Normal file
4
xkb_config/README
Normal file
@@ -0,0 +1,4 @@
|
||||
Compile and apply
|
||||
--------
|
||||
|
||||
xkbcomp -I$HOME/path/to/xkb_config ~/path/to/xkb_config/keymap/mymap $DISPLAY
|
||||
3
xkb_config/keycodes/override
Normal file
3
xkb_config/keycodes/override
Normal file
@@ -0,0 +1,3 @@
|
||||
default xkb_keycodes "f13" {
|
||||
<FK13> = 66;
|
||||
};
|
||||
7
xkb_config/keymap/mymap
Normal file
7
xkb_config/keymap/mymap
Normal file
@@ -0,0 +1,7 @@
|
||||
xkb_keymap {
|
||||
xkb_keycodes { include "evdev+aliases(qwerty)+override(f13)" };
|
||||
xkb_types { include "complete" };
|
||||
xkb_compat { include "complete" };
|
||||
xkb_symbols { include "pc+us+ru:2+inet(evdev)+f13_toggle" };
|
||||
xkb_geometry { include "pc(pc105)" };
|
||||
};
|
||||
7
xkb_config/symbols/f13_toggle
Normal file
7
xkb_config/symbols/f13_toggle
Normal file
@@ -0,0 +1,7 @@
|
||||
partial modifier_keys
|
||||
xkb_symbols "f13_toggle" {
|
||||
key <FK13> {
|
||||
type[Group1] = "PC_CONTROL_LEVEL2",
|
||||
symbols[Group1] = [ ISO_Next_Group, F14 ]
|
||||
};
|
||||
};
|
||||
Reference in New Issue
Block a user