a7732690 |
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 | |
873c080c |
11 | Edit config.mk to match your local setup (xmenu is installed into the |
a7732690 |
12 | /usr/local prefix by default). Then enter the following command to |
873c080c |
13 | build and install xmenu (if necessary as root). |
a7732690 |
14 | |
873c080c |
15 | make clean install |
a7732690 |
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 |
7fbd1c5e |
23 | of tabs. Lines without labels are menu separators. |
a7732690 |
24 | |
7fbd1c5e |
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. |
08f16589 |
27 | |
28 | Read the manual for more information on running xmenu. |