PDA

View Full Version : How do I keep my OpenBox menu updated automatically?



gymophett
May 24th, 2009, 04:15 AM
I have lots of apps I need to install and I have no idea how to put them in my menu, and I don't want to run terminal every time I want to open an App, I'm a GUI person.
So can someone help me out? Thanks. :)

Xbehave
May 24th, 2009, 04:25 AM
IS update-menus not enough?

gymophett
May 24th, 2009, 04:38 AM
IS update-menus not enough?

Well, if something like that worked, then that would be fine.


gavin@gavin-laptop:~$ update-menus
bash: update-menus: command not found

RedSquirrel
May 24th, 2009, 04:42 AM
The Debian menu should take care of that (for the most part). Install the menu package:


sudo apt-get install menuThat will generate a menu for Openbox and it will keep it up to date automatically when you install new software.

CJ Master
May 24th, 2009, 06:04 AM
Copy and past from crunchbang FAQ:


How do I go about getting an auto updated menu in Openbox?

The Debian menu is disabled in the default CrunchBang install. Follow these instructions to enable it:

*
Open the file ~/.config/openbox/rc.xml and find the following section near the bottom:

<!-- system menu files on Debian systems
<file>/var/lib/openbox/debian-menu.xml</file>
<file>debian-menu.xml</file> -->

Change it to look like this:

<!-- system menu files on Debian systems -->
<file>/var/lib/openbox/debian-menu.xml</file>
<file>debian-menu.xml</file>

Save the file and exit.

*
Install the menu package with the following terminal command.

sudo apt-get install menu

*
Add the following line to ~/.config/openbox/menu.xml where you would like the menu to appear:

<menu id="Debian" />

*
Restart or reconfigure your Openbox session.