You are not logged in.
Pages: 1
Is it possible to open openbox menu items with a command? For example I plan to write a simple plugin for myself to add menu's to pypanel. I want to be able to click on a pypanel button, and have it open the openbox menu.
Offline
I hope to have understood your question, I have in rc.xml:
<keybind>
<action><menu>root-menu</menu></action>
</keybind>
this will open the ob-menu; I have looked for a way to bind the root-menu action to a button (in pypanel or elsewhere) but without success, neither I have seen this implemented somewhere.
To get something done, a committee should consist of no more than three persons, two of them absent.
--
My Github
Offline
.
Last edited by benplaut (2021-06-25 12:38:47)
Offline
10:27:44 benplaut | hey, mikachu 10:27:45 benplaut | http://bbs.archlinux.org/viewtopic.php?t=26175 10:27:52 benplaut | any suggestions for the fella? 10:28:03 @ Mikachu | you want me to help someone else? 10:28:18 benplaut | yea ;) 10:28:28 @ Mikachu | you can do it, sort of, but no 10:28:35 benplaut | >_> 10:29:03 @ Mikachu | if you were to write a small communication protocol
Well...
(Mikachu is the lead dev of ob)What I do is leave a few pixels open on the end of the panel and realign it to the other corner, then you can just click/right click in the space
Hmm thanks, I'll just write a whole new plugin for pypanel xD
Offline
yeah like click clock ... & a terminal appears lol
Mr Green
Offline
yeah like click clock ... & a terminal appears lol
hehe sort of
Offline
I know pypanel can have launchers guess you could click on those .....
Or tie to clock .... a script to open a menu
Guess you have already figured that out lol.....
Mr Green
Offline
I know pypanel can have launchers guess you could click on those .....
Or tie to clock .... a script to open a menu
Guess you have already figured that out lol.....
Hehe, yes that is what I am basically leaning towards right now
Offline
If Openbox had dbus implementated, it would be completely supreme.
openbox --open-menu
That would be very hot.
·¬»· i am shadowhand, powered by webfaction
Offline
Perhaps someone should suggest it to the developer... :shock:
Offline
.
Last edited by benplaut (2021-06-25 12:38:24)
Offline
Ok, I'm a few months late, but you can do something like this in FVWM. In fact, you can do anything in FVWM. (except cooking)
The Bytebaker -- Computer science is not a science and it's not about computers
Check out my open source software at Github
Offline
That was very helpful.
Offline
I found this when googling. http://www.linuxtoys.org/xirrc/xirrc.c
You could take that part wich sends keycodes to X, and use the key you assigned to openbox menu.
"Your beliefs can be like fences that surround you.
You must first see them or you will not even realize that you are not free, simply because you will not see beyond the fences.
They will represent the boundaries of your experience."
SETH / Jane Roberts
Offline
Pages: 1