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.
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: tools/remap | loadkeys
dumpkeys < /dev/tty1 | sed -f /etc/console-
works, but once I reboot the key remap is gone.