linuxmint / cinnamon

A Linux desktop featuring a traditional layout, built from modern technology and introducing brand new innovative features.
GNU General Public License v2.0
4.48k stars 728 forks source link

Can't launch menu with the Super key after rebinding Caps Lock to Super via setxkbmap #10061

Open codic12 opened 3 years ago

codic12 commented 3 years ago

Issue As I have no need for the Caps Lock key and in fact often press it, I usually rebind it with the command setxkbmap -option caps:super. This sets the Caps Lock key to be identical to the Super key in behavior, while preserving the behavior of the Super key, in most desktops. However, in Cinnamon, once I do this, I can no longer launch the menu with the original Super Key, only via the Caps Lock key and the panel button. To further complicate things, shortcuts involving Super like Super+e work with both caps lock and super as is expected. Every other desktop I've tried handles this just fine, leading me to believe it is either a Cinnamon bug or a feature that conflicts (if so, let me know please!). Maybe there's an option in the settings somewhere, and I can't find it.

Steps to reproduce run setxkbmap -option caps:super observe that the menu doesn't open with the super key anymore.

Expected behaviour The two keys should have interchangeable behavior like on other desktop environments.

bdemirtas commented 2 years ago

Can confirm, I'm having the exact same issue.

chriselrod commented 1 year ago

I ran setxkbmap -option "caps:hyper" from the command line because I wanted hyper, but emacs now reads caps lock as super instead of hyper. Googling the problem brought me to #8957.

So, it seems like `caps:hyper" rebinds caps to super, so anyone finding this issue could try that.

I think I may have to restart my session to see what caps:super does.