blubber dot de

xfce

Map caps lock to super key (xfce)

von Rene Bredlau

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 a caps lock key. A useless one 😉

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

Most window manager 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"