Browse Source

Add a section about blackbox in the manpage

pull/5/head
George Vlahavas 9 years ago
parent
commit
f001fa0622
  1. 31
      man/xdgmenumaker.t2t

31
man/xdgmenumaker.t2t

@ -27,8 +27,8 @@ by
The menu entries that are generated by **xdgmenumaker** are localised The menu entries that are generated by **xdgmenumaker** are localised
according to the running user locale settings. according to the running user locale settings.
**xdgmenumaker** currently supports generating menus for //fluxbox//, **xdgmenumaker** currently supports generating menus for //blackbox//,
//icewm//, //jwm//, //pekwm// and //windowmaker//. //fluxbox//, //icewm//, //jwm//, //pekwm// and //windowmaker//.
pyxdg and pygtk are required by **xdgmenumaker**, in addition to python 2. pyxdg and pygtk are required by **xdgmenumaker**, in addition to python 2.
@ -36,13 +36,13 @@ pyxdg and pygtk are required by **xdgmenumaker**, in addition to python 2.
= OPTIONS = = OPTIONS =
: **-f, --format** : **-f, --format**
specify the output format to use. Valid options are //fluxbox//, specify the output format to use. Valid options are //blackbox//,
//icewm//, //jwm//, //pekwm// and //windowmaker//. Specifying the output //fluxbox//, //icewm//, //jwm//, //pekwm// and //windowmaker//.
format is mandatory. Specifying the output format is mandatory.
: **-i, --icons** : **-i, --icons**
enable support for icons in the menus. This option does not have any enable support for icons in the menus. This option does not have any
effect for //windowmaker// menus. effect for //blackbox// or //windowmaker// menus.
: **-s, --size** : **-s, --size**
set the preferred icon size in pixels. The default size is 16. You can set the preferred icon size in pixels. The default size is 16. You can
@ -88,6 +88,25 @@ any other case.
= USAGE = = USAGE =
: **Blackbox**
To generate an application menu for Blackbox, you can run
**xdgmenumaker** like this:
``$ xdgmenumaker -f blackbox > ~/.blackbox/xdg_menu``
and then change your main Blackbox menu to include this file as a
submenu. For example, add this somewhere in your //~/.blackbox/menu// file:
``[include] (~/.blackbox/xdg_menu)``
You can add the **xdgmenumaker** command as another item in your menu,
if you want to update it, without having to run the command manually
again:
``[exec] (Update Blackbox Menu) (xdgmenumaker -f blackbox > ~/.blackbox/xdg_menu)``
: **Fluxbox** : **Fluxbox**
To generate an application menu for Fluxbox, you can run To generate an application menu for Fluxbox, you can run

Loading…
Cancel
Save