SUPER hotkey causes Whisker menu to suddenly disappear on Xubuntu 22.04 due to xcape
After upgrading to Xubuntu 22.04, Whisker menu suddenly closes every time I open it running xfce4-popup-whiskermenu
with a Super L
hotkey I defined in keyboard settings under "Application Shortcuts". Often this is so quick I can't even see the menu, other times it clearly appears just to close itself in a blink of an eye. The issue does not occur when running xfce4-popup-whiskermenu
in a terminal or in any other way.
I found out the culprit to be the addition of xcape
in 22.04, which runs xcape -e 'Super_L=Control_L|Escape'
in background when logging in. Running sudo killall xcape
fixes the issue immediately, so for the moment I just disabled that command, named "Bind Super Key", under "Application Autostart" in session and startup settings.
I guess the problem is that xcape
makes Super_L
trigger Escape
which closes the menu, but I'm not 100% sure about that. Also, the issue is not fixed by checking the option to leave Whisker menu opened when it loses focus.