1 /* Text below is Croatian ISO-8859-2
2 * Postavke glavnog izbornika za WindowMaker
6 * <Naslov> <Naredba> <Parametri>
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 * SHEXEC <command> - executes a shell command (like gimp > /dev/null)
19 * EXIT - exits the window manager
20 * RESTART [<window manager>] - restarts WindowMaker or start another
22 * REFRESH - refreshes the desktop
23 * ARRANGE_ICONS - rearranges the icons on the workspace
24 * SHUTDOWN - kills all clients (and close the X window session)
25 * SHOW_ALL - unhides all windows on workspace
26 * HIDE_OTHERS - hides all windows on the workspace, except the
27 * focused one (or the last one that received focus)
28 * SAVE_SESSION - saves the current state of the desktop, which include
29 * all running applications, all their hints (geometry,
30 * position on screen, workspace they live on, the dock
31 * or clip from where they were launched, and
32 * if minimized, shaded or hidden. Also saves the current
33 * workspace the user is on. All will be restored on every
34 * start of windowmaker until another SAVE_SESSION or
35 * CLEAR_SESSION is used. If SaveSessionOnExit = Yes; in
36 * WindowMaker domain file, then saving is automatically
37 * done on every windowmaker exit, overwriting any
38 * SAVE_SESSION or CLEAR_SESSION (see below).
39 * CLEAR_SESSION - clears any previous saved session. This will not have
40 * any effect if SaveSessionOnExit is True.
43 * 1. File menu handling.
44 * // opens file.menu which must contain a valid menu file and inserts
45 * // it in current position
47 * 2. Pipe menu handling.
48 * // opens command and uses it's stdout to construct menu.
49 * // Command's output must be a valid menu description.
50 * // The space between '|' and command itself is optional.
52 * 3. Directory handling.
53 * // Opens one or more directories and construct a menu with all
54 * // the subdirectories and executable files in them sorted
56 * OPEN_MENU /some/dir [/some/other/dir ...]
57 * 4. Directory handling with command.
58 * // Opens one or more directories and construct menu with all
59 * // subdirectories and readable files in them sorted alphabetically,
60 * // preceding each of them with command.
61 * OPEN_MENU /some/dir [/some/other/dir ...] WITH command -options
64 * <Parameters> is the program to execute.
66 * ** Options for command line in EXEC:
67 * %s - substitute with current selection
68 * %a(message) - opens a input box with the message and do substitution with
70 * %w - substitute with XID for the current focused window
72 * You can override special characters (as % and ") with the \ character:
73 * ex: xterm -T "\"Hello World\""
75 * You can also use character escapes, like \n
77 * Each MENU statement must have one mathching END statement at the end.
83 * // creates a submenu with the contents of /usr/openwin/bin
84 * "XView apps" OPEN_MENU "/usr/openwin/bin"
85 * // some X11 apps in different directories
86 * "X11 apps" OPEN_MENU /usr/X11/bin $HOME/bin/X11
87 * // set some background images
88 * "Background" OPEN_MENU $HOME/images /usr/share/images WITH wmsetbg -u -t
89 * // inserts the style.menu in this entry
90 * "Style" OPEN_MENU style.menu
98 "Info Panel..." INFO_PANEL
99 "Legal..." LEGAL_PANEL
100 "Sistemska konzola" EXEC xconsole
101 "Opterećenje sistema" SHEXEC xosview || xload
102 "Lista procesa" EXEC xterm -e top
103 "Pretraživač manuala" EXEC xman
105 "XTerm u boji" EXEC nxterm -sb
106 "Rxvt" EXEC rxvt -bg black -fg white -fn fixed
108 "Radni prostori" WORKSPACE_MENU
111 "Gimp" SHEXEC gimp >/dev/null
116 "X File Manager" EXEC xfm
117 "OffiX Files" EXEC files
119 "Netscape" EXEC netscape
120 "Ghostview" EXEC ghostview %a(Enter file to view)
121 "Acrobat" EXEC /usr/local/Acrobat3/bin/acroread %a(Enter PDF to view)
126 "XEmacs" SHEXEC xemacs || emacs
130 "VI" EXEC xterm -e vi
133 "Xmcd" SHEXEC xmcd 2> /dev/null
134 "Xplaycd" EXEC xplaycd
137 "Pomoćni programi" MENU
138 "Kalkulator" EXEC xcalc
139 "Informacije o prozoru" SHEXEC xprop | xmessage -center -title 'xprop' -file -
140 "Birač fontova" EXEC xfontsel
141 "Emulator Terminala" EXEC xminicom
143 "Colormap" EXEC xcmap
145 "ASClock" EXEC asclock -shape
146 "Clipboard" EXEC xclipboard
147 "Pomoćni programi" END
150 "Kopiraj" SHEXEC echo '%s' | wxcopy
151 "Pošalji e-poštu" EXEC xterm -name mail -T "Pine" -e pine %s
152 "Otvori web-stranicu" EXEC netscape %s
153 "Potraži u manualu" SHEXEC MANUAL_SEARCH(%s)
157 "Sakrij ostale" HIDE_OTHERS
158 "Pokaži sve" SHOW_ALL
159 "Pospremi ikone" ARRANGE_ICONS
161 "Zaključaj" EXEC xlock -allowroot -usefirst
162 "Snimi session" SAVE_SESSION
163 "Obriši snimljeni session" CLEAR_SESSION
167 "Teme" OPEN_MENU -noext THEMES_DIR $HOME/GNUstep/Library/WindowMaker/Themes WITH setstyle
168 "Stilovi" OPEN_MENU -noext STYLES_DIR $HOME/GNUstep/Library/WindowMaker/Styles WITH setstyle
169 "Setovi Ikona" OPEN_MENU -noext ICON_SETS_DIR $HOME/GNUstep/Library/WindowMaker/IconSets WITH seticons
172 "Crna" WS_BACK '(solid, black)'
173 "Plava" WS_BACK '(solid, "#505075")'
174 "Indigo" WS_BACK '(solid, "#243e6c")'
175 "Tamno plava" WS_BACK '(solid, "#224477")'
176 "Ljubičasta" WS_BACK '(solid, "#554466")'
177 "Krem" WS_BACK '(solid, "wheat4")'
178 "Tamno siva" WS_BACK '(solid, "#333340")'
179 "Vinska" WS_BACK '(solid, "#400020")'
182 "Zastava" WS_BACK '(mdgradient, green, red, white, green)'
183 "Nebo" WS_BACK '(vgradient, blue4, white)'
185 "Slike" OPEN_MENU -noext BACKGROUNDS_DIR $HOME/GNUstep/Library/WindowMaker/Backgrounds WITH wmsetbg -u -t
187 "Snimi temu" SHEXEC getstyle -t $HOME/GNUstep/Library/WindowMaker/Themes/"%a(Theme name)"
188 "Snimi set ikona" SHEXEC geticonset $HOME/GNUstep/Library/WindowMaker/IconSets/"%a(IconSet name)"
192 "Ponovo startaj" RESTART
193 "Startaj AfterStep" RESTART afterstep
195 "Izlaz iz sessiona..." SHUTDOWN