|
|
@ -11,7 +11,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. |
|
|
|
|
|
|
@ -219,31 +220,37 @@ 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> |
|
|
|
~~~ |
|
|
|
<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 -nif compizboxmenu` for the command entry. Click the combobox |
|
|
|
next to the command text box and switch that to "Pipe". |
|
|
|
be the display name for the pipe menu. Then enter in: |
|
|
|
|
|
|
|
xdgmenumaker -nif 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`. |
|
|
|
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` or |
|
|
|
`xdgmenumaker -nif compizboxmenu` to append the statically generated |
|
|
|
menu to any menu file you want. |
|
|
|
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. |
|
|
|
|
|
|
|