I added this line to my ~/.fluxbox/keys file:

Mod1 Shift :ToggleCmd {Exec setxkbmap fr} {Exec setxkbmap us}

But it doesn't work.


Mod1 is the Alt Key and a so called modifier key. You can print the other modifier keys with $ xmodmap -pm. As you can see, Shift is just another modifier. Fluxbox is not able to recognize such a key combination. But it will work, if you use the "real" keyname, as printed by $ xmodmap -pm.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.