Comment 4 for bug 140786

Revision history for this message
mon (javiermon-deactivatedaccount) wrote :

I've changed the file to:

# This sed script is run across the dumpkeys output to remap keys on the console

# This turns caps lock into control
#s/keycode 58 = Caps_Lock/keycode 58 = Control/;
s/keycode 126 = Alt/keycode 126 = AltGr/;

and running as root:
dumpkeys < /dev/tty1 | sed -f /etc/console-tools/remap | loadkeys

works, but once I reboot the key remap is gone.