Advertisement
Guest User

Untitled

a guest
Feb 26th, 2015
245
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.27 KB | None | 0 0
  1. $ xmodmap -e 'keysym Alt_R = Multi_key' # Set it right Alt
  2. $ xmodmap -e 'keysym Caps_Lock = Multi_key' # Set it to Caps Lock
  3. $ xmodmap -e 'keysym F12 = Multi_key' # You're free to use *any* key, like F12
  4.  
  5. ! Set compose key
  6. keysym Alt_R = Multi_key
  7.  
  8. setxkbmap -option compose:ralt # Right alt
  9. setxkbmap -option compose:caps # Caps Lock
  10.  
  11. Section "InputDevice"
  12. Identifier "Keyboard0"
  13. Driver "kbd"
  14. Option "XkbOptions" "compose:ralt"
  15. #Option "XkbOptions" "compose:caps"
  16. EndSection
  17.  
  18. Section "InputClass"
  19. Identifier "Set compose key"
  20. MatchIsKeyboard "on"
  21. Option "XkbOptions" "compose:ralt"
  22. EndSection
  23.  
  24. keycode 133 = dead_greek NoSymbol SuperR
  25.  
  26. http://zuttobenkyou.wordpress.com/2011/08/24/xorg-using-the-us-international-altgr-intl-variant-keyboard-layout/
  27. http://stackoverflow.com/questions/14922007/how-to-enter-greek-alpha-under-xor
  28. keycode 48 = dead_grave apostrophe
  29.  
  30.  
  31. <dead_grave> <space> : "`" grave # GRAVE ACCENT
  32. <dead_grave> <dead_grave> : "`" grave # GRAVE ACCENT
  33. <dead_grave> <a> : "À" agrave # LATIN CAPITAL LETTER A WITH GRAVE
  34.  
  35. include "%L"
  36.  
  37. <Multi_key> <quotedbl> <a> : "ä" adiaeresis
  38.  
  39. <Multi_key> <a> : "ä" adiaeresis
  40. <Multi_key> <b> <b> : "ä" adiaeresis
  41. <Multi_key> <c> <c> <c> : "ä" adiaeresis
  42. <Multi_key> Alt <d> : "ä" adiaeresis
  43. <Multi_key> Ctrl <e> : "ä" adiaeresis
  44.  
  45. # Make compose key work for GTK, Qt
  46. export GTK_IM_MODULE=xim
  47. export QT_IM_MODULE=xim
  48.  
  49. # Make compose key work for GTK, Qt
  50. setenv GTK_IM_MODULE xim
  51. setenv QT_IM_MODULE xim
  52.  
  53. <Multi_key> <i> <b> : "NL65AEGO0721647952"
  54.  
  55. Position of Compose key
  56. +------------------------------------------------------+
  57. |Option Description |
  58. +------------------------------------------------------+
  59. |compose:ralt Right Alt |
  60. |compose:lwin Left Win |
  61. |compose:lwin-altgr 3rd level of Left Win |
  62. |compose:rwin Right Win |
  63. |compose:rwin-altgr 3rd level of Right Win |
  64. |compose:menu Menu |
  65. |compose:menu-altgr 3rd level of Menu |
  66. |compose:lctrl Left Ctrl |
  67. |compose:lctrl-altgr 3rd level of Left Ctrl |
  68. |compose:rctrl Right Ctrl |
  69. |compose:rctrl-altgr 3rd level of Right Ctrl |
  70. |compose:caps Caps Lock |
  71. |compose:caps-altgr 3rd level of Caps Lock |
  72. |compose:102 <Less/Greater> |
  73. |compose:102-altgr 3rd level of <Less/Greater> |
  74. |compose:paus Pause |
  75. |compose:prsc PrtSc |
  76. |compose:sclk Scroll Lock |
  77. +------------------------------------------------------+
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement