Skip to content

A question about the openbox menu.

I have another laptop that I put openbox on, everything is fine and dandy on it but why does it have a bunch of programs in that menu that I never installed?

The menu doesn't seem to want to update with the applications that I have installed.

I don't have much experience with openbox apart from archbang but I did a real arch +openbox install and I'm a little confused.

9 points9 comments
Open on Reddit
About this post
Posted
Archived
Score
9 · 100% up
Kind
Text
ID
is9sr

Author

9
posts
35
comments
5
media
View profile

11 comments

Hm? I think you're still just using the default menu, that's alright though. It can be taken care of.

If you want a dynamic xdg menu, just follow these steps:

  1. Install the archlinux xdg menu system(Pretty much the debian menu system re-implemented) and garcon, Xfce's menu file:

    pacman -S archlinux-xdg-menu garcon

  2. Now it's just a matter of including it in the menu, in the body of the menu.xml file(right below the <openbox_menu> tag). Put this in:

    <menu id="xdg-menu" label="Applications" execute="xdg_menu --format openbox3-pipe --root-menu /etc/xdg/menus/xfce-applications.menu"/>
  3. Now in the root-menu (Below the tag <menu id="root-menu" label="(Whatever)">) Put this in:

    <menu id="xdg-menu"/>
  4. That's it, now you have an auto-updating xdg applications menu in your menu.

7 points

That's very cool. Is there any way to get it more...in-line? Right now there are 2 levels of menus, but I'd like to only have 1...

2 points

Hm? You mean having the menu read into the root menu directly? Unfortunately there's no way to do this. You'll need a menu generator like obmenugen, that can do it even without this script. Although the only thing is that it limits what you can do with the menu to its own system.

It's in the aur under obmenugen-bin.

1 points

Would that work with fluxbox?

1 points

Yep, just change the format to fluxbox and pipe the menu to somewhere:

xdg_menu --format fluxbox --root-menu /etc/xdg/menus/xfce-applications.menu > ~/.fluxbox/applications

then include it in your fluxbox menu

[include] (applications)
1 points

Alright, these instructions are pretty simple.

Thanks.

1 points

open box doesn't have a menu maker like efce or other WM, but there are programs that can make it for you. (obmenu, menumaker, etc)

Your menu is at ~/.config/openbox/menu.xml

2 points

Keyboard shortcuts

Move and act

jork
Next / previous post or comment
Enteroro
Open the post
f
Open the media viewer
s
Save
h
Hide (the toast has Undo)
Tab
Right after an action: the toast's Undo
x
Collapse the comment
v
Next layout: cards, compact, grid

Go to

/
Search
gthenh
Home
gthena
All
gthens
Subreddits
gthenl
Library
?
This list
Esc
Close a menu or this list

In the viewer

←or→
Previous / next file
↑or↓
Previous / next post
korj
Previous / next post
Space
Play / pause
m
Mute
z
Zoom
s
Save
o
Open the post (on its own page: back to it)
Esc
Close

Keys do nothing while you type in a box.