Advertisement
Guest User

Untitled

a guest
Feb 19th, 2017
78
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.52 KB | None | 0 0
  1. // Swap the functions of the right Alt key and the right Ctrl key.
  2. partial modifier_keys
  3. xkb_symbols "swap_ralt_rctl" {
  4. replace key <RALT> { [ Control_R, Control_R ] };
  5. replace key <RCTL> { [ Alt_R, Meta_R ] };
  6. };
  7.  
  8. ctrl:swap_ralt_rctl Swap Right Alt key with Right Ctrl key
  9.  
  10. ctrl:swap_ralt_rctl = +ctrl(swap_ralt_rctl)
  11.  
  12. sudo apt-get install dconf-tools
  13.  
  14. ['ctrl:swap_latl_lctl','ctrl:swap_ralt_rctl']
  15.  
  16. dconf write "/org/gnome/desktop/input-sources/xkb-options" "['ctrl:swap_latl_lctl','ctrl:swap_ralt_rctl']"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement