|
|
@ -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 |
|
|
|