I'd like to switch my CTRL and ALT keys under Linux (to make it more Mac-like). How do I do this?
If it helps, I'm running Ubuntu 9.04.
|
feedback
|
|
First off, try looking in Preferences > Keyboard > Layouts > Layout Options under the Alt/Win key behavior if there is a suitable option there for you. If that doesn't do it for you these commands would switch left control with left alt (at least with my keyboard).
To get your keycode, you can run the program xev in a terminal window and press first Control and note the keycode, then Alt to get the keycode. Good luck! | |||
|
feedback
|
|
xmodmap - utility for modifying keymaps and pointer button mappings in X showkey - examine the codes sent by the keyboard setkeycodes - load kernel scancode-to-keycode mapping table entries | |||||||
feedback
|
|
There's a solution posted on the Ubuntu forums. I used a similar one some time back to reconfigure Caps Lock. | |||
|
feedback
|
|
The above answers did not work for me. Here is what I did:
| ||||
|
feedback
|