Map caps lock to super key (xfce)

Who needs caps lock anyway …

Background: I’m using an IBM Model M Keyboard and this keyboard is missing a super key (aka windows key). But as all keyboards it has an caps lock key. A useless one 😉

Conclusion: Map caps lock to super and get an additional modifier for example to control the window manger or get additional hotkeys

Most window manger have some kind of configuration parameter to configure this. Unfortunately xfce/xubuntu is missing such a feature. But there is an easy gloabl way to change this setting.

/etc/default/keyboard

# KEYBOARD CONFIGURATION FILE

# Consult the keyboard(5) manual page.

XKBMODEL="pc105"
XKBLAYOUT="de"
XKBVARIANT="nodeadkeys"
XKBOPTIONS="caps:super,numpad:mac"

BACKSPACE="guess"