slitaz-tools diff stuff/jwm/system.jwmrc @ rev 208
calendar: no more hardcoded date
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue May 27 15:32:37 2008 +0000 (2008-05-27) |
parents | |
children |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/stuff/jwm/system.jwmrc Tue May 27 15:32:37 2008 +0000 1.3 @@ -0,0 +1,396 @@ 1.4 +<?xml version="1.0"?> 1.5 + 1.6 +<JWM> 1.7 + 1.8 + <!-- The root menu, if this is undefined you will not get a menu. --> 1.9 + <!-- Additional RootMenu attributes: onroot, labeled, label --> 1.10 + 1.11 + <!-- 1.12 + SliTaz GNU/Linux RootMenu build for the famous JWM version 2.0 1.13 + --> 1.14 + <RootMenu height="16"> 1.15 + 1.16 + <!-- Terminals menu --> 1.17 + <Menu icon="utilities-terminal.png" label="Terminals"> 1.18 + <Program icon="utilities-terminal.png" label="XTerm (-bg black)"> 1.19 + xterm -bg black -fg white -cr skyblue 1.20 + </Program> 1.21 + <Program icon="utilities-terminal.png" label="XTerm (-bg black 80x30)"> 1.22 + xterm -bg black -fg white -cr skyblue -geometry 80x30+20+20 1.23 + </Program> 1.24 + <Program icon="utilities-terminal.png" label="XTerm (-bg white)"> 1.25 + xterm -bg white -fg black -cr lightgreen 1.26 + </Program> 1.27 + <Program icon="utilities-terminal.png" label="XTerm (-bg skyblue)"> 1.28 + xterm -bg skyblue -fg white -cr peru 1.29 + </Program> 1.30 + <Program icon="utilities-terminal.png" label="XTerm (-bg gainsboro)"> 1.31 + xterm -bg gainsboro -fg black -cr lightgreen 1.32 + </Program> 1.33 + <Program icon="utilities-terminal.png" label="XTerm (-bg honeydew)"> 1.34 + xterm -bg honeydew -fg black -cr lightgreen 1.35 + </Program> 1.36 + <Program icon="utilities-terminal.png" label="XTerm (-bg sienna)"> 1.37 + xterm -bg sienna -fg white -cr gold 1.38 + </Program> 1.39 + <Program icon="utilities-terminal.png" label="XTerm (-sb)"> 1.40 + xterm -bg black -fg white -cr lightgreen -sb -bd violet -rightbar 1.41 + </Program> 1.42 + </Menu> 1.43 + 1.44 + <!-- Utilities menu --> 1.45 + <Menu icon="applications-accessories.png" label="Utilities"> 1.46 + <Program icon="accessories-calculator.png" label="Bc"> 1.47 + xterm -bg black -fg white -cr lightgreen -e bc 1.48 + </Program> 1.49 + <Program icon="system-file-manager.png" label="Clex"> 1.50 + xterm -bg black -fg white -cr lightgreen -hc peru -e clex 1.51 + </Program> 1.52 + <Program icon="emelfm2/emelfm2_48.png" label="emelFM2"> 1.53 + emelfm2 --trash=$HOME/.Trash 1.54 + </Program> 1.55 + <Program icon="grsync.png" label="Grsync">grsync</Program> 1.56 + <Program icon="isomaster.png" label="ISO Master">isomaster</Program> 1.57 + 1.58 + <Program icon="xpad.png" label="Xpad">xpad</Program> 1.59 + </Menu> 1.60 + 1.61 + <!-- Productivity --> 1.62 + <Menu icon="applications-office.png" label="Productivity"> 1.63 + <Program icon="epdfview.png" label="ePDFView">epdfview</Program> 1.64 + <Program icon="leafpad.png" label="LeafPad">leafpad</Program> 1.65 + <Program icon="nano.png" label="Nano"> 1.66 + xterm -bg black -fg white -cr lightgreen -e nano 1.67 + </Program> 1.68 + <Program icon="osmo.png" label="Osmo organizer">osmo</Program> 1.69 + <Program icon="applications-other.png" label="SQLite"> 1.70 + xterm -bg black -fg white -cr lightgreen -e sqlite3 1.71 + </Program> 1.72 + </Menu> 1.73 + 1.74 + <!-- Internet menu --> 1.75 + <Menu icon="applications-internet.png" label="Internet"> 1.76 + <Program icon="gftp.png" label="gFTP">gftp</Program> 1.77 + <Program icon="internet-mail.png" label="Ghost In The Mail"> 1.78 + gitmail 1.79 + </Program> 1.80 + <Program icon="mozicon.png" label="Mozilla Firefox">firefox</Program> 1.81 + <!-- <Program icon="sylpheed.png" label="Sylpheed">sylpheed</Program> 1.82 + <Program icon="internet-mail.png" label="Sylpheed Compose"> 1.83 + sylpheed --compose 1.84 + </Program> --> 1.85 + <Program icon="internet-group-chat.png" label="Rhapsody IRC"> 1.86 + xterm -bg black -fg white -cr lightgreen -e rhapsody 1.87 + </Program> 1.88 + <Program icon="internet-web-browser.png" label="Retawq"> 1.89 + xterm -bg black -fg white -e retawq 1.90 + </Program> 1.91 + <Program icon="transmission.png" label="Transmission"> 1.92 + transmission-gtk 1.93 + </Program> 1.94 + </Menu> 1.95 + 1.96 + <!-- Graphics menu --> 1.97 + <Menu icon="applications-graphics.png" label="Graphics"> 1.98 + <Program icon="gqview.png" label="GQview">gqview</Program> 1.99 + <Program icon="mtpaint.xpm" label="mtPaint">mtpaint</Program> 1.100 + <Program icon="camera-photo.png" label="Grab screenshot"> 1.101 + mtpaint -s 1.102 + </Program> 1.103 + </Menu> 1.104 + 1.105 + <!-- Development menu --> 1.106 + <Menu icon="applications-development.png" label="Development"> 1.107 + <Program icon="utilities-terminal.png" label="Dialog (example)"> 1.108 + xterm -bg black -fg white -e dialog --title " Hello $USER " \ 1.109 + --msgbox "This message box is made with : dialog --msgbox" 8 60 1.110 + </Program> 1.111 + <Program icon="geany.png" label="Geany IDE">geany</Program> 1.112 + <Program icon="gtk.png" label="Gtkdialog (example)"> 1.113 + /usr/share/examples/gtkdialog/00.00-text 1.114 + </Program> 1.115 + </Menu> 1.116 + 1.117 + <!-- Games menu --> 1.118 + <Menu icon="applications-games.png" label="Games"> 1.119 + <Program icon="applications-other.png" label="Bastet"> 1.120 + xterm -bg black -fg white -e bastet 1.121 + </Program> 1.122 + <Program icon="applications-other.png" label="nInvaders"> 1.123 + xterm -bg black -fg white -e nInvaders 1.124 + </Program> 1.125 + </Menu> 1.126 + 1.127 + <!-- System tools menu --> 1.128 + <Menu icon="applications-system.png" label="System tools"> 1.129 + <Program icon="htop.png" label="Htop"> 1.130 + xterm -bg black -fg white -e htop 1.131 + </Program> 1.132 + <Program icon="text-html.png" label="LightTPD status"> 1.133 + firefox http://localhost/server-status 1.134 + </Program> 1.135 + <Program icon="php.png" label="PHP info"> 1.136 + firefox http://localhost/phpinfo/ 1.137 + </Program> 1.138 + <Program icon="applications-other.png" label="Xload"> 1.139 + xload -nolabel -bg black -fg lightblue -hl white 1.140 + </Program> 1.141 + </Menu> 1.142 + 1.143 + <!-- Desktop preferences --> 1.144 + <Menu icon="preferences-desktop.png" label="Preferences"> 1.145 + <Program icon="preferences-system-windows.png" label="JWM Menu & Theme"> 1.146 + geany $HOME/.jwmrc 1.147 + </Program> 1.148 + <Program icon="preferences-desktop-theme.png" label="GTK+ Theme & Font"> 1.149 + leafpad $HOME/.gtkrc-2.0 1.150 + </Program> 1.151 + <Program icon="preferences-system-session.png" label="X Session config"> 1.152 + leafpad $HOME/.xsession 1.153 + </Program> 1.154 + <Program icon="utilities-terminal.png" label="SHell profile"> 1.155 + leafpad $HOME/.profile 1.156 + </Program> 1.157 + </Menu> 1.158 + 1.159 + <!-- Documentation menu --> 1.160 + <Menu icon="text-x-generic.png" label="Documentation"> 1.161 + <Program icon="tazhelp.png" label="Tazhelp (Aide et support)"> 1.162 + tazhelp 1.163 + </Program> 1.164 + <Program icon="text-html.png" label="SliTaz Cooking info"> 1.165 + firefox /usr/share/doc/slitaz/cooking-info.html 1.166 + </Program> 1.167 + <Program icon="text-html.png" label="Tazpkg manual"> 1.168 + firefox /usr/share/doc/tazpkg/tazpkg.html 1.169 + </Program> 1.170 + <Program icon="text-html.png" label="Tazlito manual"> 1.171 + firefox /usr/share/doc/slitaz-tools/tazlito.html 1.172 + </Program> 1.173 + <Program icon="text-html.png" label="Tazwok manual"> 1.174 + firefox /usr/share/doc/tazwok/tazwok.html 1.175 + </Program> 1.176 + <Program icon="text-x-generic.png" label="GNU General Public License"> 1.177 + xterm -T "General Public License" -cr peru -e less -M /usr/share/licenses/gpl.txt 1.178 + </Program> 1.179 + </Menu> 1.180 + 1.181 + <Separator/> 1.182 + 1.183 + <!-- User Home shortcuts --> 1.184 + <!-- <Desktops label="Desktops" icon="desktops.png"/> --> 1.185 + <Program icon="go-home.png" label="Home"> 1.186 + emelfm2 --one=$HOME --two=$HOME --trash=$HOME/.Trash 1.187 + </Program> 1.188 + 1.189 + <!-- Actions menu --> 1.190 + <Menu icon="applications-other.png" label="Actions"> 1.191 + <Restart icon="view-refresh.png" label="Restart JWM"/> 1.192 + <Exit icon="system-log-out.png" label="Exit JWM" confirm="false"/> 1.193 + <Separator/> 1.194 + <Program icon="system-shutdown.png" label="Reboot"> 1.195 + killall Xvesa; clear; sleep 2; clear; reboot 1.196 + </Program> 1.197 + <Program icon="system-shutdown.png" label="Reboot (forced)"> 1.198 + killall Xvesa; clear; sleep 2; clear; reboot -f 1.199 + </Program> 1.200 + <Program icon="system-shutdown.png" label="Shutdown"> 1.201 + killall Xvesa; clear; sleep 2; clear; halt 1.202 + </Program> 1.203 + </Menu> 1.204 + 1.205 + </RootMenu> 1.206 + 1.207 + <!-- 1.208 + End of SliTaz JWM RootMenu 1.209 + --> 1.210 + 1.211 + <!-- 1.212 + Additional tray attributes: autohide, width, border, layer, layout 1.213 + Start with top tray for the pager. 1.214 + --> 1.215 + 1.216 + <Tray x="-1" y="0" height="22" border="0"> 1.217 + 1.218 + <!-- Additional Pager attributes; width, height --> 1.219 + <Pager/> 1.220 + 1.221 + </Tray> 1.222 + 1.223 + <!-- Bottom tray with menu, pager, tasklist, dock, xload and time. --> 1.224 + 1.225 + <Tray x="0" y="-1" height="26"> 1.226 + 1.227 + <!-- Additional TrayButton attribute: label --> 1.228 + <TrayButton icon="slitaz-menu.png" label="SliTaz" popup="SliTaz menu"> 1.229 + root:1 1.230 + </TrayButton> 1.231 + <TrayButton icon="user-desktop.png" popup="Show desktop"> 1.232 + showdesktop 1.233 + </TrayButton> 1.234 + <TrayButton icon="go-home.png" popup="Go to your Home dir"> 1.235 + exec:emelfm2 --one=$HOME --two=$HOME --trash=$HOME/.Trash 1.236 + </TrayButton> 1.237 + <TrayButton icon="applications-internet.png" popup="Browse your Public dir"> 1.238 + exec:firefox http://localhost/~$USER/ 1.239 + </TrayButton> 1.240 + <TrayButton icon="utilities-terminal.png" popup="Xterm"> 1.241 + exec:xterm -bg black -fg white -cr skyblue 1.242 + </TrayButton> 1.243 + <TrayButton icon="accessories-text-editor.png" popup="Text editor"> 1.244 + exec:leafpad 1.245 + </TrayButton> 1.246 + 1.247 + <!-- Additional TaskList attribute: maxwidth --> 1.248 + <TaskList maxwidth="260"/> 1.249 + 1.250 + <!-- On SliTaz the Dock is used by Xpad. --> 1.251 + <Dock/> 1.252 + 1.253 + <Clock format=" %R "></Clock> 1.254 + 1.255 + <!-- Additional Swallow attribute: height --> 1.256 + <Swallow name="xload" width="64"> 1.257 + xload -nolabel -bg black -fg lightblue -hl white 1.258 + </Swallow> 1.259 + 1.260 + </Tray> 1.261 + 1.262 + <!-- 1.263 + Visual Styles. 1.264 + Voir http://www.slitaz.org/doc/handbook/jwm.html pour des informations 1.265 + en Frensh sur la config d'un style pour JWM. 1.266 + --> 1.267 + 1.268 + <WindowStyle> 1.269 + 1.270 + <Font>FreeSans-10:bold</Font> 1.271 + <Width>4</Width> 1.272 + <Height>20</Height> 1.273 + 1.274 + <Active> 1.275 + <Text>white</Text> 1.276 + <Title>#294E1B:#5F8153</Title> 1.277 + <Corner>white</Corner> 1.278 + <Outline>black</Outline> 1.279 + </Active> 1.280 + 1.281 + <Inactive> 1.282 + <Text>#aaaaaa</Text> 1.283 + <Title>#3E1220:#6C0023</Title> 1.284 + <Corner>#aaaaaa</Corner> 1.285 + <Outline>black</Outline> 1.286 + </Inactive> 1.287 + 1.288 + </WindowStyle> 1.289 + 1.290 + <TaskListStyle> 1.291 + <Font>FreeSans-11:bold</Font> 1.292 + <ActiveForeground>white</ActiveForeground> 1.293 + <ActiveBackground>#294E1B:#5F8153</ActiveBackground> 1.294 + <Foreground>black</Foreground> 1.295 + <Background>gray90:gray98</Background> 1.296 + </TaskListStyle> 1.297 + 1.298 + <!-- Additional TrayStyle attribute: insert --> 1.299 + <TrayStyle> 1.300 + <Font>FreeSans-11:bold</Font> 1.301 + <Background>gray96</Background> 1.302 + <Foreground>black</Foreground> 1.303 + </TrayStyle> 1.304 + 1.305 + <PagerStyle> 1.306 + <Outline>black</Outline> 1.307 + <Foreground>lightgrey</Foreground> 1.308 + <Background>grey50</Background> 1.309 + <ActiveForeground>#DF8F06</ActiveForeground> 1.310 + <ActiveBackground>#3D3D3D</ActiveBackground> 1.311 + </PagerStyle> 1.312 + 1.313 + <MenuStyle> 1.314 + <Font>FreeSans-11</Font> 1.315 + <Foreground>black</Foreground> 1.316 + <Background>gray98</Background> 1.317 + <ActiveForeground>white</ActiveForeground> 1.318 + <ActiveBackground>#DF8F06:#DFCA06</ActiveBackground> 1.319 + </MenuStyle> 1.320 + 1.321 + <PopupStyle> 1.322 + <Font>FreeSans-16</Font> 1.323 + <Outline>black</Outline> 1.324 + <Foreground>black</Foreground> 1.325 + <Background>gold</Background> 1.326 + </PopupStyle> 1.327 + 1.328 + <!-- Icons path. --> 1.329 + <IconPath>$HOME/Images/Icons</IconPath> 1.330 + <IconPath>/usr/share/pixmaps</IconPath> 1.331 + <IconPath>/usr/share/icons/Tango/jwm</IconPath> 1.332 + 1.333 + <!-- Virtual Desktops --> 1.334 + <!-- Desktop tags can be contained within Desktops for desktop names. --> 1.335 + <Desktops count="4"> 1.336 + 1.337 + <!-- Default background. Note that a Background tag can be 1.338 + contained within a Desktop tag to give a specific background 1.339 + for that desktop. 1.340 + Backgroud support: solid, gradient, image (tile or stretch) 1.341 + --> 1.342 + <!-- <Background type="gradient">#BFB06B:#D6C885</Background> --> 1.343 + <!-- <Background type="tile">$HOME/Images/Wallpapers/image.png</Background> --> 1.344 + <!-- <Background type="image">$HOME/Images/Wallpapers/bg.png</Background> --> 1.345 + <Background type="image">/usr/share/images/slitaz-wallpaper-1280x1024.png</Background> 1.346 + 1.347 + </Desktops> 1.348 + 1.349 + <!-- Startup and shutdown commands. --> 1.350 + <StartupCommand></StartupCommand> 1.351 + <ShutdownCommand> 1.352 + killall Xvesa; clear; sleep 2; clear; echo "JWM exit OK. Press ENTER to continue... " 1.353 + </ShutdownCommand> 1.354 + 1.355 + 1.356 + <!-- Double click speed (in milliseconds) --> 1.357 + <DoubleClickSpeed>400</DoubleClickSpeed> 1.358 + 1.359 + <!-- Double click delta (in pixels) --> 1.360 + <DoubleClickDelta>2</DoubleClickDelta> 1.361 + 1.362 + <!-- The focus model (sloppy or click) --> 1.363 + <FocusModel>sloppy</FocusModel> 1.364 + 1.365 + <!-- The snap mode (none, screen, or border) --> 1.366 + <SnapMode distance="10">border</SnapMode> 1.367 + 1.368 + <!-- The move mode (outline or opaque) --> 1.369 + <MoveMode>opaque</MoveMode> 1.370 + 1.371 + <!-- The resize mode (outline or opaque) --> 1.372 + <ResizeMode>opaque</ResizeMode> 1.373 + 1.374 + <!-- Key bindings --> 1.375 + <Key key="Up">up</Key> 1.376 + <Key key="Down">down</Key> 1.377 + <Key key="Right">right</Key> 1.378 + <Key key="Left">left</Key> 1.379 + <Key key="h">left</Key> 1.380 + <Key key="j">down</Key> 1.381 + <Key key="k">up</Key> 1.382 + <Key key="l">right</Key> 1.383 + <Key key="Return">select</Key> 1.384 + <Key key="Escape">escape</Key> 1.385 + 1.386 + <Key mask="A" key="Tab">nextstacked</Key> 1.387 + <Key mask="A" key="F4">close</Key> 1.388 + <Key mask="A" key="#">desktop#</Key> 1.389 + <Key mask="A" key="F1">root:1</Key> 1.390 + <Key mask="A" key="F2">window</Key> 1.391 + 1.392 + <!-- SliTaz add key bindings. --> 1.393 + <Key mask="A" key="F5">exec:firefox</Key> 1.394 + <Key mask="A" key="F6"> 1.395 + exec:emelfm2 --one=$HOME --two=$HOME --trash=$HOME/.Trash 1.396 + </Key> 1.397 + 1.398 +</JWM> 1.399 +