You are not logged in.

#81 2016-05-08 16:53:41

martix
Kim Jong-un Stunt Double
Registered: 2016-02-19
Posts: 1,267

Re: unofficial obmenu-generator repository (fixed!)

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

#82 2016-05-08 17:21:32

damo
....moderator....
Registered: 2015-08-20
Posts: 6,734

Re: unofficial obmenu-generator repository (fixed!)

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

#83 2016-05-08 18:06:41

martix
Kim Jong-un Stunt Double
Registered: 2016-02-19
Posts: 1,267

Re: unofficial obmenu-generator repository (fixed!)

damo wrote:

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

#84 2016-05-11 08:32:37

johnraff
nullglob
From: Nagoya, Japan
Registered: 2015-09-09
Posts: 12,657
Website

Re: unofficial obmenu-generator repository (fixed!)

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 )

Introduction to the Bunsenlabs Boron Desktop

Online

#85 2016-05-12 23:56:28

edps
New Member
From: Rio de Janeiro, Brazil
Registered: 2016-05-12
Posts: 1
Website

Re: unofficial obmenu-generator repository (fixed!)

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

#86 2016-05-13 06:29:04

Head_on_a_Stick
Member
From: London
Registered: 2015-09-29
Posts: 9,093
Website

Re: unofficial obmenu-generator repository (fixed!)

Thanks guys!

I will have a look at those smile

Offline

#87 2016-05-13 16:51:48

geekosupremo
Member
Registered: 2016-04-27
Posts: 169

Re: unofficial obmenu-generator repository (fixed!)

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

#88 2016-05-13 16:56:11

damo
....moderator....
Registered: 2015-08-20
Posts: 6,734

Re: unofficial obmenu-generator repository (fixed!)

^ 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

#89 2016-05-13 17:14:02

geekosupremo
Member
Registered: 2016-04-27
Posts: 169

Re: unofficial obmenu-generator repository (fixed!)

Thanks @damo ! While I feel like I've learned a lot there is still so many more skills to hone.  wink

Offline

#90 2016-05-13 19:42:33

damo
....moderator....
Registered: 2015-08-20
Posts: 6,734

Re: unofficial obmenu-generator repository (fixed!)

^ It never stops! And when you get old enough, you have to keep looking up all the things you have forgotten sad


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

#91 2016-05-13 21:16:35

geekosupremo
Member
Registered: 2016-04-27
Posts: 169

Re: unofficial obmenu-generator repository (fixed!)

I'm ... confused.

  1. I copied the text of the script into geany.

  2. Saved it in ~/Documents as obamenu-generator.py

  3. Attempted to run the file using @damo's tips

  4. Then I tired to make it a .sh file set it to executable and tried to run it using the "./scriptname" trick

  5. 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

#92 2016-05-13 21:28:05

damo
....moderator....
Registered: 2015-08-20
Posts: 6,734

Re: unofficial obmenu-generator repository (fixed!)

geekosupremo wrote:

I'm ... confused.

  1. 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

#93 2016-05-13 22:43:30

geekosupremo
Member
Registered: 2016-04-27
Posts: 169

Re: unofficial obmenu-generator repository (fixed!)

damo wrote:

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

#94 2016-05-14 01:10:28

johnraff
nullglob
From: Nagoya, Japan
Registered: 2015-09-09
Posts: 12,657
Website

Re: unofficial obmenu-generator repository (fixed!)

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 )

Introduction to the Bunsenlabs Boron Desktop

Online

#95 2016-05-16 16:42:01

geekosupremo
Member
Registered: 2016-04-27
Posts: 169

Re: unofficial obmenu-generator repository (fixed!)

@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

#96 2016-06-02 20:02:29

nobody1
Disabled account
Registered: 2016-05-27
Posts: 10

Re: unofficial obmenu-generator repository (fixed!)

Head_on_a_Stick, just thought I'd let you know that in addition to using it on my Debian builds, I also just installed your obmenu-generator .deb package on an Ubuntu Openbox that I just built today...works great! smile

2016-06-02-155326_1280x1024_scrot.th.png

Offline

#97 2016-06-02 20:08:44

Head_on_a_Stick
Member
From: London
Registered: 2015-09-29
Posts: 9,093
Website

Re: unofficial obmenu-generator repository (fixed!)

^ Excellent, glad it's working for you smile

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

#98 2016-06-02 20:29:04

nobody1
Disabled account
Registered: 2016-05-27
Posts: 10

Re: unofficial obmenu-generator repository (fixed!)

Head_on_a_Stick wrote:

^ Excellent, glad it's working for you smile

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

Board footer

Powered by FluxBB