Browse Source

Update manpage for compizboxmenu

pull/8/head
George Vlahavas 9 years ago
parent
commit
21d2fc3c50
  1. 56
      man/xdgmenumaker.t2t

56
man/xdgmenumaker.t2t

@ -28,7 +28,8 @@ The menu entries that are generated by **xdgmenumaker** are localised
according to the running user locale settings.
**xdgmenumaker** currently supports generating menus for //blackbox//,
//fluxbox//, //icewm//, //jwm//, //pekwm// and //windowmaker//.
//compizboxmenu//, //fluxbox//, //icewm//, //jwm//, //pekwm// and
//windowmaker//.
pyxdg and pygtk are required by **xdgmenumaker**, in addition to python 2.
@ -37,7 +38,8 @@ pyxdg and pygtk are required by **xdgmenumaker**, in addition to python 2.
: **-f, --format**
specify the output format to use. Valid options are //blackbox//,
//fluxbox//, //icewm//, //jwm//, //pekwm// and //windowmaker//.
//compizboxmenu//, //fluxbox//, //icewm//, //jwm//, //pekwm// and
//windowmaker//.
Specifying the output format is mandatory.
: **-i, --icons**
@ -110,6 +112,56 @@ again:
``[exec] (Update Blackbox Menu) {xdgmenumaker -f blackbox > ~/.blackbox/xdg_menu}``
: **Compiz Boxmenu**
There are two ways to have an xdg menu in compiz-boxmenu. The first one,
auto-updates the menu, every time the menu is called. The second one,
updates the menu only when the user wants to.
Also, keep in mind that Compiz Boxmenu supports multiple formats. Thus
**Dynamic Menus**
Edit your //~/.config/compiz/boxmenu/menu.xml// file with your favorite text
editor and add a block of code like this inside the root //<menu>// element:
```
<item type="launcher">
<command mode2="pipe">xdgmenumaker -nif compizboxmenu</command>
<icon>applications</icon>
<name>Applications</name>
</item>
```
Alternatively, you can also run //compiz-boxmenu-editor// and click the
dropdown for new menu files or menu items. Select launcher to create a
new launcher. Set the name of the launcher to whatever you want. This will
be the display name for the pipe menu. Then enter in:
``xdgmenumaker -if compizboxmenu``
for the command entry. Click the combobox
next to the command text box and switch that to "Pipe".
**Static Menus**
Edit your //~/.config/compiz/boxmenu/menu.xml// file with your favorite text
editor and paste the output of:
``xdgmenumaker -if compizboxmenu``
into //~/.config/compiz/boxmenu/menu.xml//.
Alternatively, you can also run //compiz-boxmenu-editor// and click the
button that says //Generate menu entries from a pipemenu script//. In the dialog
box that pops up, type in:
``xdgmenumaker -if compizboxmenu``
to append the statically generated menu to any menu file you want.
: **Fluxbox**
To generate an application menu for Fluxbox, you can run

Loading…
Cancel
Save