SEARCH

Enter your search query in the box above ^, or use the forum search tool.

You are not logged in.

#1 2015-03-20 23:08:16

obsolete-hw
New Member
From: UK
Registered: 2015-03-18
Posts: 5
Website

obmenu-generator

sudo apt-get install cpanminus build-essential git # Assuming build-essential & git are not already installed
git clone git://github.com/trizen/obmenu-generator
sudo cp obmenu-generator/obmenu-generator /usr/bin
sudo cpanm Linux::DesktopFiles
sudo cpanm Data::Dump

Offline

Be excellent to each other!

#2 2015-03-21 07:04:51

pressanykey
Member
Registered: 2013-08-28
Posts: 33

Re: obmenu-generator

^ Nice Job!
Yes - a menu generator every time apps are downloaded and installed would be nice. Or at least whenever update-menu is executed.
I think that's a worthy goal for BunsenLabs. You ought figure out how to package up and incorporate your idea into BunsenLabs. I know most see hand-editing menus as a chore. I went as far as writing a perl script that I executed everytime I installed a new application to update the openbox menu vis static pipe-menus.

Offline

#3 2015-03-21 07:33:57

damo
#! gimpbanger
From: N51.5 W002.8 (mostly)
Registered: 2011-11-24
Posts: 5,434

Re: obmenu-generator

Have you looked at Debian menu? There is also the xfce one which works on Crunchbang.

I'm one of those who seriously dislike an auto-updating menu. I like to decide what goes where wink

Offline

#4 2015-03-21 10:58:58

obsolete-hw
New Member
From: UK
Registered: 2015-03-18
Posts: 5
Website

Re: obmenu-generator

Offline

#5 2015-03-21 11:06:27

obsolete-hw
New Member
From: UK
Registered: 2015-03-18
Posts: 5
Website

Re: obmenu-generator

usage: obmenu-generator [options]

Options:
    -p  : (re)generate a pipe menu
    -s  : (re)generate a static menu
    -o  : static menu file (default: ~/.config/openbox/menu.xml)
    -m  : menu id (default: 'root-menu')
    -t  : menu label text (default: "Applications")
    -r  : regenerate the config file
    -i  : use icons in menus
    -d  : regenerate icons.db (with -i)
    -u  : update the config file
    -c  : reconfigure openbox automatically
    -R  : reconfigure openbox now and exit

Help:
    -h  : print this message
    -v  : print the version number

Examples:
   ** Static menu without icons:
        obmenu-generator -s -c

   ** Dynamic menu with icons:
        obmenu-generator -p -i

Offline

#6 2015-03-21 12:00:54

ohnonot
...again
Registered: 2012-05-22
Posts: 2,205

Re: obmenu-generator

Last edited by ohnonot (2015-03-21 12:03:39)

Offline

#7 2015-03-21 13:36:54

twoion
Emerald Caffeine
From: 星界
Registered: 2012-05-11
Posts: 1,648

Re: obmenu-generator

Offline

#8 2015-03-21 20:40:25

ohnonot
...again
Registered: 2012-05-22
Posts: 2,205

Re: obmenu-generator

^ good point twoion.

just to explain, obmenu-generator grabs anything it finds in /usr/share/applications and ~/.local/share/applications.
some apps don't show up there by themselves, i had to create/adapt a few .desktop files to my liking.
esp. terminal apps...
debian menu is better in that, but then it's worse in everything else (the terminal app doesn't open when i click the entry. too many submenus).
customizing it to a usable level would indeed be preferable.

then again, i've seen more than one discussion here to continue #! so that it becomes independent from debian.

i think there's even more menu specifications/implementations?
i'm using fbpanel, it has a nice menu with icons and categories, and doen't depend on anything but gtk2. i'm not quite sure where it gets the menu.

Offline

#9 2015-03-21 22:30:12

twoion
Emerald Caffeine
From: 星界
Registered: 2012-05-11
Posts: 1,648

Re: obmenu-generator

Last edited by twoion (2015-03-21 22:31:25)

Offline

#10 2015-07-16 22:10:53

heart1010
Member
Registered: 2015-03-13
Posts: 16

Re: obmenu-generator

Last edited by heart1010 (2015-07-17 06:42:49)

Offline

#11 2015-07-17 02:56:24

LabRat
#! CrunchBanger
From: Tornadoville, USA
Registered: 2015-04-20
Posts: 153

Re: obmenu-generator

@heart1010,

Funny, I've not had a single problem such as you've described. Perhaps if you were just a tad more coherent and concise, someone would be happy to help.   smile


Peace

Offline

#12 2015-07-18 08:38:41

KrunchTime
#! Die Hard
From: not where I belong
Registered: 2012-03-02
Posts: 3,264

Re: obmenu-generator

Meh...I prefer managing the openbox menu manually.

Offline

#13 2015-07-18 09:02:51

Head_on_a_Stick
CatMod
From: A world of pure imagination
Registered: 2014-01-21
Posts: 4,797

Re: obmenu-generator

cp /etc/skel/.config/openbox/menu.xml ~/.config/openbox/menu.xml

Offline

#14 2015-07-19 19:02:15

heart1010
Member
Registered: 2015-03-13
Posts: 16

Re: obmenu-generator

cp /etc/skel/.config/openbox/menu.xml ~/.config/openbox/menu.xml

Offline

#15 2015-07-22 06:48:10

johnraff
nullglob
From: Nagoya, Japan
Registered: 2009-01-07
Posts: 4,148
Website

Re: obmenu-generator

cp /etc/skel/.config/openbox/menu.xml ~/.config/openbox/menu.xml

Offline

Board footer

Powered by FluxBB

Copyright © 2012 CrunchBang Linux.
Proudly powered by Debian. Hosted by Linode.
Debian is a registered trademark of Software in the Public Interest, Inc.
Server: bleh

Debian Logo