Browse Source

Update README for compizboxmenu

pull/8/head
George Vlahavas 9 years ago
parent
commit
19768e7652
  1. 41
      README.md

41
README.md

@ -11,7 +11,8 @@ 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 **blackbox**, 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. 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 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: editor and add a block of code like this inside the root `<menu>` element:
~~~ <item type="launcher">
<item type="launcher"> <command mode2="pipe">xdgmenumaker -nif compizboxmenu</command>
<command mode2="pipe">xdgmenumaker -nif compizboxmenu</command> <icon>applications</icon>
<icon>applications</icon> <name>Applications</name>
<name>Applications</name> </item>
</item>
~~~
Alternatively, you can also run `compiz-boxmenu-editor` and click the Alternatively, you can also run `compiz-boxmenu-editor` and click the
dropdown for new menu files or menu items. Select launcher to create a 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 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 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". xdgmenumaker -nif compizboxmenu
for the command entry. Click the combobox next to the command text box
and switch that to "Pipe".
Static Menus Static Menus
------------ ------------
Edit your `~/.config/compiz/boxmenu/menu.xml` file with your favorite text Edit your `~/.config/compiz/boxmenu/menu.xml` file with your favorite text
editor and paste the output of `xdgmenumaker -if compizboxmenu` into editor and paste the output of:
`~/.config/compiz/boxmenu/menu.xml`.
xdgmenumaker -if compizboxmenu
into `~/.config/compiz/boxmenu/menu.xml`.
Alternatively, you can also run `compiz-boxmenu-editor` and click the Alternatively, you can also run `compiz-boxmenu-editor` and click the
button that says `Generate menu entries from a pipemenu script`. In the dialog button that says "Generate menu entries from a pipemenu script". In the dialog
box that pops up, type in `xdgmenumaker -if compizboxmenu` or box that pops up, type in:
`xdgmenumaker -nif compizboxmenu` to append the statically generated
menu to any menu file you want. xdgmenumaker -if compizboxmenu
to append the statically generated menu to any menu file you want.

Loading…
Cancel
Save