Hi need some help with loadkeys, haven't been able to find proper docs...
My laptop suffered from some rain and both of my alt key are not working, this is minor to the amount of water the notebook had, but still annoying not to have alt keys.
So I want to use the Super and Hiper keys (the windows and the right-click keys) as Alt_L and Alt_R
Under X, I have been able to do this with Xmodmap:
remove mod4 = Super_L
add mod1 = Super_L
but on console I haven't been able to use loadkeys properly.
I have tried to keymap the key codes (125 and 126) to alt, Alt, AltGr, Alt_L, Alt_R, but no success. I suppose that because alt is a meta key, I need to also do something else, but have tried multiple configs, overwriting the alt keys assignation with no success.
Any keyboard mapping expert in the forum? cannot switch to the different vterminals without an external keyboard (or remapping shortcuts).
Last edited by NMigo (2012-11-14 19:24:31)
You could swap these keys by using setkeycodes (This will map for console and X11 !):
# Super_L zu Alt
setkeycodes e05b 56
The proper method should however be:
https://wiki.archlinux.org/index.php/Ma … o_keycodes
Thanks, works great, wasted days looking for a solution...