Guest User

Untitled

a guest
Feb 25th, 2018
90
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.22 KB | None | 0 0
  1. grep "grp:." /usr/share/X11/xkb/rules/base.lst
  2.  
  3. grp:switch Right Alt (while pressed)
  4. grp:lswitch Left Alt (while pressed)
  5. grp:lwin_switch Left Win (while pressed)
  6. grp:rwin_switch Left Win (while pressed)
  7. grp:win_switch Any Win (while pressed)
  8. grp:menu_switch Menu (while pressed), Shift+Menu for Menu
  9. grp:caps_switch Caps Lock (while pressed), Alt+Caps Lock for the original Caps Lock action
  10. grp:rctrl_switch Right Ctrl (while pressed)
  11. grp:toggle Right Alt
  12. grp:lalt_toggle Left Alt
  13. grp:caps_toggle Caps Lock
  14. grp:shift_caps_toggle Shift+Caps Lock
  15. grp:shift_caps_switch Caps Lock to first layout; Shift+Caps Lock to last layout
  16. grp:win_menu_switch Left Win to first layout; Right Win/Menu to last layout
  17. grp:lctrl_rctrl_switch Left Ctrl to first layout; Right Ctrl to last layout
  18. grp:alt_caps_toggle Alt+Caps Lock
  19. grp:shifts_toggle Both Shift together
  20. grp:alts_toggle Both Alt together
  21. grp:ctrls_toggle Both Ctrl together
  22. grp:ctrl_shift_toggle Ctrl+Shift
  23. grp:lctrl_lshift_toggle Left Ctrl+Left Shift
  24. grp:rctrl_rshift_toggle Right Ctrl+Right Shift
  25. grp:ctrl_alt_toggle Alt+Ctrl
  26. grp:alt_shift_toggle Alt+Shift
  27. grp:lalt_lshift_toggle Left Alt+Left Shift
  28. grp:alt_space_toggle Alt+Space
  29. grp:menu_toggle Menu
  30. grp:lwin_toggle Left Win
  31. grp:win_space_toggle Win+Space
  32. grp:rwin_toggle Right Win
  33. grp:lshift_toggle Left Shift
  34. grp:rshift_toggle Right Shift
  35. grp:lctrl_toggle Left Ctrl
  36. grp:rctrl_toggle Right Ctrl
  37. grp:sclk_toggle Scroll Lock
  38. grp:lctrl_lwin_rctrl_menu Left Ctrl+Left Win to first layout; Right Ctrl+Menu to second layout
  39. grp:lctrl_lwin_toggle Left Ctrl+Left Win
  40.  
  41. // Control_L+Win_L toggles groups.
  42. partial modifier_keys
  43. xkb_symbols "lctrl_lwin_toggle" {
  44. key <LWIN> {
  45. type[ Group1 ] = "PC_CONTROL_LEVEL2",
  46. symbols[ Group1 ] = [ Super_L, ISO_Next_Group ]
  47. };
  48. };
  49.  
  50. // Win_L+Control_L toggles groupd.
  51. partial modifier_keys
  52. xkb_symbols "lwin_lctrl_toggle" {
  53. virtual_modifiers AltGr;
  54. key <LWIN> {
  55. virtualMods= AltGr,
  56. type[ Group1 ] = "PC_CONTROL_LEVEL2",
  57. symbols[ Group1 ] = [ Super_L, ISO_Next_Group ]
  58. };
  59. };
Add Comment
Please, Sign In to add comment