slitaz-arm rev 64

Add some config files needed for an ARM desktop
author Christophe Lincoln <pankso@slitaz.org>
date Sat Mar 15 19:12:04 2014 +0100 (2014-03-15)
parents c6d3db386d89
children dd6fa65acfc2
files flavors/rpi-desktop/flavor.conf flavors/rpi-desktop/packages.list rootfs/etc/skel/.Xdefaults rootfs/etc/skel/.xsession rootfs/etc/slitaz/applications.conf rootfs/etc/xdg/jwm/system.jwmrc
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/flavors/rpi-desktop/flavor.conf	Sat Mar 15 19:12:04 2014 +0100
     1.3 @@ -0,0 +1,8 @@
     1.4 +# SliTaz ARM Flavor configuration file.
     1.5 +#
     1.6 +
     1.7 +FLAVOR="rpi-desktop"
     1.8 +VERSION="20140304"
     1.9 +MAINTAINER="pankso@slitaz.org"
    1.10 +SHORT_DESC="SliTaz ARM Raspberry Pi Desktop"
    1.11 +WEB_SITE="http://arm.slitaz.org"
     2.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     2.2 +++ b/flavors/rpi-desktop/packages.list	Sat Mar 15 19:12:04 2014 +0100
     2.3 @@ -0,0 +1,86 @@
     2.4 +busybox
     2.5 +gcc-lib-base
     2.6 +gettext-base
     2.7 +glibc-base
     2.8 +kbd-base
     2.9 +slitaz-base-files
    2.10 +slitaz-boot-scripts
    2.11 +slitaz-tools
    2.12 +spk
    2.13 +tazirc
    2.14 +util-linux-blkid
    2.15 +util-linux-uuid
    2.16 +ncurses-common
    2.17 +ncurses
    2.18 +ncursesw
    2.19 +libcomerr
    2.20 +e2fsprogs
    2.21 +dialog
    2.22 +zlib
    2.23 +dropbear
    2.24 +joe
    2.25 +nano
    2.26 +lynx
    2.27 +clex
    2.28 +wireless_tools
    2.29 +wpa_supplicant
    2.30 +libssl
    2.31 +libcrypto
    2.32 +libgcrypt
    2.33 +libgpg-error
    2.34 +libnl
    2.35 +dosfstools
    2.36 +udev
    2.37 +kmod
    2.38 +liblzma
    2.39 +bzip2
    2.40 +pciids
    2.41 +usbids
    2.42 +bzlib
    2.43 +freetype
    2.44 +libxcb
    2.45 +attr
    2.46 +expat
    2.47 +libxml2
    2.48 +acl
    2.49 +fontconfig
    2.50 +pixman
    2.51 +xorg-libX11
    2.52 +xorg-libXft
    2.53 +xorg-libXrender
    2.54 +xorg-libXpm
    2.55 +xorg-libXext
    2.56 +xorg-libXmu
    2.57 +xorg-libXinerama
    2.58 +xorg-libXau
    2.59 +xorg-libXdmcp
    2.60 +xorg-libXt
    2.61 +xorg-libXinerama
    2.62 +xorg-libXcomposite
    2.63 +xorg-libXv
    2.64 +xorg-libxkbfile
    2.65 +xorg-libXaw
    2.66 +xorg-libXaw
    2.67 +xorg-libSM
    2.68 +xorg-libICE
    2.69 +xorg-xkeyboard-config
    2.70 +xorg-libpciaccess
    2.71 +xorg-libXxf86vm
    2.72 +xorg-libXfont
    2.73 +xorg-libXinerama
    2.74 +xorg-libfontenc
    2.75 +xorg-xkbcomp
    2.76 +xorg-server-light
    2.77 +xorg-base-fonts
    2.78 +xorg-xf86-input-evdev
    2.79 +xorg-xf86-input-fbdev
    2.80 +xorg-xload
    2.81 +xorg-xclock
    2.82 +giflib
    2.83 +tiff
    2.84 +libid3tag
    2.85 +libjpeg
    2.86 +libpng
    2.87 +imlib2
    2.88 +hsetroot
    2.89 +jwm
     3.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     3.2 +++ b/rootfs/etc/skel/.Xdefaults	Sat Mar 15 19:12:04 2014 +0100
     3.3 @@ -0,0 +1,23 @@
     3.4 +!~/.Xdefault: Control the behavior of x-clients.
     3.5 +!
     3.6 +
     3.7 +! Xcursor theme (~/.icons).
     3.8 +!
     3.9 +Xcursor.theme:		slitaz-polar
    3.10 +
    3.11 +! XTerm settings.
    3.12 +!
    3.13 +xterm*background:	#000000
    3.14 +xterm*foreground:	#ffffff
    3.15 +xterm*cursorColor:	#d66018
    3.16 +xterm*scrollBar:	off
    3.17 +xterm*faceName:		DejaVu Sans Mono
    3.18 +xterm*faceNameDoublesize:WenQuanYi WenQuanYi Micro Hei Mono-12
    3.19 +xterm*faceSize:		12
    3.20 +xterm*utf8:		2
    3.21 +xterm*eightBitInput:	true
    3.22 +
    3.23 +! Xload settings.
    3.24 +!
    3.25 +!xload*background:	black
    3.26 +!xload*foreground:	lightblue
     4.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     4.2 +++ b/rootfs/etc/skel/.xsession	Sat Mar 15 19:12:04 2014 +0100
     4.3 @@ -0,0 +1,5 @@
     4.4 +# ~/.xsession: Start X window session manually on your system (startx).
     4.5 +#
     4.6 +Xorg &
     4.7 +#xterm &
     4.8 +exec jwm
     5.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     5.2 +++ b/rootfs/etc/slitaz/applications.conf	Sat Mar 15 19:12:04 2014 +0100
     5.3 @@ -0,0 +1,18 @@
     5.4 +# SliTaz default applications configuration file. These apps can be
     5.5 +# started through wrappers: browser, editor and terminal.
     5.6 +#
     5.7 +
     5.8 +# File manager.
     5.9 +FILE_MANAGER="clex"
    5.10 +
    5.11 +# Web browser.
    5.12 +BROWSER="lynx"
    5.13 +
    5.14 +# Text editor.
    5.15 +EDITOR="joe"
    5.16 +
    5.17 +# X terminal.
    5.18 +TERMINAL="xterm"
    5.19 +
    5.20 +# Window manager.
    5.21 +WINDOW_MANAGER="jwm"
     6.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     6.2 +++ b/rootfs/etc/xdg/jwm/system.jwmrc	Sat Mar 15 19:12:04 2014 +0100
     6.3 @@ -0,0 +1,188 @@
     6.4 +<?xml version="1.0"?>
     6.5 +
     6.6 +<JWM>
     6.7 +
     6.8 +	<!-- The root menu, if this is undefined you will not get a menu. -->
     6.9 +	<!-- Additional RootMenu attributes: onroot, labeled, label -->
    6.10 +	<RootMenu height="22" onroot="12">
    6.11 +		<Menu icon="applications-system.png" label="System Tools">
    6.12 +			<Program icon="applications-other.png" label="Xload Monitor">
    6.13 +				xload -nolabel -bg black -fg grey -hl orange
    6.14 +			</Program>
    6.15 +			<Program icon="utilities-system-monitor.png" label="Top Monitor">
    6.16 +				terminal -e top
    6.17 +			</Program>
    6.18 +			<Program icon="preferences-desktop-locale.png" label="System Language">
    6.19 +				terminal -e su -c slitaz-config
    6.20 +			</Program>
    6.21 +		</Menu>
    6.22 +		<Menu icon="applications-internet.png" label="Network">
    6.23 +			<Program icon="internet-web-browser.png" label="Lynx Web browser">
    6.24 +				terminal -e lynx
    6.25 +			</Program>
    6.26 +			<Program icon="xchat.png" label="TazIRC IRC client">
    6.27 +				terminal -e 'tazirc --ask'
    6.28 +			</Program>
    6.29 +		</Menu>
    6.30 +		<Program icon="tazpkg.png" label="Packages manager">terminal -e tazpkg shell</Program>
    6.31 +		<Program icon="text-editor.png" label="Joe Text editor">terminal -e joe</Program>
    6.32 +		<Program icon="xterm.png" label="Terminal">terminal</Program>
    6.33 +	</RootMenu>
    6.34 +	
    6.35 +	<RootMenu height="22" onroot="3">
    6.36 +		<Program icon="system-shut-down.png" label="Shut down system">reboot</Program>
    6.37 +		<Program icon="system-restart.png" label="Reboot system">reboot</Program>
    6.38 +		<Exit label="Exit JWM" confirm="true" icon="system-suspend.png"/>
    6.39 +		<Restart label="Restart JWM" icon="system-restart.png"/>
    6.40 +	</RootMenu>
    6.41 +
    6.42 +   <!-- Additional tray attributes: autohide, width, border, layer, layout -->
    6.43 +   <Tray x="0" y="+0" height="24">
    6.44 +
    6.45 +      <!-- Additional TrayButton attribute: label, icon, border, popup -->
    6.46 +      <TrayButton label="Application" border="false" popup="">root:1</TrayButton>
    6.47 +      <TrayButton label="System" border="false" popup="">root:3</TrayButton>
    6.48 +
    6.49 +      <!-- <TrayButton label="_">showdesktop</TrayButton> -->
    6.50 +
    6.51 +      <!-- Additional Pager attributes; width, height -->
    6.52 +      <Pager labeled="false" />
    6.53 +
    6.54 +      <!-- Additional TaskList attribute: maxwidth -->
    6.55 +      <TaskList maxwidth="250" border="false" />
    6.56 +
    6.57 +      <Dock />
    6.58 +
    6.59 +      <!-- Additional Swallow attribute: height -->
    6.60 +      <Swallow name="xload" width="40">
    6.61 +		  xload -nolabel -bg black -fg grey -hl orange
    6.62 +      </Swallow>
    6.63 +
    6.64 +      <Clock format="%I:%M">xclock</Clock>
    6.65 +
    6.66 +   </Tray>
    6.67 +
    6.68 +   <!-- Visual Styles -->
    6.69 +
    6.70 +   <WindowStyle>
    6.71 +
    6.72 +      <Font>FreeSans-9:bold</Font>
    6.73 +      <Width>4</Width>
    6.74 +      <Height>24</Height>
    6.75 +
    6.76 +      <Active>
    6.77 +         <Text>#222222</Text>
    6.78 +         <Title>#dadada:#ededed</Title>
    6.79 +         <Outline>#dadada</Outline>
    6.80 +         <Opacity>1.0</Opacity>
    6.81 +      </Active>
    6.82 +
    6.83 +      <Inactive>
    6.84 +         <Text>#888888</Text>
    6.85 +         <Title>#ededed</Title>
    6.86 +         <!-- <Corner>#aaaaaa</Corner> -->
    6.87 +         <Outline>#888888</Outline>
    6.88 +         <Opacity>0.5</Opacity>
    6.89 +      </Inactive>
    6.90 +
    6.91 +   </WindowStyle>
    6.92 +
    6.93 +   <TaskListStyle>
    6.94 +      <Font>FreeSans-9:bold</Font>
    6.95 +      <ActiveForeground>#cfcfcf</ActiveForeground>
    6.96 +      <ActiveBackground>#444444</ActiveBackground>
    6.97 +      <Foreground>#888888</Foreground>
    6.98 +      <Background>#222222</Background>
    6.99 +   </TaskListStyle>
   6.100 +
   6.101 +   <!-- Additional TrayStyle attribute: insert -->
   6.102 +   <TrayStyle>
   6.103 +      <Font>FreeSans-11:bold</Font>
   6.104 +      <Background>#222222</Background>
   6.105 +      <Foreground>#cfcfcf</Foreground>
   6.106 +      <Opacity>1.0</Opacity>
   6.107 +   </TrayStyle>
   6.108 +
   6.109 +   <PagerStyle>
   6.110 +      <Outline>black</Outline>
   6.111 +      <Foreground>#222222</Foreground>
   6.112 +      <Background>#444444</Background>
   6.113 +      <ActiveForeground>#888888</ActiveForeground>
   6.114 +      <ActiveBackground>#666666</ActiveBackground>
   6.115 +   </PagerStyle>
   6.116 +
   6.117 +   <MenuStyle>
   6.118 +      <Font>FreeSans-10:bold</Font>
   6.119 +      <Foreground>black</Foreground>
   6.120 +      <Background>#f9f7f3</Background>
   6.121 +      <ActiveForeground>white</ActiveForeground>
   6.122 +      <ActiveBackground>#7A6753:#443b31</ActiveBackground>
   6.123 +      <Opacity>1.0</Opacity>
   6.124 +   </MenuStyle>
   6.125 +
   6.126 +   <PopupStyle delay="100">
   6.127 +      <Font>FreeSans-18</Font>
   6.128 +      <Outline>#dddddd</Outline>
   6.129 +      <Foreground>black</Foreground>
   6.130 +      <Background>#f9f7f3</Background>
   6.131 +   </PopupStyle>
   6.132 +
   6.133 +   <IconPath>$HOME/.icons</IconPath>
   6.134 +   <IconPath>/usr/share/icons/SliTaz/apps/22</IconPath>
   6.135 +   <IconPath>/usr/share/icons/SliTaz/categories/22</IconPath>
   6.136 +   <IconPath>/usr/share/pixmaps</IconPath>
   6.137 +
   6.138 +   <!-- Virtual Desktops -->
   6.139 +   <!-- Desktop tags can be contained within Desktops for desktop names. -->
   6.140 +   <Desktops width="2">
   6.141 +
   6.142 +      <!-- Default background. Note that a Background tag can be
   6.143 +           contained within a Desktop tag to give a specific background
   6.144 +           for that desktop. -->
   6.145 +      <Background type="command">
   6.146 +		  hsetroot -fill /usr/share/images/slitaz-background.jpg
   6.147 +	  </Background>
   6.148 +
   6.149 +   </Desktops>
   6.150 +
   6.151 +   <!-- Startup and shutdown commands. -->
   6.152 +   <StartupCommand>compton -Cc -r 10 -o 0.5</StartupCommand>
   6.153 +   <ShutdownCommand></ShutdownCommand>
   6.154 +
   6.155 +   <!-- Double click speed (in milliseconds) -->
   6.156 +   <DoubleClickSpeed>400</DoubleClickSpeed>
   6.157 +
   6.158 +   <!-- Double click delta (in pixels) -->
   6.159 +   <DoubleClickDelta>2</DoubleClickDelta>
   6.160 +
   6.161 +   <!-- The focus model (sloppy or click) -->
   6.162 +   <FocusModel>click</FocusModel>
   6.163 +
   6.164 +   <!-- The snap mode (none, screen, or border) -->
   6.165 +   <SnapMode distance="10">border</SnapMode>
   6.166 +
   6.167 +   <!-- The move mode (outline or opaque) -->
   6.168 +   <MoveMode>opaque</MoveMode>
   6.169 +
   6.170 +   <!-- The resize mode (outline or opaque) -->
   6.171 +   <ResizeMode>opaque</ResizeMode>
   6.172 +
   6.173 +   <!-- Key bindings -->
   6.174 +   <Key key="Up">up</Key>
   6.175 +   <Key key="Down">down</Key>
   6.176 +   <Key key="Right">right</Key>
   6.177 +   <Key key="Left">left</Key>
   6.178 +   <Key key="h">left</Key>
   6.179 +   <Key key="j">down</Key>
   6.180 +   <Key key="k">up</Key>
   6.181 +   <Key key="l">right</Key>
   6.182 +   <Key key="Return">select</Key>
   6.183 +   <Key key="Escape">escape</Key>
   6.184 +
   6.185 +   <Key mask="A" key="Tab">nextstacked</Key>
   6.186 +   <Key mask="A" key="F4">close</Key>
   6.187 +   <Key mask="A" key="#">desktop#</Key>
   6.188 +   <Key mask="A" key="F1">root:1</Key>
   6.189 +   <Key mask="A" key="F2">window</Key>
   6.190 +
   6.191 +</JWM>