You are not logged in.
I'm just wondering: Once it's installed, is it possible to get the original Bunsen Menu back? After testing to remove obmenu-generator it showed an error message about pipe-menu '/usr/bin/perl /usr/bin/obmenu-generator -i.
Offline
Defaults are in '/usr/share/bunsen/skel'
Be Excellent to Each Other...
The Bunsenlabs Lithium Desktop » Here
FORUM RULES and posting guidelines «» Help page for forum post formatting
Artwork on DeviantArt «» BunsenLabs on DeviantArt
Offline
Defaults are in '/usr/share/bunsen/skel'
Indeed, thank you for the hint! Replacing some ~/.config/opbenbox files by the default ones did the trick.
After several days using only the menu by obmenu-generator and changing to the default Bunsen Menu it's striking that the later is faster. If someone likes it colorful, obmenu-generator with icons looks great (especially gnome icon theme is very nice imo). Both menus have clearly a different structure but it seems possible to tweak both to make it similar to the other one. In the menu by obmenu-generator there is maybe around 80% of the Bunsen Menu available. I liked the better overview provided by obamenu-generator, missed sometimes the #bĺ specific stuff.
Offline
This is probably all water under the bridge now, but in a different context I just ran into this guide to building Debian packages from perl modues via CPAN: https://debian-administration.org/artic … rl_modules
...elevator in the Brain Hotel, broken down but just as well...
( a boring Japan blog (currently paused), now on Bluesky, there's also some GitStuff )
Offline
Hi, some examples of building CPAN Modules to obmenu-generator or clyrics scripts:
https://www.vivaolinux.com.br/artigo/Mo … /?pagina=5
* sorry, only in my native language (pt_BR).
Offline
Thanks guys!
I will have a look at those
Offline
Slightly related ... I just started a new BL, and was thinking of trying out @xaos52 's obamenu python script.
Now my noob is surely showing. I get that it's a bash script that runs python. I know I can download the file and save it ... I know I've seen how to run this stuff before ... but now I'm struggling to remember how to do this. :sigh: :8
Offline
^ Well, it is either a bash script or a python script. Whichever, make sure it is executable, and if it is in your $PATH run it with just the name, or from its location with
./scriptname
You can also run a python script with
python /path/to/script.py
Be Excellent to Each Other...
The Bunsenlabs Lithium Desktop » Here
FORUM RULES and posting guidelines «» Help page for forum post formatting
Artwork on DeviantArt «» BunsenLabs on DeviantArt
Offline
Thanks @damo ! While I feel like I've learned a lot there is still so many more skills to hone.
Offline
^ It never stops! And when you get old enough, you have to keep looking up all the things you have forgotten
Be Excellent to Each Other...
The Bunsenlabs Lithium Desktop » Here
FORUM RULES and posting guidelines «» Help page for forum post formatting
Artwork on DeviantArt «» BunsenLabs on DeviantArt
Offline
I'm ... confused.
I copied the text of the script into geany.
Saved it in ~/Documents as obamenu-generator.py
Attempted to run the file using @damo's tips
Then I tired to make it a .sh file set it to executable and tried to run it using the "./scriptname" trick
The output of steps 3 & 4 was to have the contents of the script be printed to the terminal
I'm sure there's something simple I'm missing. This is my first time trying to run a script this way ... FWIW
Also thanks for the encouragement @damo, et all!
Offline
I'm ... confused.
I copied the text of the script into geany.
...I'm sure there's something simple I'm missing. This is my first time trying to run a script this way ... FWIW
Also thanks for the encouragement @damo, et all!
What is the first line of the script? A python script usually starts with
#!/usr/bin/python
or similar
EDIT: AFAICS 'obmenu-generator' is a perl script
Last edited by damo (2016-05-13 21:38:01)
Be Excellent to Each Other...
The Bunsenlabs Lithium Desktop » Here
FORUM RULES and posting guidelines «» Help page for forum post formatting
Artwork on DeviantArt «» BunsenLabs on DeviantArt
Offline
AFAICS 'obmenu-generator' is a perl script
Correct obmenu-generator is a perl script.
obamenu is a python script by xaos52 -- I added the "-generator" myself for ... um ... reasons(?).
You can read the whole script here https://github.com/xaosfiftytwo/obamenu … er/obamenu
And these are the first lines
#!/usr/bin/env python
# -*- coding: utf-8 -*-
Offline
obamenu and obmenu-generator are of course two entirely different things.
obamenu is a python script, not originally by xaos52, who has forked the code from rmoe and added his modifications. Whichever you use, however, the differences are small at the moment.
If you run the script successfully in a terminal it will output a bunch of xml code. This is the openbox menu! To turn it into a real menu you have to incorporate a call to the script somewhere in your openbox menu file ~/.config/openbox/menu.xml
There is an example of to to do this in the middle of obamenu.txt on xaos52's repository, but anyway here is the section of my menu where obamenu is called:
<menu execute="obamenu" id="obamenu-menu" label="Applications"/>
(I don't use icons, and "obamenu" is in my ~/bin directory so it doesn't need to be called with its full path.)
This is off-topic for obmenu-generator so if you have any further problems could you start a new thread for it?
...elevator in the Brain Hotel, broken down but just as well...
( a boring Japan blog (currently paused), now on Bluesky, there's also some GitStuff )
Offline
@johnraff - All very correct. Thank you for pointing me toward these things that I missed.
If I have further questions about the obamenu script I will open a new thread.
Offline
Offline
^ Excellent, glad it's working for you
I have absolutely no experience of Ubuntu so I don't know if it's "safe" to use that .deb but given that Xenial's package versions are much newer than Debian jessie I don't think there should be any problems.
Offline
^ Excellent, glad it's working for you
I have absolutely no experience of Ubuntu so I don't know if it's "safe" to use that .deb but given that Xenial's package versions are much newer than Debian jessie I don't think there should be any problems.
Yeah...first thing I noticed with Xenial was the much newer kernel compared to Jessie, but your .deb package worked perfectly on Debian Testing too. It did pull in over 90 dependencies on this Ubuntu build, but the build was basically bare-bones when I added it...just thought I'd give you some feedback.
Offline