Elena ``of Valhalla''

Use Caps_Lock as an additional Mod4

Elena ``of Valhalla'' at

I'm trying a new shiny keyboard, where "new" means "vintage" and "shiny" means "yellow with age" and "if I use it to kill a zombie it won't show any marks"; everything looks fine, but it's missing a Mod4 key, which I have extensively used in my fluxbox configuration.

It has, however, the UselessKey, so I've duckduckgone around trying to adapt the common instructions to switch CapsLock and Esc / Ctrl, with limited results, until I've sumbled on the ArchLinux wiki where I've found the following line, which makes the Caps_Lock key (keycode 66) work as a Super_L (and as a Caps_Lock if shift is pressed, which may be vaguely useful someday).

keycode 66 = Super_L Caps_Lock NoSymbol NoSymbol