From f001fa0622c54227f7da0484baf189c279ff4c2c Mon Sep 17 00:00:00 2001 From: George Vlahavas Date: Thu, 3 Sep 2015 00:59:19 +0300 Subject: [PATCH] Add a section about blackbox in the manpage --- man/xdgmenumaker.t2t | 31 +++++++++++++++++++++++++------ 1 file changed, 25 insertions(+), 6 deletions(-) diff --git a/man/xdgmenumaker.t2t b/man/xdgmenumaker.t2t index 4125b04..93906c4 100644 --- a/man/xdgmenumaker.t2t +++ b/man/xdgmenumaker.t2t @@ -27,8 +27,8 @@ by The menu entries that are generated by **xdgmenumaker** are localised according to the running user locale settings. -**xdgmenumaker** currently supports generating menus for //fluxbox//, -//icewm//, //jwm//, //pekwm// and //windowmaker//. +**xdgmenumaker** currently supports generating menus for //blackbox//, +//fluxbox//, //icewm//, //jwm//, //pekwm// and //windowmaker//. 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 = : **-f, --format** -specify the output format to use. Valid options are //fluxbox//, -//icewm//, //jwm//, //pekwm// and //windowmaker//. Specifying the output -format is mandatory. +specify the output format to use. Valid options are //blackbox//, +//fluxbox//, //icewm//, //jwm//, //pekwm// and //windowmaker//. +Specifying the output format is mandatory. : **-i, --icons** 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** set the preferred icon size in pixels. The default size is 16. You can @@ -88,6 +88,25 @@ any other case. = 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** To generate an application menu for Fluxbox, you can run