emacs - Remap Ctrl, Alt & Super keys in Ubuntu 13.10 -
I am trying to repaint the last line of my keyboard to mimic the hack hacking keyboard layout. I created a .xmodmap
file with key code changes. Below are just the rows that have been changed manually in Xmodmap file; xmodmap -pke & gt; ~ / .xmodmap
.
Keycode 37 = Super_L NoSymbol Super_L Keycode 64 = Control_L NoSymbol Control_L Keycode 105 = Super_R NoSymbol Super_R Keycode 108 = Control_R NoSymbol Control_R Keycode 133 = Alt_L Meta_L Alt_L Meta_L Keycode 134 = Alt_R Meta_R Alt_R Meta_R
loaded using the above change
xmodmap ~ / .xmodmap
Ctrl , super key: Alt Kbd> and Ctrl key: super .
However, when I run emacs, it is still the alt key: Alt , super key: Super & amp; Ctrl key: Ctrl . <, K <> Super + T . These applications still reflect default keyboard layout, not in my $ HOME / .xmodmap
file according to new configuration.
Change the xmodmap ~ / .xmodmap
to the $ HOME / .xinitrc
file so that the changes are persistent throughout the application, it does not work.
Additionally, the following code was added to / etc / X11 / xinit / xinitrc
. But this does not work either.
if [-f $ HOME / .xmodmap]; / Usr / bin / xmodmap $ HOME / .xmodmap fi
Please provide your suggestions
Thank you for your time.
-Girish
little backgroud:
Recently switching from Ubuntu to Windows I am using AMACS to write code and the key like HHK To mapped it has found it effective. This avoids the effect of wrinkles on Pinky and RSI.
For information, if you do not want to be in the pain of xmodmap
, You can also open, through a very GNOME setting. Go to
sudo apt-get install gnome-tweak-tool
, and Ctrl key position and Check the options for the Alt / Win key behavior
Comments
Post a Comment