![]() |
how to open fluxbox right click menu when there is a full screen window on screen
I've been using Linux for years, but I am new to fluxbox. Is there a way to open the right click menu in fluxbox without eh... right clicking on the desktop :-).
I would like to be able to launch a new program while I have let's say the browser in full screen mode. I have the feeling that I am missing something here. Is that not the way I am supposed to use fluxbox? |
I use a key combo to do that ...
Mod1 Shift m :RootMenu Of course that (or your preferred choice of funky keys) needs to be in your ~/.fluxbox/keys before you try to use it ;} Cheers, Tink |
In the .fluxbox/keys file, I entered this:
Code:
Control Escape :RootMenu |
Sorry for the late response, I just realized that I don't get email updates when somebody posts a message to my threads. All this time I was under the impression that no one had replied. Thank you for the replies. I was able to get Control + Escape working. Do you know how I can add the windows key to the keys file? I tried all of these:
Mod4 :RootMenu Windows key :RootMenu Windows :RootMenu Super :RootMenu But nothing happens when I press the windows key. |
Here's a bit from my keys file. I think you are missing the "ExecCommand" item.
Code:
Mod4 v :ExecCommand xterm -e alsamixerCode:
Mod 4:ExecCommand RootMenuEdit: Fluxbox rocks. |
Quote:
|
Quote:
For me it's the modifier for several key-combos. Code:
|
You can use xev to see the raw keycodes. Xev generates a mass of data to wade through, but it might help.
By the way, it's a small thing, but you have to restart Fluxbox for a modification to the keys file to take effect. You can use the "restart" item on the Fluxbox menu to do so without closing any applications. |
Quote:
|
Quote:
I ran xev like you suggested. It outputs all the x events in the console. Here is what I got for the super key: KeyRelease event, serial 31, synthetic NO, window 0xa00001, root 0x69, subw 0x0, time 6359893, (170,-9), root:(1067,313), state 0x40, keycode 133 (keysym 0xffeb, Super_L), same_screen YES, XLookupString gives 0 bytes: XFilterEvent returns: False Notice this part: root:(1067,313), state 0x40, keycode 133 (keysym 0xffeb, Super_L), The Super_L is the name of the windows key. I then ran xmodmap as suggested here: http://fluxbox-wiki.org/index.php?ti...ing_up_Super_L and surprisingly mod4 was mapped correctly: alagenchev@tangra:~$ xmodmap -pm xmodmap: up to 4 keys per modifier, (keycodes in parentheses): shift Shift_L (0x32), Shift_R (0x3e) lock Caps_Lock (0x42) control Control_L (0x25), Control_R (0x69) mod1 Alt_L (0x40), Alt_R (0x6c), Meta_L (0xcd) mod2 Num_Lock (0x4d) mod3 mod4 Super_L (0x85), Super_R (0x86), Super_L (0xce), Hyper_L (0xcf) mod5 ISO_Level3_Shift (0x5c), Mode_switch (0xcb) However, my mod4 entry in the keys file didn't work correctly, so I looked at my keys file closer: I had the following: Mod4 : ExecCommand RootMenu Super_L : ExecCommand RootMenu Control Escape : RootMenu Contorl + Escape worked, but not the others, so I removed the ExecCommand to result in this: Mod4 : RootMenu Super_L : RootMenu That worked, but only because of the Super_L line. I don't know why but Mod4 : RootMenu doesn't do anything for me even though xmodmap has it mapped correctly. Regardless, I am happy because I got it working and Super_L : RootMenu was the solution |
Glad you got it working. Thanks for the update.
|
| All times are GMT -5. The time now is 04:04 PM. |