You are not logged in.
Is it possible to issue a command to open the root openbox menu(then menu that pops open on desktop right click)? I want to use that as a button in pypanel... Thanks for your time in advance.
Last edited by isolier (2009-01-24 17:56:45)
Offline
Very interesting question.
I was wondering the same about the middle mouse button menu.
I hate that xclock application running when i click on the date/time so I hoped that the Desktop Selection Menu (the one that shows up with the middle mouse button) could be enabled instead.
Offline
As far as I can tell the menu command is only accesible through either mouse or keycombinations.
Perhaps there is a way to run keycombinations through a terminal command. And if so, you could then make your menu-button.
Either way, try to post the question again in the open-box mailing list.
Offline
Hmm, good food for thought; I will post the question in the openbox mailing list as you suggested, thanks.
Offline
Np, if you find an answer, please pm me or post it here. Im a little curious if it works
Offline
yea interesting idea, what would be the cmd line entry to start the OB menu?
I wouldnt mind using the openbox menu in other wm's (xmonad for now)
Offline
I asked myself the same question and found a great application called xdotool. I added it on AUR. One of its usage is to simulate a keypress. Simply add this code somewhere in the <keyboard> section of your rc.xml:
<keybind key="A-C-q">
<action name="ShowMenu">
<menu>root-menu</menu>
</action>
</keybind>
Then, just lauch your menu with:
# xdotool key ctrl+alt+q
A launcher in pypanel would look something like this:
LAUNCH_LIST = [
("xdotool key ctrl+alt+q", "/usr/share/pixmaps/openbox.png"),
]
Of course, you can change the keyboard shortcut, etc...
Hope this helps.
-T
Last edited by rttommy (2008-01-30 00:23:26)
Offline
wow, great!
but where do i get the keyname of the windows key. under ob it's simply "W". i've tried Mod4, but it didn't work
vlad
PS: ok, got it! windows key is (at least for my machine) "super".
Last edited by DonVla (2008-01-30 14:18:44)
Offline
that should be added to Openbox wiki page 8)
Mr Green
Offline
Good idea, I just added it to the Openbox wiki page.
-T
Offline