]> Dogcows Code - chaz/openbox/blob - data/menu.in
use "userstring" for all user viewable strings
[chaz/openbox] / data / menu.in
1 # This is the default menu file for Openbox
2 #
3 # Lines beginning with the '#' character are ignored.
4 #
5 # The new syntax is simpler than the old X resource format...
6 # Each menu item consists of 2 or 3 fields:
7 #
8 # [command] (label) {data}
9 #
10 # where [command] is one of:
11 #
12 # [begin] [end] [exec] [exit] [reconfig] [restart]
13 # [submenu] [style] [include] [workspaces] [config]
14 #
15 # [begin] is used for the top level menu
16 # [submenu] is used for submenus
17 # [end] must be used with BOTH [begin] and [submenu] to tell the parser to stop
18 # reading from the file.
19 #
20 # [exec] (label) {string}
21 # This will insert an item that runs a program.
22 #
23 # [exit] (label)
24 # This will insert an item that exits the window manager.
25 #
26 # [reconfig] (label) {string}
27 # This will insert an item that tells Openbox to re-read it's configuration
28 # files. {string} is optional, and if supplied, will execute the string with
29 # /bin/sh -c before the reconfiguration is performed. (this is helpful for
30 # writing multiple config files and switching between them)
31 #
32 # [restart] (label) {string}
33 # This will insert an item to restart the window manager. {string} is
34 # optional, and if omitted, Openbox will restart itself. If {string} is
35 # specified, then a different window manager will be started.
36 #
37 # [style] (filename)
38 # This will insert an item to reconfigure Openbox with the new style. This
39 # change is saved when Openbox exits or restarts.
40 #
41 # [include] (filename)
42 # This will read more menu items from the file "filename". The file cannot
43 # contain a [begin] or [end], except for the [end] needed for submenus.
44 #
45 # [workspaces] (label)
46 # This tells Openbox to insert a "link" to the workspaces menu directly
47 # into your menu.
48 #
49 # [config] (label)
50 # This tells Openbox to insert the ConfigMenu into your menu. The ConfigMenu
51 # allows you to change several options found in your ~/.openbox/rc file on the
52 # fly.
53 #
54 # example:
55
56 [begin] (Openbox)
57 [exec] (xterm) {xterm -ls}
58 [exec] (rxvt) {rxvt}
59
60 [exec] (StarOffice) {soffice}
61 [exec] (XEmacs) {xemacs}
62 [exec] (Acroread) {acroread}
63
64 [submenu] (Graphics)
65 [exec] (The GIMP) {gimp}
66 [exec] (Image Magick) {display}
67 [end]
68
69 [submenu] (Mozilla)
70 [exec] (Mozilla Navigator) {mozilla}
71 [submenu] (More...)
72 [exec] (Mozilla Mail) {mozilla -mail}
73 [exec] (Mozilla News) {mozilla -news}
74 [exec] (Mozilla Composer) {mozilla -edit}
75 [end]
76 [end]
77
78 [submenu] (X Utilities)
79 [exec] (Xfontsel) {xfontsel}
80 [exec] (Xman) {xman}
81 [exec] (Xcalc) {xcalc}
82 [exec] (Xload) {xload}
83 [end]
84
85 [submenu] (Styles) {Choose a style...}
86 [stylesdir] (@pkgdatadir@/styles)
87 [end]
88
89 [workspaces] (Workspace List)
90 [config] (Configuration)
91
92 [reconfig] (Reconfigure)
93 [restart] (Restart)
94 [submenu] (Others) {Other Window Managers}
95 [restart] (Start FVWM) {fvwm}
96 [restart] (Start WindowMaker) {wmaker}
97 [restart] (Start Afterstep) {afterstep}
98 [restart] (Start Enlightenment) {enlightenment}
99 [restart] (Start TWM) {twm}
100 [restart] (Start KWM) {kwm}
101 [end]
102
103 [exit] (Exit)
104 [end]
105
106 # End of example menu.
107
This page took 0.044342 seconds and 4 git commands to generate.