| 1 | xmenu |
| 2 | |
| 3 | Xmenu is a menu utility for X. |
| 4 | Xmenu receives a menu specification in stdin, shows a menu for the user |
| 5 | to select one of the options, and outputs the option selected to stdout. |
| 6 | |
| 7 | § Installation |
| 8 | |
| 9 | In order to build xmenu you need the Xlib header files. |
| 10 | |
| 11 | Edit config.mk to match your local setup (xmenu is installed into the |
| 12 | /usr/local prefix by default). Then enter the following command to |
| 13 | build and install xmenu (if necessary as root). |
| 14 | |
| 15 | make clean install |
| 16 | |
| 17 | |
| 18 | § Running xmenu |
| 19 | |
| 20 | xmenu receives as input a menu specification where each line is a menu |
| 21 | entry. Each line can be indented with tabs to represent nested menus. |
| 22 | Each line is made out of a label and a command separated by any number |
| 23 | of tabs. Lines without labels are menu separators. |
| 24 | |
| 25 | See the script ./xmenu.sh for an example of how xmenu can be used to |
| 26 | draw a simple menu with submenus and separators. |
| 27 | |
| 28 | Read the manual for more information on running xmenu. |