slitaz-tools view stuff/jwm/system.jwmrc @ rev 79

Improved mountbox and add a fake history cmd
author Christophe Lincoln <pankso@slitaz.org>
date Wed Mar 05 22:00:40 2008 +0100 (2008-03-05)
parents
children
line source
1 <?xml version="1.0"?>
3 <JWM>
5 <!-- The root menu, if this is undefined you will not get a menu. -->
6 <!-- Additional RootMenu attributes: onroot, labeled, label -->
8 <!--
9 SliTaz GNU/Linux RootMenu build for the famous JWM version 2.0
10 -->
11 <RootMenu height="16">
13 <!-- Terminals menu -->
14 <Menu icon="utilities-terminal.png" label="Terminals">
15 <Program icon="utilities-terminal.png" label="XTerm (-bg black)">
16 xterm -bg black -fg white -cr skyblue
17 </Program>
18 <Program icon="utilities-terminal.png" label="XTerm (-bg black 80x30)">
19 xterm -bg black -fg white -cr skyblue -geometry 80x30+20+20
20 </Program>
21 <Program icon="utilities-terminal.png" label="XTerm (-bg white)">
22 xterm -bg white -fg black -cr lightgreen
23 </Program>
24 <Program icon="utilities-terminal.png" label="XTerm (-bg skyblue)">
25 xterm -bg skyblue -fg white -cr peru
26 </Program>
27 <Program icon="utilities-terminal.png" label="XTerm (-bg gainsboro)">
28 xterm -bg gainsboro -fg black -cr lightgreen
29 </Program>
30 <Program icon="utilities-terminal.png" label="XTerm (-bg honeydew)">
31 xterm -bg honeydew -fg black -cr lightgreen
32 </Program>
33 <Program icon="utilities-terminal.png" label="XTerm (-bg sienna)">
34 xterm -bg sienna -fg white -cr gold
35 </Program>
36 <Program icon="utilities-terminal.png" label="XTerm (-sb)">
37 xterm -bg black -fg white -cr lightgreen -sb -bd violet -rightbar
38 </Program>
39 </Menu>
41 <!-- Utilities menu -->
42 <Menu icon="applications-accessories.png" label="Utilities">
43 <Program icon="accessories-calculator.png" label="Bc">
44 xterm -bg black -fg white -cr lightgreen -e bc
45 </Program>
46 <Program icon="system-file-manager.png" label="Clex">
47 xterm -bg black -fg white -cr lightgreen -hc peru -e clex
48 </Program>
49 <Program icon="emelfm2/emelfm2_48.png" label="emelFM2">
50 emelfm2 --trash=$HOME/.Trash
51 </Program>
52 <Program icon="grsync.png" label="Grsync">grsync</Program>
53 <Program icon="isomaster.png" label="ISO Master">isomaster</Program>
55 <Program icon="xpad.png" label="Xpad">xpad</Program>
56 </Menu>
58 <!-- Productivity -->
59 <Menu icon="applications-office.png" label="Productivity">
60 <Program icon="epdfview.png" label="ePDFView">epdfview</Program>
61 <Program icon="leafpad.png" label="LeafPad">leafpad</Program>
62 <Program icon="nano.png" label="Nano">
63 xterm -bg black -fg white -cr lightgreen -e nano
64 </Program>
65 <Program icon="osmo.png" label="Osmo organizer">osmo</Program>
66 <Program icon="applications-other.png" label="SQLite">
67 xterm -bg black -fg white -cr lightgreen -e sqlite3
68 </Program>
69 </Menu>
71 <!-- Internet menu -->
72 <Menu icon="applications-internet.png" label="Internet">
73 <Program icon="gftp.png" label="gFTP">gftp</Program>
74 <Program icon="internet-mail.png" label="Ghost In The Mail">
75 gitmail
76 </Program>
77 <Program icon="mozicon.png" label="Mozilla Firefox">firefox</Program>
78 <!-- <Program icon="sylpheed.png" label="Sylpheed">sylpheed</Program>
79 <Program icon="internet-mail.png" label="Sylpheed Compose">
80 sylpheed --compose
81 </Program> -->
82 <Program icon="internet-group-chat.png" label="Rhapsody IRC">
83 xterm -bg black -fg white -cr lightgreen -e rhapsody
84 </Program>
85 <Program icon="internet-web-browser.png" label="Retawq">
86 xterm -bg black -fg white -e retawq
87 </Program>
88 <Program icon="transmission.png" label="Transmission">
89 transmission-gtk
90 </Program>
91 </Menu>
93 <!-- Graphics menu -->
94 <Menu icon="applications-graphics.png" label="Graphics">
95 <Program icon="gqview.png" label="GQview">gqview</Program>
96 <Program icon="mtpaint.xpm" label="mtPaint">mtpaint</Program>
97 <Program icon="camera-photo.png" label="Grab screenshot">
98 mtpaint -s
99 </Program>
100 </Menu>
102 <!-- Development menu -->
103 <Menu icon="applications-development.png" label="Development">
104 <Program icon="utilities-terminal.png" label="Dialog (example)">
105 xterm -bg black -fg white -e dialog --title " Hello $USER " \
106 --msgbox "This message box is made with : dialog --msgbox" 8 60
107 </Program>
108 <Program icon="geany.png" label="Geany IDE">geany</Program>
109 <Program icon="gtk.png" label="Gtkdialog (example)">
110 /usr/share/examples/gtkdialog/00.00-text
111 </Program>
112 </Menu>
114 <!-- Games menu -->
115 <Menu icon="applications-games.png" label="Games">
116 <Program icon="applications-other.png" label="Bastet">
117 xterm -bg black -fg white -e bastet
118 </Program>
119 <Program icon="applications-other.png" label="nInvaders">
120 xterm -bg black -fg white -e nInvaders
121 </Program>
122 </Menu>
124 <!-- System tools menu -->
125 <Menu icon="applications-system.png" label="System tools">
126 <Program icon="htop.png" label="Htop">
127 xterm -bg black -fg white -e htop
128 </Program>
129 <Program icon="text-html.png" label="LightTPD status">
130 firefox http://localhost/server-status
131 </Program>
132 <Program icon="php.png" label="PHP info">
133 firefox http://localhost/phpinfo/
134 </Program>
135 <Program icon="applications-other.png" label="Xload">
136 xload -nolabel -bg black -fg lightblue -hl white
137 </Program>
138 </Menu>
140 <!-- Desktop preferences -->
141 <Menu icon="preferences-desktop.png" label="Preferences">
142 <Program icon="preferences-system-windows.png" label="JWM Menu & Theme">
143 geany $HOME/.jwmrc
144 </Program>
145 <Program icon="preferences-desktop-theme.png" label="GTK+ Theme & Font">
146 leafpad $HOME/.gtkrc-2.0
147 </Program>
148 <Program icon="preferences-system-session.png" label="X Session config">
149 leafpad $HOME/.xsession
150 </Program>
151 <Program icon="utilities-terminal.png" label="SHell profile">
152 leafpad $HOME/.profile
153 </Program>
154 </Menu>
156 <!-- Documentation menu -->
157 <Menu icon="text-x-generic.png" label="Documentation">
158 <Program icon="tazhelp.png" label="Tazhelp (Aide et support)">
159 tazhelp
160 </Program>
161 <Program icon="text-html.png" label="SliTaz Cooking info">
162 firefox /usr/share/doc/slitaz/cooking-info.html
163 </Program>
164 <Program icon="text-html.png" label="Tazpkg manual">
165 firefox /usr/share/doc/tazpkg/tazpkg.html
166 </Program>
167 <Program icon="text-html.png" label="Tazlito manual">
168 firefox /usr/share/doc/slitaz-tools/tazlito.html
169 </Program>
170 <Program icon="text-html.png" label="Tazwok manual">
171 firefox /usr/share/doc/tazwok/tazwok.html
172 </Program>
173 <Program icon="text-x-generic.png" label="GNU General Public License">
174 xterm -T "General Public License" -cr peru -e less -M /usr/share/licenses/gpl.txt
175 </Program>
176 </Menu>
178 <Separator/>
180 <!-- User Home shortcuts -->
181 <!-- <Desktops label="Desktops" icon="desktops.png"/> -->
182 <Program icon="go-home.png" label="Home">
183 emelfm2 --one=$HOME --two=$HOME --trash=$HOME/.Trash
184 </Program>
186 <!-- Actions menu -->
187 <Menu icon="applications-other.png" label="Actions">
188 <Restart icon="view-refresh.png" label="Restart JWM"/>
189 <Exit icon="system-log-out.png" label="Exit JWM" confirm="false"/>
190 <Separator/>
191 <Program icon="system-shutdown.png" label="Reboot">
192 killall Xvesa; clear; sleep 2; clear; reboot
193 </Program>
194 <Program icon="system-shutdown.png" label="Reboot (forced)">
195 killall Xvesa; clear; sleep 2; clear; reboot -f
196 </Program>
197 <Program icon="system-shutdown.png" label="Shutdown">
198 killall Xvesa; clear; sleep 2; clear; halt
199 </Program>
200 </Menu>
202 </RootMenu>
204 <!--
205 End of SliTaz JWM RootMenu
206 -->
208 <!--
209 Additional tray attributes: autohide, width, border, layer, layout
210 Start with top tray for the pager.
211 -->
213 <Tray x="-1" y="0" height="22" border="0">
215 <!-- Additional Pager attributes; width, height -->
216 <Pager/>
218 </Tray>
220 <!-- Bottom tray with menu, pager, tasklist, dock, xload and time. -->
222 <Tray x="0" y="-1" height="26">
224 <!-- Additional TrayButton attribute: label -->
225 <TrayButton icon="slitaz-menu.png" label="SliTaz" popup="SliTaz menu">
226 root:1
227 </TrayButton>
228 <TrayButton icon="user-desktop.png" popup="Show desktop">
229 showdesktop
230 </TrayButton>
231 <TrayButton icon="go-home.png" popup="Go to your Home dir">
232 exec:emelfm2 --one=$HOME --two=$HOME --trash=$HOME/.Trash
233 </TrayButton>
234 <TrayButton icon="applications-internet.png" popup="Browse your Public dir">
235 exec:firefox http://localhost/~$USER/
236 </TrayButton>
237 <TrayButton icon="utilities-terminal.png" popup="Xterm">
238 exec:xterm -bg black -fg white -cr skyblue
239 </TrayButton>
240 <TrayButton icon="accessories-text-editor.png" popup="Text editor">
241 exec:leafpad
242 </TrayButton>
244 <!-- Additional TaskList attribute: maxwidth -->
245 <TaskList maxwidth="260"/>
247 <!-- On SliTaz the Dock is used by Xpad. -->
248 <Dock/>
250 <Clock format=" %R "></Clock>
252 <!-- Additional Swallow attribute: height -->
253 <Swallow name="xload" width="64">
254 xload -nolabel -bg black -fg lightblue -hl white
255 </Swallow>
257 </Tray>
259 <!--
260 Visual Styles.
261 Voir http://www.slitaz.org/doc/handbook/jwm.html pour des informations
262 en Frensh sur la config d'un style pour JWM.
263 -->
265 <WindowStyle>
267 <Font>FreeSans-10:bold</Font>
268 <Width>4</Width>
269 <Height>20</Height>
271 <Active>
272 <Text>white</Text>
273 <Title>#294E1B:#5F8153</Title>
274 <Corner>white</Corner>
275 <Outline>black</Outline>
276 </Active>
278 <Inactive>
279 <Text>#aaaaaa</Text>
280 <Title>#3E1220:#6C0023</Title>
281 <Corner>#aaaaaa</Corner>
282 <Outline>black</Outline>
283 </Inactive>
285 </WindowStyle>
287 <TaskListStyle>
288 <Font>FreeSans-11:bold</Font>
289 <ActiveForeground>white</ActiveForeground>
290 <ActiveBackground>#294E1B:#5F8153</ActiveBackground>
291 <Foreground>black</Foreground>
292 <Background>gray90:gray98</Background>
293 </TaskListStyle>
295 <!-- Additional TrayStyle attribute: insert -->
296 <TrayStyle>
297 <Font>FreeSans-11:bold</Font>
298 <Background>gray96</Background>
299 <Foreground>black</Foreground>
300 </TrayStyle>
302 <PagerStyle>
303 <Outline>black</Outline>
304 <Foreground>lightgrey</Foreground>
305 <Background>grey50</Background>
306 <ActiveForeground>#DF8F06</ActiveForeground>
307 <ActiveBackground>#3D3D3D</ActiveBackground>
308 </PagerStyle>
310 <MenuStyle>
311 <Font>FreeSans-11</Font>
312 <Foreground>black</Foreground>
313 <Background>gray98</Background>
314 <ActiveForeground>white</ActiveForeground>
315 <ActiveBackground>#DF8F06:#DFCA06</ActiveBackground>
316 </MenuStyle>
318 <PopupStyle>
319 <Font>FreeSans-16</Font>
320 <Outline>black</Outline>
321 <Foreground>black</Foreground>
322 <Background>gold</Background>
323 </PopupStyle>
325 <!-- Icons path. -->
326 <IconPath>$HOME/Images/Icons</IconPath>
327 <IconPath>/usr/share/pixmaps</IconPath>
328 <IconPath>/usr/share/icons/Tango/jwm</IconPath>
330 <!-- Virtual Desktops -->
331 <!-- Desktop tags can be contained within Desktops for desktop names. -->
332 <Desktops count="4">
334 <!-- Default background. Note that a Background tag can be
335 contained within a Desktop tag to give a specific background
336 for that desktop.
337 Backgroud support: solid, gradient, image (tile or stretch)
338 -->
339 <!-- <Background type="gradient">#BFB06B:#D6C885</Background> -->
340 <!-- <Background type="tile">$HOME/Images/Wallpapers/image.png</Background> -->
341 <!-- <Background type="image">$HOME/Images/Wallpapers/bg.png</Background> -->
342 <Background type="image">/usr/share/images/slitaz-wallpaper-1280x1024.png</Background>
344 </Desktops>
346 <!-- Startup and shutdown commands. -->
347 <StartupCommand></StartupCommand>
348 <ShutdownCommand>
349 killall Xvesa; clear; sleep 2; clear; echo "JWM exit OK. Press ENTER to continue... "
350 </ShutdownCommand>
353 <!-- Double click speed (in milliseconds) -->
354 <DoubleClickSpeed>400</DoubleClickSpeed>
356 <!-- Double click delta (in pixels) -->
357 <DoubleClickDelta>2</DoubleClickDelta>
359 <!-- The focus model (sloppy or click) -->
360 <FocusModel>sloppy</FocusModel>
362 <!-- The snap mode (none, screen, or border) -->
363 <SnapMode distance="10">border</SnapMode>
365 <!-- The move mode (outline or opaque) -->
366 <MoveMode>opaque</MoveMode>
368 <!-- The resize mode (outline or opaque) -->
369 <ResizeMode>opaque</ResizeMode>
371 <!-- Key bindings -->
372 <Key key="Up">up</Key>
373 <Key key="Down">down</Key>
374 <Key key="Right">right</Key>
375 <Key key="Left">left</Key>
376 <Key key="h">left</Key>
377 <Key key="j">down</Key>
378 <Key key="k">up</Key>
379 <Key key="l">right</Key>
380 <Key key="Return">select</Key>
381 <Key key="Escape">escape</Key>
383 <Key mask="A" key="Tab">nextstacked</Key>
384 <Key mask="A" key="F4">close</Key>
385 <Key mask="A" key="#">desktop#</Key>
386 <Key mask="A" key="F1">root:1</Key>
387 <Key mask="A" key="F2">window</Key>
389 <!-- SliTaz add key bindings. -->
390 <Key mask="A" key="F5">exec:firefox</Key>
391 <Key mask="A" key="F6">
392 exec:emelfm2 --one=$HOME --two=$HOME --trash=$HOME/.Trash
393 </Key>
395 </JWM>