flavors rev 191

jwm: have a small browser! + misc improvments
author Christophe Lincoln <pankso@slitaz.org>
date Fri Jan 03 10:32:48 2014 +0100 (2014-01-03)
parents 1c747847f214
children ed392d29bca1
files jwm/packages.list jwm/rootfs/etc/slitaz/applications.conf jwm/rootfs/etc/xdg/jwm/system.jwmrc
line diff
     1.1 --- a/jwm/packages.list	Thu Jan 02 21:11:43 2014 +0100
     1.2 +++ b/jwm/packages.list	Fri Jan 03 10:32:48 2014 +0100
     1.3 @@ -18,7 +18,6 @@
     1.4  glibc-base
     1.5  ipxe
     1.6  grub4dos-linux
     1.7 -udevil
     1.8  isapnptools
     1.9  jpeg
    1.10  kbd-base
    1.11 @@ -30,10 +29,6 @@
    1.12  libpng
    1.13  libxml2
    1.14  linux
    1.15 -locale-de
    1.16 -locale-es
    1.17 -locale-fr
    1.18 -locale-pt_BR
    1.19  lzlib
    1.20  lzma
    1.21  nano
    1.22 @@ -50,9 +45,11 @@
    1.23  slim
    1.24  slitaz-base-files
    1.25  slitaz-boot-scripts
    1.26 +slitaz-configs
    1.27  slitaz-doc
    1.28  slitaz-polar-cursors
    1.29  slitaz-tools
    1.30 +slitaz-icon
    1.31  sqlite
    1.32  startup-notification
    1.33  sysfsutils
    1.34 @@ -61,6 +58,7 @@
    1.35  tazlito
    1.36  tazpkg
    1.37  tazusb
    1.38 +tazinst
    1.39  tiff
    1.40  ttf-dejavu
    1.41  udev
    1.42 @@ -97,6 +95,6 @@
    1.43  xorg-xsetroot
    1.44  xterm
    1.45  zlib
    1.46 -tazinst
    1.47  jwm
    1.48 -slitaz-configs
    1.49 +openssl
    1.50 +dillo
     2.1 --- a/jwm/rootfs/etc/slitaz/applications.conf	Thu Jan 02 21:11:43 2014 +0100
     2.2 +++ b/jwm/rootfs/etc/slitaz/applications.conf	Fri Jan 03 10:32:48 2014 +0100
     2.3 @@ -6,7 +6,7 @@
     2.4  FILE_MANAGER="clex"
     2.5  
     2.6  # Web browser.
     2.7 -BROWSER="retawq"
     2.8 +BROWSER="dillo"
     2.9  
    2.10  # Text editor.
    2.11  EDITOR="nano"
     3.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     3.2 +++ b/jwm/rootfs/etc/xdg/jwm/system.jwmrc	Fri Jan 03 10:32:48 2014 +0100
     3.3 @@ -0,0 +1,184 @@
     3.4 +<?xml version="1.0"?>
     3.5 +
     3.6 +<JWM>
     3.7 +
     3.8 +	<!-- The root menu, if this is undefined you will not get a menu. -->
     3.9 +	<!-- Additional RootMenu attributes: onroot, labeled, label -->
    3.10 +	<RootMenu height="24" onroot="12">
    3.11 +		<Menu icon="applications-system.png" label="System Tools">
    3.12 +			<Program icon="applications-other.png" label="Xload Monitor">
    3.13 +				xload -nolabel -bg black -fg grey -hl orange
    3.14 +			</Program>
    3.15 +			<Program icon="utilities-system-monitor.png" label="Top Monitor">
    3.16 +				terminal -e top
    3.17 +			</Program>
    3.18 +		</Menu>
    3.19 +		<Menu icon="applications-internet.png" label="Network">
    3.20 +			<Program icon="internet-web-browser.png" label="Dillo Web browser">
    3.21 +				dillo
    3.22 +			</Program>
    3.23 +			<Program icon="xterm.png" label="Scan loclhost ports">
    3.24 +				terminal -e "(pscan localhost; read i)"
    3.25 +			</Program>
    3.26 +		</Menu>
    3.27 +		<Program icon="tazpkg.png" label="Packages manager">terminal -e tazpkg shell</Program>
    3.28 +		<Program icon="text-editor.png" label="Nano Text editor">terminal -e nano</Program>
    3.29 +		<Program icon="xterm.png" label="Terminal">terminal</Program>
    3.30 +	</RootMenu>
    3.31 +	
    3.32 +	<RootMenu height="24" onroot="3">
    3.33 +		<Program icon="system-shut-down.png" label="Shut down system">reboot</Program>
    3.34 +		<Program icon="system-restart.png" label="Reboot system">reboot</Program>
    3.35 +		<Exit label="Exit JWM" confirm="true" icon="system-suspend.png"/>
    3.36 +		<Restart label="Restart JWM" icon="system-restart.png"/>
    3.37 +	</RootMenu>
    3.38 +
    3.39 +   <!-- Additional tray attributes: autohide, width, border, layer, layout -->
    3.40 +   <Tray  x="0" y="-1" height="26">
    3.41 +
    3.42 +      <!-- Additional TrayButton attribute: label -->
    3.43 +      <TrayButton label="Application">root:1</TrayButton>
    3.44 +      <TrayButton label="System">root:3</TrayButton>
    3.45 +
    3.46 +      <!-- <TrayButton label="_">showdesktop</TrayButton> -->
    3.47 +
    3.48 +      <!-- Additional Pager attributes; width, height -->
    3.49 +      <Pager labeled="false" />
    3.50 +
    3.51 +      <!-- Additional TaskList attribute: maxwidth -->
    3.52 +      <TaskList maxwidth="250"/>
    3.53 +
    3.54 +      <Dock />
    3.55 +
    3.56 +      <!-- Additional Swallow attribute: height -->
    3.57 +      <Swallow name="xload" width="40">
    3.58 +		  xload -nolabel -bg black -fg grey -hl orange
    3.59 +      </Swallow>
    3.60 +
    3.61 +      <Clock>xclock</Clock>
    3.62 +
    3.63 +   </Tray>
    3.64 +
    3.65 +   <!-- Visual Styles -->
    3.66 +
    3.67 +   <WindowStyle>
    3.68 +
    3.69 +      <Font>FreeSans-9:bold</Font>
    3.70 +      <Width>4</Width>
    3.71 +      <Height>26</Height>
    3.72 +
    3.73 +      <Active>
    3.74 +         <Text>#cfcfcf</Text>
    3.75 +         <!-- <Title>#351a0a:#72320e</Title> -->
    3.76 +         <Title>#351a0a</Title>
    3.77 +         <Outline>#351a0a</Outline>
    3.78 +         <Opacity>1.0</Opacity>
    3.79 +      </Active>
    3.80 +
    3.81 +      <Inactive>
    3.82 +         <Text>#bbbbbb</Text>
    3.83 +         <Title>#72320e</Title>
    3.84 +         <Corner>#aaaaaa</Corner>
    3.85 +         <Outline>#72320e</Outline>
    3.86 +      </Inactive>
    3.87 +
    3.88 +   </WindowStyle>
    3.89 +
    3.90 +   <TaskListStyle>
    3.91 +      <Font>FreeSans-9:bold</Font>
    3.92 +      <ActiveForeground>black</ActiveForeground>
    3.93 +      <ActiveBackground>gray80:gray90</ActiveBackground>
    3.94 +      <Foreground>black</Foreground>
    3.95 +      <Background>gray90:gray80</Background>
    3.96 +   </TaskListStyle>
    3.97 +
    3.98 +   <!-- Additional TrayStyle attribute: insert -->
    3.99 +   <TrayStyle>
   3.100 +      <Font>FreeSans-11:bold</Font>
   3.101 +      <Background>#f9f7f3</Background>
   3.102 +      <Foreground>black</Foreground>
   3.103 +      <Opacity>0.75</Opacity>
   3.104 +   </TrayStyle>
   3.105 +
   3.106 +   <PagerStyle>
   3.107 +      <Outline>black</Outline>
   3.108 +      <Foreground>gray90</Foreground>
   3.109 +      <Background>#666666</Background>
   3.110 +      <ActiveForeground>#70849d</ActiveForeground>
   3.111 +      <ActiveBackground>#2e3a67</ActiveBackground>
   3.112 +   </PagerStyle>
   3.113 +
   3.114 +   <MenuStyle>
   3.115 +      <Font>FreeSans-10:bold</Font>
   3.116 +      <Foreground>black</Foreground>
   3.117 +      <Background>#f9f7f3</Background>
   3.118 +      <ActiveForeground>white</ActiveForeground>
   3.119 +      <ActiveBackground>#7A6753:#443b31</ActiveBackground>
   3.120 +      <Opacity>0.85</Opacity>
   3.121 +   </MenuStyle>
   3.122 +
   3.123 +   <PopupStyle>
   3.124 +      <Font>FreeSans-16</Font>
   3.125 +      <Outline>#dddddd</Outline>
   3.126 +      <Foreground>black</Foreground>
   3.127 +      <Background>#f9f7f3</Background>
   3.128 +   </PopupStyle>
   3.129 +
   3.130 +   <IconPath>$HOME/.icons</IconPath>
   3.131 +   <IconPath>/usr/share/pixmaps</IconPath>
   3.132 +   <IconPath>/usr/share/icons/SliTaz/apps/22</IconPath>
   3.133 +   <IconPath>/usr/share/icons/SliTaz/categories/22</IconPath>
   3.134 +
   3.135 +   <!-- Virtual Desktops -->
   3.136 +   <!-- Desktop tags can be contained within Desktops for desktop names. -->
   3.137 +   <Desktops count="2">
   3.138 +
   3.139 +      <!-- Default background. Note that a Background tag can be
   3.140 +           contained within a Desktop tag to give a specific background
   3.141 +           for that desktop.
   3.142 +       -->
   3.143 +      <Background type="image">/usr/share/images/slitaz-background.jpg</Background>
   3.144 +
   3.145 +   </Desktops>
   3.146 +
   3.147 +   <!-- Startup and shutdown commands. -->
   3.148 +   <StartupCommand></StartupCommand>
   3.149 +   <ShutdownCommand></ShutdownCommand>
   3.150 +
   3.151 +   <!-- Double click speed (in milliseconds) -->
   3.152 +   <DoubleClickSpeed>400</DoubleClickSpeed>
   3.153 +
   3.154 +   <!-- Double click delta (in pixels) -->
   3.155 +   <DoubleClickDelta>2</DoubleClickDelta>
   3.156 +
   3.157 +   <!-- The focus model (sloppy or click) -->
   3.158 +   <FocusModel>sloppy</FocusModel>
   3.159 +
   3.160 +   <!-- The snap mode (none, screen, or border) -->
   3.161 +   <SnapMode distance="10">border</SnapMode>
   3.162 +
   3.163 +   <!-- The move mode (outline or opaque) -->
   3.164 +   <MoveMode>opaque</MoveMode>
   3.165 +
   3.166 +   <!-- The resize mode (outline or opaque) -->
   3.167 +   <ResizeMode>opaque</ResizeMode>
   3.168 +
   3.169 +   <!-- Key bindings -->
   3.170 +   <Key key="Up">up</Key>
   3.171 +   <Key key="Down">down</Key>
   3.172 +   <Key key="Right">right</Key>
   3.173 +   <Key key="Left">left</Key>
   3.174 +   <Key key="h">left</Key>
   3.175 +   <Key key="j">down</Key>
   3.176 +   <Key key="k">up</Key>
   3.177 +   <Key key="l">right</Key>
   3.178 +   <Key key="Return">select</Key>
   3.179 +   <Key key="Escape">escape</Key>
   3.180 +
   3.181 +   <Key mask="A" key="Tab">nextstacked</Key>
   3.182 +   <Key mask="A" key="F4">close</Key>
   3.183 +   <Key mask="A" key="#">desktop#</Key>
   3.184 +   <Key mask="A" key="F1">root:1</Key>
   3.185 +   <Key mask="A" key="F2">window</Key>
   3.186 +
   3.187 +</JWM>