-   Linux - General (
-   -   Fluxbox + Windows keyboard and menu/windows key ==> Any takers (

PGDubbin 05-21-2004 01:56 PM

Fluxbox + Windows keyboard and menu/windows key ==> Any takers
I have a MS Natural Keyboard with the windows button and the menu button between ctrl and alt

I have played with the keys file but cannot for the life of me figure out how to get the windows key - alone - to open the fluxbox menu

I found a way to configure it so if I hold the windows key and then press a letter, say "z" the menu will pop up. However, I'd like it to pop up with nothing more than pressing the single key.

If this is an easy enough question then I also ask the following:

- Make it so the 'menu' key on the MS board closes the menu
- The arrow directions move around on the menu
- Enter launches the selected program may be a GUI - but I can't help but find the keyboard faster anyway.

Anyone have any ideas?


code for windows + z in keys file:

Mod4 z :RootMenu

Nopey 10-20-2014 12:02 AM

Because this shows up in search results, i am necroposting.

Instead of Mod4 z, use 133. this number is from XEV.

frankbell 10-20-2014 09:10 PM

See the Fluxbox wiki.

The Windows key is commonly seen as Mod4 on Linux, though it might be seen as Super_L. You can use xev to test that on your system. Be forewarned that the output of xev is rather dense.

Here's some of my Fluxbox keybindings using the Windows key, identified as Mod4.


Mod4 c :ExecCommand kcalc
Mod4 e :ExecCommand kate
Mod4 f :ExecCommand firefox
Mod4 k :ExecCommand konqueror ~

Once you create a keybinding, you have to restart Fluxbox to test it; there's usually a "restart" item somewhere on the menu.

I don't know that you can get the Windows key by itself to open the menu--I haven't tested that. The combination I use for the menu is the same combination Windows uses in the absence of a "Windows" key: CTRL-ESC.

All times are GMT -5. The time now is 05:06 PM.