[go: up one dir, main page]

Menu

[r39]: / doc / menumaker.asc  Maximize  Restore  History

Download this file

85 lines (55 with data), 3.5 kB

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
== What is **MenuMaker**?
**MenuMaker** is a menu generation utility for X window managers on *NIX systems. It is capable of
finding lots of installed programs and generating a root menu
consistent across all supported X window managers, so one will get
(almost) the same menu no matter which window manager is
used.
== Compatibility
**MenuMaker** is a 100% https://www.python.org[Python] application. The minimum required Python version is **2.7**; it should also run on Python **3**.
== Availability
The latest tarballs can be obtained from the project's http://sourceforge.net/projects/menumaker[download page].
== Supported X window managers
* http://blackboxwm.sourceforge.net[BlackBox]
* http://www.oroborus.org[Deskmenu]
* http://www.fluxbox.org[FluxBox]
* http://www.icewm.org[IceWM]
* http://openbox.org/wiki/Main_Page[OpenBox](version 3)
* http://www.pekwm.org/projects/pekwm[PekWM]
* http://windowmaker.org[WindowMaker]
* http://www.xfce.org[XFCE](version 4)
* https://joewing.net/projects/jwm/[JWM]
== Getting started
The easiest way is to get the source distribution, unpack it into a temporary directory and perform the usual sequence:
====
__./configure && make && make install__
====
It is not required however as **MenuMaker** runs off the source tree as well.
The **MenuMaker**'s command-line driver is called __mmaker__.
The simplest **MenuMaker** invocation form is as follows:
====
__mmaker your_window_manager__
====
This command employs all available algorithms to find all installed
applications and dumps a fully usable and consistent menu into the
specified window manager's default menu file.
For the full list of available options consult **MenuMaker** help:
====
__mmaker --help__
====
=== A few tips & hints
* Verbosity is controlled via the **-v** option. Specify it twice to get tons of debug output. **MenuMaker** runs silently by default.
* The default policy is not to overwrite any existing files so there is less chance of killing a valuable handcrafted menu. To force overwriting files use **-f** flag.
* Default **MenuMaker** operation is to dump the menu to a WM-specific file inside the user's home directory. Use **-c** flag to redirect this output to stdout. Useful for writing system-wide menus.
* By default, **MenuMaker** generates a fully formed and usable menu. To get only the part containing the applications found use the **-i** flag. This output can be then #include'd into your custom frame menu. Note that this will not be a valid menu hence **-c** must also be specified (this is to forward the chunk elsewhere).
* By default, **MenuMaker** tries to eliminate the paths to executables
wherever possible (for example, when an application can be found in PATH). To suppress this and always retain full paths use **-p** flag. Useful for debugging.
* To specify the terminal emulator to run console applications use **-t** flag.
* Flags started with **--no-** disable specific search algorithms.
* **-s** is used to specify unwanted categories to omit from menu.
* **MenuMaker** can be run straight out of the unpacked tarball without installation.
* Upon installation the local documentation is available in http://www.gnu.org/software/texinfo[Texinfo] form and can be accessed from command line as follows:
====
__info mmaker__
====
== Feedback
Send your comments and suggestions to Oleg A. Khlybov <mailto:fougas@mail.ru[fougas@mail.ru]>