I just read this post http://linuxtidbits.wordpress.com/20...ards-in-linux/
and am trying to map some of my keys (key combinations) but am having problems.
dumpkeys > /etc/default.kmap
then edited it, changing portions (the F1-F19 keys). I got the values for the keys using:
I then tried to get the xorg.conf file working (I think this may be a problem) but was unable to get it working. I added this:
Option "XkbModel" "macintosh"
Option "XkbLayout" "kr" (I changed this bit)
I deleted the
rm -r ~/.gconf/desktop/gnome/peripherals/keyboard/kbd/
Finally gnome asked me if I wanted to use the ~/.xmodmap, which was really just a renamed copy of /etc/default-mac.kmap (I don't know if this needs to stay "default.kmap" ??).
It loaded the file, then nothing.
It complains about errors when I try and test it with
I'm trying to find a copy of a .xmodmap file for refference.
Mine looks like a mess.
Here is a portion of the file.
keycode 58 = Caps_Lock
keycode 224 = F1 F13 Console_13 F25
alt keycode 224 = Console_1
control alt keycode 224 = Console_1
keycode 225 = F2 F14 Console_14 F26
alt keycode 225 = Console_2
control alt keycode 225 = Console_2
keycode 120 = F3 F15 Console_15 F27
alt keycode 120 = Console_3
control alt keycode 61 = Console_3
The F1 key has "F13" next to it. I don't know why, do you? Also it's not allowing me to switch to other virtual consoles, with control+alt+F1. That feature along with print screen and a more convenient way to switch between "Korean" and "English" would be great. Any ideas?
Finally, here are the errors that I'm getting from xmodmap
xmodmap: .xmodmap:2: bad keycode value (out of range)
xmodmap: unknown command on line .xmodmap:3
xmodmap: unknown command on line .xmodmap:4
xmodmap: unknown command on line .xmodmap:5
and the corresponding lines in the file that it's looking at.
keycode 1 = Escape
alt keycode 1 = Meta_Escape
shift alt keycode 1 = Meta_Escape
control alt keycode 1 = Meta_Escape