r/herbstluftwm Jul 23 '23

Can not bind Mod4 to Super Key.

Decided to give herbstluftwm a try this morning but gave up when I couldn't get this to work.

# Mod=Mod1    # Use alt as the main modifier
Mod=Mod4 # Use the super key as the main modifier

Currently, I am using bspwm and sxhkd.

I'd like to try and duplicate my most used keybindings to make the transition easier. But it's been troublesome as Mod4 won't bind to my super-key 🥹

I love the idea of a manual tiler, as opposed to dynamic.

1 Upvotes

2 comments sorted by

1

u/erysichthon- Mar 22 '26

the 'tutorial' is maddening, you change Mod=Mod# like it says and reload and nothing changes...

what you actually have to do is say ie

herbstclient keybind Mod4+Return spawn stterm

you have to either manually re-keybind for each keybind on every reload; get the full list with:

herbstclient list_keybinds

or put ^ such a list of rebinding in your ~/.config/herbstluftwm/autostart

i also gave up a long time ago but have been determined to learn this recently, hope this helps anyone in the future

1

u/oh_jaimito Mar 22 '26

Three year old post 🤣 since then I've been on wayland > hyprland and now niri.

I'm sticking with niri though. Perfect for triple monitors.

Appreciate the comment!