Differences
This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
development:linux:settings_tweaks:super_arrow_as_home_end [2020/05/29 11:52] kalenpw created |
development:linux:settings_tweaks:super_arrow_as_home_end [2020/09/09 10:24] (current) kalenpw |
||
---|---|---|---|
Line 1: | Line 1: | ||
====== Super + Arrow as Home/End ====== | ====== Super + Arrow as Home/End ====== | ||
+ | |||
+ | ===== TODO FIX THIS TO USE FN + ARROW METHOD ===== | ||
+ | ---- | ||
+ | // | ||
+ | |||
+ | The page http:// | ||
+ | |||
+ | Create a file ~/ | ||
+ | |||
+ | setxkbmap -print > ~/ | ||
+ | then we will create a ~/ | ||
+ | |||
+ | partial | ||
+ | xkb_types " | ||
+ | Virtual_modifiers Super; | ||
+ | type " | ||
+ | modifiers= Super; | ||
+ | map[Super]= Level2; | ||
+ | level_name[Level1]= " | ||
+ | level_name[Level2]= " | ||
+ | }; | ||
+ | }; | ||
+ | it defines a type SUPER_LEVEL2 that will allow to easily define symbols sent when a key is pressed with Super. | ||
+ | |||
+ | then, in the ~/ | ||
+ | |||
+ | partial modifier_keys | ||
+ | xkb_symbols " | ||
+ | key < | ||
+ | type[Group1] = " | ||
+ | symbols[Group1] = [ Left, | ||
+ | }; | ||
+ | key < | ||
+ | type[Group1] = " | ||
+ | symbols[Group1] = [ Right, | ||
+ | }; | ||
+ | }; | ||
+ | (note the use of the " | ||
+ | |||
+ | Finally, edit the ~/ | ||
+ | |||
+ | in the xkb_types line add +mytypes(super_level2) inside the quotes | ||
+ | in the xkb_symbols line add +mysymbols(super_arrows_home_end) in the quotes. | ||
+ | Now you can load it with | ||
+ | |||
+ | xkbcomp -I$HOME/ | ||
+ | Test your left/right keys, they should work as you wanted. | ||
+ |