How to remap your keyboard
Wouter Eerdekens
retuow at gmail.com
Sun Jul 16 19:12:52 UTC 2006
Hi.
I am using a Mac Mini with a standard Apple keyboard and I'm running
Ubuntu 6.06.
I want to remap my keyboard to be more "mac like" :
- swap the Control and Command key (Super key)
- move the tilde/backquote key to its correct location (left of the 'z' key)
First I used 'xev' to determine the keycode of the Command key (115)
I tried adding the following to ~/.xmodmap:
keycode 115 = Control_L
But to no avail... xev shows the following afterwards:
KeyPress event, serial 26, synthetic NO, window 0x2600001,
root 0x4c, subw 0x0, time 2025510245, (409,309), root:(419,382),
state 0x0, keycode 115 (keysym 0xffe3, Control_L), same_screen YES,
XLookupString gives 0 bytes:
XmbLookupString gives 0 bytes:
XFilterEvent returns: False
So the remapping is correct, but Gnome seems to ignore the remapping...
My /etc/X11/xorg.conf keyboard configuration:
Section "InputDevice"
Identifier "Generic Keyboard"
Driver "kbd"
Option "CoreKeyboard"
Option "XkbRules" "xorg"
Option "XkbModel" "macintosh"
Option "XkbLayout" "us"
EndSection
Gnome keyboard configuration:
- Keyboard model: Macintosh
- Keyboard layout: U.S. English
Any thoughts?
Cheers,
Wouter
--
The seven is the number of the young light
It forms when darkness is increased by One
Shine on, Syd!
More information about the ubuntu-users
mailing list