2 * Root Menu definition for WindowMaker
6 * <Title> <Command> <Parameters>
8 * <Title> is any string to be used as title. Must be enclosed with " if it
11 * <Command> one of the valid commands:
12 * MENU - starts (sub)menu definition
13 * OPEN_MENU - opens a menu from a file, pipe or directory(ies) contents
14 * and eventually precede each with a command.
15 * END - end (sub)menu definition
16 * WORKSPACE_MENU - adds a submenu for workspace operations
17 * EXEC <program> - executes an external program
18 * EXIT - exits the window manager
19 * RESTART [<window manager>] - restarts WindowMaker or start another
21 * REFRESH - refreshes the desktop
22 * ARRANGE_ICONS - rearranges the icons on the workspace
23 * SHUTDOWN - kills all clients (and close the X window session)
24 * SHOW_ALL - unhides all windows on workspace
25 * HIDE_OTHERS - hides all windows on the workspace, except the
26 * focused one (or the last one that received focus)
27 * SAVE_SESSION - saves the current state of the desktop, which include
28 * all running applications, all their hints (geometry,
29 * position on screen, workspace they live on, the dock
30 * or clip from where they were launched, and
31 * if minimized, shaded or hidden. Also saves the current
32 * workspace the user is on. All will be restored on every
33 * start of windowmaker until another SAVE_SESSION or
34 * CLEAR_SESSION is used. If SaveSessionOnExit = Yes; in
35 * WindowMaker domain file, then saving is automatically
36 * done on every windowmaker exit, overwriting any
37 * SAVE_SESSION or CLEAR_SESSION (see below).
38 * CLEAR_SESSION - clears any previous saved session. This will not have
39 * any effect if SaveSessionOnExit is True.
42 * 1. File menu handling.
43 * // opens file.menu which must contain a valid menu file and inserts
44 * // it in current position
46 * 2. Pipe menu handling.
47 * // opens command and uses it's stdout to construct menu.
48 * // Command's output must be a valid menu description.
49 * // The space between '|' and command itself is optional.
51 * 3. Directory handling.
52 * // Opens one or more directories and construct a menu with all
53 * // the subdirectories and executable files in them sorted
55 * OPEN_MENU /some/dir [/some/other/dir ...]
56 * 4. Directory handling with command.
57 * // Opens one or more directories and construct menu with all
58 * // subdirectories and readable files in them sorted alphabetically,
59 * // preceding each of them with command.
60 * OPEN_MENU /some/dir [/some/other/dir ...] WITH command -options
63 * <Parameters> is the program to execute.
65 * ** Options for command line in EXEC:
66 * %s - substitute with current selection
67 * %a(message) - opens a input box with the message and do substitution with
69 * %w - substitute with XID for the current focused window
71 * You can override special characters (as % and ") with the \ character:
72 * ex: xterm -T "\"Hello World\""
74 * You can also use character escapes, like \n
76 * Each MENU statement must have one mathching END statement at the end.
82 * // creates a submenu with the contents of /usr/openwin/bin
83 * "XView apps" OPEN_MENU "/usr/openwin/bin"
84 * // some X11 apps in different directories
85 * "X11 apps" OPEN_MENU /usr/X11/bin $HOME/bin/X11
86 * // set some background images
87 * "Background" OPEN_MENU $HOME/images /usr/share/images WITH wmsetbg -u -t
88 * // inserts the style.menu in this entry
89 * "Style" OPEN_MENU style.menu
97 "Info Panel..." INFO_PANEL
99 "System Load" EXEC xosview || xload
100 "Process List" EXEC xterm -e top
101 "Manual Browser" EXEC xman
103 "XTerm" EXEC xterm -sb
104 "Rxvt" EXEC rxvt -bg black -fg white -fn fixed
105 "äãåáò éáçøî" WORKSPACE_MENU
108 "Gimp" EXEC gimp >/dev/null
113 "X File Manager" EXEC xfm
114 "OffiX Files" EXEC files
116 "ôéé÷ñèð" EXEC netscape
117 "Ghostview" EXEC ghostview %a(Enter file to view)
118 "Acrobat" EXEC /usr/local/Acrobat3/bin/acroread %a(Enter PDF to view)
123 "XEmacs" EXEC xemacs || emacs
127 "VI" EXEC xterm -e vi
130 "Xmcd" EXEC xmcd 2> /dev/null
131 "Xplaycd" EXEC xplaycd
135 "Calculator" EXEC xcalc
136 "Window Properties" EXEC xprop | xmessage -center -title 'xprop' -file -
137 "Font Chooser" EXEC xfontsel
138 "Terminal Emulator" EXEC xminicom
140 "Colormap" EXEC xcmap
142 "ASClock" EXEC asclock -shape
143 "Clipboard" EXEC xclipboard
147 "÷úòä" EXEC echo '%s' | wxcopy
148 "...ì øàåãä çìù" EXEC xterm -name mail -T "Pine" -e pine %s
149 "Navigate" EXEC netscape %s
150 "Search in Manual" EXEC MANUAL_SEARCH(%s)
154 "íéøçà àáçä" HIDE_OTHERS
156 "íéðå÷ééà øãñ" ARRANGE_ICONS
158 "ìòð" EXEC xlock -allowroot -usefirst
159 "Save Session" SAVE_SESSION
160 "Clear Saved Session" CLEAR_SESSION
164 "Themes" OPEN_MENU -noext THEMES_DIR $HOME/GNUstep/Library/WindowMaker/Themes WITH setstyle
165 "úåðåðâñ" OPEN_MENU -noext STYLES_DIR $HOME/GNUstep/Library/WindowMaker/Styles WITH setstyle
166 "íéðå÷ééà èñ" OPEN_MENU -noext ICON_SETS_DIR $HOME/GNUstep/Library/WindowMaker/IconSets WITH seticons
169 "øåçù" WS_BACK '(solid, black)'
170 "ìåçë" WS_BACK '(solid, "#505075")'
171 "Indigo" WS_BACK '(solid, "#243e6c")'
172 "÷åîò ìåçë" WS_BACK '(solid, "#180090")'
173 "ìåâñ" WS_BACK '(solid, "#554466")'
174 "äèéç" WS_BACK '(solid, "wheat4")'
175 "øåôà øåçù" WS_BACK '(solid, "#333340")'
176 "ïéé" WS_BACK '(solid, "#400020")'
179 "Flag" WS_BACK '(vdgradient, blue, white, blue)'
180 "Sky" WS_BACK '(vgradient, blue4, white)'
182 "Images" OPEN_MENU -noext BACKGROUNDS_DIR $HOME/GNUstep/Library/WindowMaker/Backgrounds WITH wmsetbg -u -t
184 "Save Theme" EXEC getstyle -t $HOME/GNUstep/Library/WindowMaker/Themes/"%a(Theme name)"
185 "Save IconSet" EXEC geticonset $HOME/GNUstep/Library/WindowMaker/IconSets/"%a(IconSet name)"
190 "AfterStepì øåáò " RESTART afterstep
192 "...ìåëä øåâñå àö" SHUTDOWN