It is possible to make the Super
key open the Whisker menu in Xfce. I have just tested the following procedure on a new offline installation of EndeavourOS, and it works for me without problem.
When we are done:
- The left and right
Super
keys, when pressed alone, will open the Whisker menu. - Any
Super
key combination you have defined in the Keyboard app (e.g.,Super+E
to openthunar
) will continue to work normally. Super+Space
(rather thanAlt+F1
) will now open the Applications popup menu (i.e, the menu you get when you right-click the desktop).Alt+F1
will now also open the Whisker menu, just like pressing aSuper
key.
Step 1: Install xcape
sudo pacman -S xcape
Step 2: Swap the keybindings for Super+Space
and Alt+F1
a) Open the Keyboard app and go to the Application Shortcuts tab.
b) Select xfce4-popup-applicationsmenu, click the Edit button, click the OK button, and press Super+F1
.
c) Select xfce4-popup-whiskermenu, click the Edit button, click the OK button, and press Alt+F1
.
d) Once again, select xfce4-popup-applicationsmenu, click the Edit button, click the OK button, and press Super+Space
.
e) Close the Keyboard app.
Step 3: Create a startup task for xcape
a) Open the Session and Startup app and go to the Application Autostart tab.
b) Click the Add button and enter these values:
Name: xcape
Description: Map Super Keys to Alt+F1
Command: /usr/bin/xcape -e 'Super_L=Alt_L|F1;Super_R=Alt_L|F1'
Trigger: on login
c) Click the OK button and then close the Session and Startup app.
Step 4: Log out and log in again