flavors rev 15
Keep 4 flavors + loram + 3in1 and add tmp addfiles for core
line diff
1.1 --- a/core/packages.list Sat Dec 26 11:04:28 2009 +0100 1.2 +++ b/core/packages.list Tue Feb 02 22:26:52 2010 +0100 1.3 @@ -1,126 +1,65 @@ 1.4 -acl 1.5 -alsa-lib 1.6 -alsaplayer 1.7 -alsa-utils 1.8 -asunder 1.9 atk 1.10 -attr 1.11 busybox 1.12 bzlib 1.13 cairo 1.14 -cairomm 1.15 -cdparanoia-III 1.16 cdrkit 1.17 clearlooks 1.18 conspy 1.19 dbus 1.20 dbus-glib 1.21 -depmod 1.22 -desktop-file-utils 1.23 dialog 1.24 dropbear 1.25 e2fsprogs 1.26 -enchant 1.27 expat 1.28 -file 1.29 -firefox 1.30 fontconfig 1.31 freetype 1.32 -fuse 1.33 -galculator 1.34 gamin 1.35 gcc-lib-base 1.36 -gcolor2 1.37 -geany 1.38 -get-dropbox 1.39 -get-dsl-firmware 1.40 -get-flash-plugin 1.41 -get-google-earth 1.42 -get-java6-jre 1.43 -get-OpenOffice3 1.44 -get-opera 1.45 -get-skype 1.46 get-wifi-firmware 1.47 -gftp 1.48 glib 1.49 glibc-base 1.50 -glibmm 1.51 -gparted 1.52 -gpicview 1.53 gpxe 1.54 -grsync 1.55 grub 1.56 gtk+ 1.57 gtkdialog 1.58 -gtkmm 1.59 -gtkspell 1.60 hal 1.61 hardinfo 1.62 -hicolor-icon-theme 1.63 +hicolor 1.64 isapnptools 1.65 -isomaster 1.66 jpeg 1.67 kbd-busybox 1.68 leafpad 1.69 libcap 1.70 -libcddb 1.71 libcomerr 1.72 -libcrypto 1.73 -libcurl 1.74 libgio 1.75 -libgiomm 1.76 libglade 1.77 -libidn 1.78 -libmad 1.79 -libnotify 1.80 -libogg 1.81 libpng 1.82 -libsigc++ 1.83 -libssl 1.84 -libvorbis 1.85 -libxcb 1.86 libxml2 1.87 linux 1.88 -linux-acpi 1.89 -linux-crypto 1.90 +linux-wireless 1.91 linux-sound 1.92 -linux-wireless 1.93 locale-de 1.94 locale-es 1.95 locale-fr 1.96 locale-pt 1.97 -lostirc 1.98 lxappearance 1.99 lxpanel 1.100 lxtask 1.101 lzlib 1.102 lzma 1.103 -menu-cache 1.104 -mhwaveedit 1.105 -mtpaint 1.106 nano 1.107 ncurses 1.108 -ndiswrapper-driver 1.109 -notecase 1.110 -ntfs-3g 1.111 -ntfsprogs 1.112 obconf 1.113 openbox 1.114 -osmo 1.115 pango 1.116 -pangomm 1.117 -parcellite 1.118 -parted 1.119 pciutils 1.120 pcmanfm 1.121 pcmciautils 1.122 pcre 1.123 -perl-core 1.124 pixman 1.125 popt 1.126 ppp 1.127 rp-pppoe 1.128 -rsync 1.129 shared-mime-info 1.130 slim 1.131 slitaz-base-files 1.132 @@ -134,29 +73,17 @@ 1.133 slitaz-tools-boxes 1.134 sqlite 1.135 startup-notification 1.136 -sudoku-savant 1.137 sysfsutils 1.138 syslinux 1.139 syslinux-extra 1.140 tazlito 1.141 -tazndis 1.142 tazpkg 1.143 tazusb 1.144 tazwok 1.145 tiff 1.146 -transmission 1.147 transset-df 1.148 ttf-dejavu 1.149 udev 1.150 -util-linux-ng-blkid 1.151 -util-linux-ng-getopt 1.152 -util-linux-ng-uuid 1.153 -vorbis-tools 1.154 -web-applications 1.155 -wireless_tools 1.156 -wpa_supplicant 1.157 -xarchive 1.158 -xcb-util 1.159 xorg 1.160 xorg-base-fonts 1.161 xorg-libfontenc 1.162 @@ -182,10 +109,41 @@ 1.163 xorg-libXt 1.164 xorg-libXtst 1.165 xorg-rgb 1.166 -xorg-server-Xvesa 1.167 xorg-xauth 1.168 xorg-xcompmgr 1.169 xorg-xrandr 1.170 -xpad 1.171 xterm 1.172 zlib 1.173 +libcrypto 1.174 +wireless_tools 1.175 +wpa_supplicant 1.176 +mtpaint 1.177 +libnotify 1.178 +transmission 1.179 +alsa-lib 1.180 +alsaplayer 1.181 +alsa-utils 1.182 +asunder 1.183 +galculator 1.184 +ntfs-3g 1.185 +ntfsprogs 1.186 +web-applications 1.187 +libgsf 1.188 +netsurf 1.189 +viewnior 1.190 +sudoku-savant 1.191 +desktop-file-utils 1.192 +xorg-server 1.193 +xorg-xf86-input-mouse 1.194 +xorg-xf86-input-keyboard 1.195 +xorg-xf86-video-vesa 1.196 +xorg-setxkbmap 1.197 +mhwaveedit 1.198 +osmo 1.199 +isomaster 1.200 +gcolor2 1.201 +lostirc 1.202 +gparted 1.203 +beaver 1.204 +lua 1.205 +epdfview
2.1 --- a/core/receipt Sat Dec 26 11:04:28 2009 +0100 2.2 +++ b/core/receipt Tue Feb 02 22:26:52 2010 +0100 2.3 @@ -1,11 +1,11 @@ 2.4 # SliTaz flavor receipt. 2.5 2.6 FLAVOR="core" 2.7 -SHORT_DESC="SliTaz core system" 2.8 -VERSION="20091104" 2.9 +SHORT_DESC="Core system with a full featured desktop." 2.10 +VERSION="20100202" 2.11 MAINTAINER="pankso@slitaz.org" 2.12 2.13 -FRUGAL_RAM="160M" 2.14 -ROOTFS_SIZE="104.6M" 2.15 -INITRAMFS_SIZE="28.7M" 2.16 -ISO_SIZE="31.5M" 2.17 +FRUGAL_RAM="128M" 2.18 +ROOTFS_SIZE="86.0M" 2.19 +INITRAMFS_SIZE="24.0M" 2.20 +ISO_SIZE="26.0M"
3.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 3.2 +++ b/core/rootfs/etc/lxpanel/default/panels/panel Tue Feb 02 22:26:52 2010 +0100 3.3 @@ -0,0 +1,185 @@ 3.4 +# lxpanel <profile> config file. Manually editing is not recommended. 3.5 +# Use preference dialog in lxpanel to adjust config when you can. 3.6 + 3.7 +Global { 3.8 + edge=bottom 3.9 + allign=center 3.10 + margin=0 3.11 + widthtype=percent 3.12 + width=100 3.13 + height=24 3.14 + transparent=1 3.15 + tintcolor=#000000 3.16 + alpha=0 3.17 + autohide=0 3.18 + heightwhenhidden=2 3.19 + setdocktype=1 3.20 + setpartialstrut=1 3.21 + usefontcolor=1 3.22 + fontcolor=#ffffff 3.23 + background=0 3.24 + backgroundfile=/usr/share/lxpanel/images/background.png 3.25 + iconsize=24 3.26 +} 3.27 + 3.28 +Plugin { 3.29 + type = space 3.30 + Config { 3.31 + Size=4 3.32 + } 3.33 +} 3.34 + 3.35 +Plugin { 3.36 + type = menu 3.37 + Config { 3.38 + image=/usr/share/pixmaps/slitaz-menu.png 3.39 + system { 3.40 + } 3.41 + separator { 3.42 + } 3.43 + item { 3.44 + image=/usr/share/icons/SliTaz/16x16/categories/applications-system.png 3.45 + command=run 3.46 + } 3.47 + separator { 3.48 + } 3.49 + item { 3.50 + image=/usr/share/pixmaps/logout.png 3.51 + command=logout 3.52 + } 3.53 + } 3.54 +} 3.55 + 3.56 +Plugin { 3.57 + type = space 3.58 + Config { 3.59 + Size=4 3.60 + } 3.61 +} 3.62 + 3.63 +Plugin { 3.64 + type = launchbar 3.65 + Config { 3.66 + Button { 3.67 + id=xterm.desktop 3.68 + } 3.69 + Button { 3.70 + id=netsurf.desktop 3.71 + } 3.72 + } 3.73 +} 3.74 + 3.75 +Plugin { 3.76 + type = pager 3.77 +} 3.78 + 3.79 +Plugin { 3.80 + type = wincmd 3.81 + Config { 3.82 + image=window-manager 3.83 + Button1=iconify 3.84 + Button2=shade 3.85 + Toggle=0 3.86 + } 3.87 +} 3.88 + 3.89 +Plugin { 3.90 + type = taskbar 3.91 + expand=1 3.92 + Config { 3.93 + tooltips=1 3.94 + IconsOnly=0 3.95 + ShowAllDesks=0 3.96 + UseMouseWheel=1 3.97 + UseUrgencyHint=1 3.98 + FlatButton=1 3.99 + MaxTaskWidth=200 3.100 + spacing=1 3.101 + GroupedTasks=0 3.102 + } 3.103 +} 3.104 + 3.105 +Plugin { 3.106 + type = space 3.107 + Config { 3.108 + Size=4 3.109 + } 3.110 +} 3.111 + 3.112 +Plugin { 3.113 + type = tray 3.114 +} 3.115 + 3.116 +Plugin { 3.117 + type = volumealsa 3.118 +} 3.119 + 3.120 +Plugin { 3.121 + type = space 3.122 + Config { 3.123 + Size=4 3.124 + } 3.125 +} 3.126 + 3.127 +Plugin { 3.128 + type = netstatus 3.129 + Config { 3.130 + iface=eth0 3.131 + configtool=subox netbox %i 3.132 + } 3.133 +} 3.134 + 3.135 +Plugin { 3.136 + type = space 3.137 + Config { 3.138 + Size=4 3.139 + } 3.140 +} 3.141 + 3.142 +Plugin { 3.143 + type = batt 3.144 + Config { 3.145 + HideIfNoBattery=0 3.146 + AlarmCommand=xmessage Battery low 3.147 + AlarmTime=5 3.148 + BackgroundColor=black 3.149 + BorderWidth=1 3.150 + ChargingColor1=#28f200 3.151 + ChargingColor2=#22cc00 3.152 + DischargingColor1=#ffee00 3.153 + DischargingColor2=#d9ca00 3.154 + Size=8 3.155 + } 3.156 +} 3.157 + 3.158 +Plugin { 3.159 + type = cpu 3.160 +} 3.161 + 3.162 +Plugin { 3.163 + type = space 3.164 + Config { 3.165 + Size=2 3.166 + } 3.167 +} 3.168 + 3.169 +Plugin { 3.170 + type = launchbar 3.171 + Config { 3.172 + Button { 3.173 + id=tazpkgbox.desktop 3.174 + } 3.175 + } 3.176 +} 3.177 + 3.178 +Plugin { 3.179 + type = dclock 3.180 + Config { 3.181 + ClockFmt=%R 3.182 + TooltipFmt=%A %x 3.183 + Action=desktopbox calendar 3.184 + BoldFont=0 3.185 + IconOnly=0 3.186 + } 3.187 +} 3.188 +
4.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 4.2 +++ b/core/rootfs/etc/skel/.Xdefaults Tue Feb 02 22:26:52 2010 +0100 4.3 @@ -0,0 +1,20 @@ 4.4 +!~/.Xdefault: Control the behavior of x-clients. 4.5 +! 4.6 + 4.7 +! Xcursor theme (~/.icons). 4.8 +! 4.9 +Xcursor.theme: slitaz-polar 4.10 + 4.11 +! XTerm settings. 4.12 +! 4.13 +xterm*background: black 4.14 +xterm*foreground: white 4.15 +xterm*cursorColor: #6AA2D8 4.16 +xterm*scrollBar: off 4.17 +xterm*faceName: DejaVu Sans Mono 4.18 +xterm*faceSize: 9 4.19 + 4.20 +! Xload settings. 4.21 +! 4.22 +!xload*background: black 4.23 +!xload*foreground: lightblue
5.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 5.2 +++ b/core/rootfs/etc/skel/.config/pcmanfm/main Tue Feb 02 22:26:52 2010 +0100 5.3 @@ -0,0 +1,15 @@ 5.4 +[General] 5.5 +big_icon_size=32 5.6 +terminal=xterm 5.7 + 5.8 +[Window] 5.9 +width=640 5.10 +height=480 5.11 +splitter_pos=160 5.12 +maximized=0 5.13 + 5.14 +[Desktop] 5.15 +show_desktop=1 5.16 +show_wallpaper=1 5.17 +wallpaper=/usr/share/images/slitaz-background.jpg 5.18 +show_wm_menu=0
6.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 6.2 +++ b/core/rootfs/etc/skel/.gtkrc-2.0 Tue Feb 02 22:26:52 2010 +0100 6.3 @@ -0,0 +1,13 @@ 6.4 +# ~/.gtkrc-2.0 - GTK+ theme, icon and font configuration. 6.5 +# 6.6 +# System files : /usr/share/{themes,icons,fonts} 6.7 +# Personal files : ~/.icons and ~/.fonts 6.8 +# 6.9 + 6.10 +gtk-theme-name = "SliTaz" 6.11 +#gtk-theme-name = "Clearlooks-DeepSky" 6.12 +#gtk-theme-name = "Clearlooks-Olive" 6.13 + 6.14 +gtk-icon-theme-name = "SliTaz" 6.15 + 6.16 +gtk-font-name = "DejaVu Sans 9"
7.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 7.2 +++ b/core/rootfs/etc/skel/.netsurf/Choices Tue Feb 02 22:26:52 2010 +0100 7.3 @@ -0,0 +1,64 @@ 7.4 +http_proxy:0 7.5 +http_proxy_host: 7.6 +http_proxy_port:8080 7.7 +http_proxy_auth:0 7.8 +http_proxy_auth_user: 7.9 +http_proxy_auth_pass: 7.10 +font_size:128 7.11 +font_min_size:85 7.12 +font_sans:Sans 7.13 +font_serif:Serif 7.14 +font_mono:Monospace 7.15 +font_cursive:Serif 7.16 +font_fantasy:Serif 7.17 +accept_language: 7.18 +accept_charset: 7.19 +memory_cache_size:2097152 7.20 +disc_cache_age:28 7.21 +block_advertisements:0 7.22 +minimum_gif_delay:10 7.23 +send_referer:1 7.24 +animate_images:1 7.25 +expire_url:28 7.26 +font_default:1 7.27 +ca_bundle: 7.28 +ca_path:/etc/ssl/certs 7.29 +homepage_url:file:///usr/share/webhome/netsurf.html 7.30 +url_suggestion:1 7.31 +window_x:40 7.32 +window_y:40 7.33 +window_width:800 7.34 +window_height:600 7.35 +window_screen_width:0 7.36 +window_screen_height:0 7.37 +toolbar_status_size:0 7.38 +scale:100 7.39 +incremental_reflow:1 7.40 +min_reflow_period:25 7.41 +max_fetchers:24 7.42 +max_fetchers_per_host:5 7.43 +max_cached_fetch_handles:6 7.44 +suppress_curl_debug:1 7.45 +target_blank:1 7.46 +button_2_tab:1 7.47 +margin_top:10 7.48 +margin_bottom:10 7.49 +margin_left:10 7.50 +margin_right:10 7.51 +export_scale:70 7.52 +suppress_images:0 7.53 +remove_backgrounds:0 7.54 +enable_loosening:1 7.55 +enable_PDF_compression:1 7.56 +enable_PDF_password:0 7.57 +render_resample:0 7.58 +downloads_clear:0 7.59 +request_overwrite:1 7.60 +show_single_tab:0 7.61 +button_type:1 7.62 +disable_popups:0 7.63 +disable_plugins:0 7.64 +history_age:0 7.65 +hover_urls:0 7.66 +focus_new:0 7.67 +new_blank:0
8.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 8.2 +++ b/core/rootfs/etc/skel/Desktop/slitaz-doc.desktop Tue Feb 02 22:26:52 2010 +0100 8.3 @@ -0,0 +1,5 @@ 8.4 +[Desktop Entry] 8.5 +Name=Documentation 8.6 +Exec=browser file:///usr/share/doc/slitaz/index.html 8.7 +Icon=slitaz-doc.png 8.8 +Type=Application
9.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 9.2 +++ b/core/rootfs/etc/slitaz/applications.conf Tue Feb 02 22:26:52 2010 +0100 9.3 @@ -0,0 +1,18 @@ 9.4 +# SliTaz default applications configuration file. Thes apps can be 9.5 +# started throught wrappers: browser, editor and terminal. 9.6 +# 9.7 + 9.8 +# File manager. 9.9 +FILE_MANAGER="pcmanfm" 9.10 + 9.11 +# Web browser. 9.12 +BROWSER="netsurf" 9.13 + 9.14 +# Text editor. 9.15 +EDITOR="leafpad" 9.16 + 9.17 +# X terminal. 9.18 +TERMINAL="xterm" 9.19 + 9.20 +# Window manager. 9.21 +WINDOW_MANAGER="openbox"
10.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 10.2 +++ b/core/rootfs/etc/xdg/openbox/rc.xml Tue Feb 02 22:26:52 2010 +0100 10.3 @@ -0,0 +1,699 @@ 10.4 +<?xml version="1.0" encoding="UTF-8"?> 10.5 +<!-- Do not edit this file, it will be overwritten on install. 10.6 + Copy the file to $HOME/.config/openbox/ instead. --> 10.7 +<openbox_config xmlns="http://openbox.org/3.4/rc"> 10.8 + <resistance> 10.9 + <strength>10</strength> 10.10 + <screen_edge_strength>20</screen_edge_strength> 10.11 + </resistance> 10.12 + <focus> 10.13 + <focusNew>yes</focusNew> 10.14 + <!-- always try to focus new windows when they appear. other rules do 10.15 + apply --> 10.16 + <followMouse>no</followMouse> 10.17 + <!-- move focus to a window when you move the mouse into it --> 10.18 + <focusLast>yes</focusLast> 10.19 + <!-- focus the last used window when changing desktops, instead of the one 10.20 + under the mouse pointer. when followMouse is enabled --> 10.21 + <underMouse>no</underMouse> 10.22 + <!-- move focus under the mouse, even when the mouse is not moving --> 10.23 + <focusDelay>200</focusDelay> 10.24 + <!-- when followMouse is enabled, the mouse must be inside the window for 10.25 + this many milliseconds (1000 = 1 sec) before moving focus to it --> 10.26 + <raiseOnFocus>no</raiseOnFocus> 10.27 + <!-- when followMouse is enabled, and a window is given focus by moving the 10.28 + mouse into it, also raise the window --> 10.29 + </focus> 10.30 + <placement> 10.31 + <policy>Smart</policy> 10.32 + <!-- 'Smart' or 'UnderMouse' --> 10.33 + <center>yes</center> 10.34 + <!-- whether to place windows in the center of the free area found or 10.35 + the top left corner --> 10.36 + <monitor>Any</monitor> 10.37 + <!-- with Smart placement on a multi-monitor system, try to place new windows 10.38 + on: 'Any' - any monitor, 'Mouse' - where the mouse is, 'Active' - where 10.39 + the active window is --> 10.40 + </placement> 10.41 + <theme> 10.42 + <name>SliTaz</name> 10.43 + <titleLayout>NLIMC</titleLayout> 10.44 + <!-- 10.45 + available characters are NDSLIMC, each can occur at most once. 10.46 + N: window icon 10.47 + L: window label (AKA title). 10.48 + I: iconify 10.49 + M: maximize 10.50 + C: close 10.51 + S: shade (roll up/down) 10.52 + D: omnipresent (on all desktops). 10.53 + --> 10.54 + <keepBorder>yes</keepBorder> 10.55 + <animateIconify>yes</animateIconify> 10.56 + <font place="ActiveWindow"> 10.57 + <name>Sans</name> 10.58 + <size>8</size> 10.59 + <!-- font size in points --> 10.60 + <weight>Bold</weight> 10.61 + <!-- 'bold' or 'normal' --> 10.62 + <slant>Normal</slant> 10.63 + <!-- 'italic' or 'normal' --> 10.64 + </font> 10.65 + <font place="InactiveWindow"> 10.66 + <name>Sans</name> 10.67 + <size>8</size> 10.68 + <!-- font size in points --> 10.69 + <weight>Bold</weight> 10.70 + <!-- 'bold' or 'normal' --> 10.71 + <slant>Normal</slant> 10.72 + <!-- 'italic' or 'normal' --> 10.73 + </font> 10.74 + <font place="MenuHeader"> 10.75 + <name>Sans</name> 10.76 + <size>10</size> 10.77 + <!-- font size in points --> 10.78 + <weight>Normal</weight> 10.79 + <!-- 'bold' or 'normal' --> 10.80 + <slant>Normal</slant> 10.81 + <!-- 'italic' or 'normal' --> 10.82 + </font> 10.83 + <font place="MenuItem"> 10.84 + <name>Sans</name> 10.85 + <size>9</size> 10.86 + <!-- font size in points --> 10.87 + <weight>Normal</weight> 10.88 + <!-- 'bold' or 'normal' --> 10.89 + <slant>Normal</slant> 10.90 + <!-- 'italic' or 'normal' --> 10.91 + </font> 10.92 + <font place="OnScreenDisplay"> 10.93 + <name>sans</name> 10.94 + <size>9</size> 10.95 + <!-- font size in points --> 10.96 + <weight>bold</weight> 10.97 + <!-- 'bold' or 'normal' --> 10.98 + <slant>normal</slant> 10.99 + <!-- 'italic' or 'normal' --> 10.100 + </font> 10.101 + </theme> 10.102 + <desktops> 10.103 + <!-- this stuff is only used at startup, pagers allow you to change them 10.104 + during a session 10.105 + 10.106 + these are default values to use when other ones are not already set 10.107 + by other applications, or saved in your session 10.108 + 10.109 + use obconf if you want to change these without having to log out 10.110 + and back in --> 10.111 + <number>2</number> 10.112 + <firstdesk>1</firstdesk> 10.113 + <names> 10.114 + <!-- set names up here if you want to, like this: 10.115 + <name>desktop 1</name> 10.116 + <name>desktop 2</name> 10.117 + --> 10.118 + </names> 10.119 + <popupTime>875</popupTime> 10.120 + <!-- The number of milliseconds to show the popup for when switching 10.121 + desktops. Set this to 0 to disable the popup. --> 10.122 + </desktops> 10.123 + <resize> 10.124 + <drawContents>yes</drawContents> 10.125 + <popupShow>Nonpixel</popupShow> 10.126 + <!-- 'Always', 'Never', or 'Nonpixel' (xterms and such) --> 10.127 + <popupPosition>Center</popupPosition> 10.128 + <!-- 'Center', 'Top', or 'Fixed' --> 10.129 + <popupFixedPosition> 10.130 + <!-- these are used if popupPosition is set to 'Fixed' --> 10.131 + <x>10</x> 10.132 + <!-- positive number for distance from left edge, negative number for 10.133 + distance from right edge, or 'Center' --> 10.134 + <y>10</y> 10.135 + <!-- positive number for distance from top edge, negative number for 10.136 + distance from bottom edge, or 'Center' --> 10.137 + </popupFixedPosition> 10.138 + </resize> 10.139 + <!-- You can reserve a portion of your screen where windows will not cover when 10.140 + they are maximized, or when they are initially placed. 10.141 + Many programs reserve space automatically, but you can use this in other 10.142 + cases. --> 10.143 + <margins> 10.144 + <top>0</top> 10.145 + <bottom>0</bottom> 10.146 + <left>0</left> 10.147 + <right>0</right> 10.148 + </margins> 10.149 + <dock> 10.150 + <position>TopLeft</position> 10.151 + <!-- (Top|Bottom)(Left|Right|)|Top|Bottom|Left|Right|Floating --> 10.152 + <floatingX>0</floatingX> 10.153 + <floatingY>0</floatingY> 10.154 + <noStrut>no</noStrut> 10.155 + <stacking>Above</stacking> 10.156 + <!-- 'Above', 'Normal', or 'Below' --> 10.157 + <direction>Vertical</direction> 10.158 + <!-- 'Vertical' or 'Horizontal' --> 10.159 + <autoHide>no</autoHide> 10.160 + <hideDelay>300</hideDelay> 10.161 + <!-- in milliseconds (1000 = 1 second) --> 10.162 + <showDelay>300</showDelay> 10.163 + <!-- in milliseconds (1000 = 1 second) --> 10.164 + <moveButton>Middle</moveButton> 10.165 + <!-- 'Left', 'Middle', 'Right' --> 10.166 + </dock> 10.167 + <keyboard> 10.168 + <chainQuitKey>C-g</chainQuitKey> 10.169 + <!-- Keybindings for desktop switching --> 10.170 + <keybind key="C-A-Left"> 10.171 + <action name="DesktopLeft"> 10.172 + <dialog>no</dialog> 10.173 + <wrap>no</wrap> 10.174 + </action> 10.175 + </keybind> 10.176 + <keybind key="C-A-Right"> 10.177 + <action name="DesktopRight"> 10.178 + <dialog>no</dialog> 10.179 + <wrap>no</wrap> 10.180 + </action> 10.181 + </keybind> 10.182 + <keybind key="C-A-Up"> 10.183 + <action name="DesktopUp"> 10.184 + <dialog>no</dialog> 10.185 + <wrap>no</wrap> 10.186 + </action> 10.187 + </keybind> 10.188 + <keybind key="C-A-Down"> 10.189 + <action name="DesktopDown"> 10.190 + <dialog>no</dialog> 10.191 + <wrap>no</wrap> 10.192 + </action> 10.193 + </keybind> 10.194 + <keybind key="S-A-Left"> 10.195 + <action name="SendToDesktopLeft"> 10.196 + <dialog>no</dialog> 10.197 + <wrap>no</wrap> 10.198 + </action> 10.199 + </keybind> 10.200 + <keybind key="S-A-Right"> 10.201 + <action name="SendToDesktopRight"> 10.202 + <dialog>no</dialog> 10.203 + <wrap>no</wrap> 10.204 + </action> 10.205 + </keybind> 10.206 + <keybind key="S-A-Up"> 10.207 + <action name="SendToDesktopUp"> 10.208 + <dialog>no</dialog> 10.209 + <wrap>no</wrap> 10.210 + </action> 10.211 + </keybind> 10.212 + <keybind key="S-A-Down"> 10.213 + <action name="SendToDesktopDown"> 10.214 + <dialog>no</dialog> 10.215 + <wrap>no</wrap> 10.216 + </action> 10.217 + </keybind> 10.218 + <keybind key="W-F1"> 10.219 + <action name="Desktop"> 10.220 + <desktop>1</desktop> 10.221 + </action> 10.222 + </keybind> 10.223 + <keybind key="W-F2"> 10.224 + <action name="Desktop"> 10.225 + <desktop>2</desktop> 10.226 + </action> 10.227 + </keybind> 10.228 + <keybind key="W-F3"> 10.229 + <action name="Desktop"> 10.230 + <desktop>3</desktop> 10.231 + </action> 10.232 + </keybind> 10.233 + <keybind key="W-F4"> 10.234 + <action name="Desktop"> 10.235 + <desktop>4</desktop> 10.236 + </action> 10.237 + </keybind> 10.238 + <keybind key="W-d"> 10.239 + <action name="ToggleShowDesktop"/> 10.240 + </keybind> 10.241 + <!-- Keybindings for windows --> 10.242 + <keybind key="A-F4"> 10.243 + <action name="Close"/> 10.244 + </keybind> 10.245 + <keybind key="A-Escape"> 10.246 + <action name="Lower"/> 10.247 + <action name="FocusToBottom"/> 10.248 + <action name="Unfocus"/> 10.249 + </keybind> 10.250 + <keybind key="A-space"> 10.251 + <action name="ShowMenu"> 10.252 + <menu>client-menu</menu> 10.253 + </action> 10.254 + </keybind> 10.255 + <!-- Keybindings for window switching --> 10.256 + <keybind key="A-Tab"> 10.257 + <action name="NextWindow"/> 10.258 + </keybind> 10.259 + <keybind key="A-S-Tab"> 10.260 + <action name="PreviousWindow"/> 10.261 + </keybind> 10.262 + <keybind key="C-A-Tab"> 10.263 + <action name="NextWindow"> 10.264 + <panels>yes</panels> 10.265 + <desktop>yes</desktop> 10.266 + </action> 10.267 + </keybind> 10.268 + <!-- Keybindings for running applications --> 10.269 + <keybind key="W-e"> 10.270 + <action name="Execute"> 10.271 + <startupnotify> 10.272 + <enabled>true</enabled> 10.273 + <name>App Launcher</name> 10.274 + </startupnotify> 10.275 + <command>lxpanelctl run</command> 10.276 + </action> 10.277 + </keybind> 10.278 + </keyboard> 10.279 + <mouse> 10.280 + <dragThreshold>8</dragThreshold> 10.281 + <!-- number of pixels the mouse must move before a drag begins --> 10.282 + <doubleClickTime>200</doubleClickTime> 10.283 + <!-- in milliseconds (1000 = 1 second) --> 10.284 + <screenEdgeWarpTime>400</screenEdgeWarpTime> 10.285 + <!-- Time before changing desktops when the pointer touches the edge of the 10.286 + screen while moving a window, in milliseconds (1000 = 1 second). 10.287 + Set this to 0 to disable warping --> 10.288 + <context name="Frame"> 10.289 + <mousebind button="A-Left" action="Press"> 10.290 + <action name="Focus"/> 10.291 + <action name="Raise"/> 10.292 + </mousebind> 10.293 + <mousebind button="A-Left" action="Click"> 10.294 + <action name="Unshade"/> 10.295 + </mousebind> 10.296 + <mousebind button="A-Left" action="Drag"> 10.297 + <action name="Move"/> 10.298 + </mousebind> 10.299 + <mousebind button="A-Right" action="Press"> 10.300 + <action name="Focus"/> 10.301 + <action name="Raise"/> 10.302 + <action name="Unshade"/> 10.303 + </mousebind> 10.304 + <mousebind button="A-Right" action="Drag"> 10.305 + <action name="Resize"/> 10.306 + </mousebind> 10.307 + <mousebind button="A-Middle" action="Press"> 10.308 + <action name="Lower"/> 10.309 + <action name="FocusToBottom"/> 10.310 + <action name="Unfocus"/> 10.311 + </mousebind> 10.312 + <mousebind button="A-Up" action="Click"> 10.313 + <action name="DesktopPrevious"/> 10.314 + </mousebind> 10.315 + <mousebind button="A-Down" action="Click"> 10.316 + <action name="DesktopNext"/> 10.317 + </mousebind> 10.318 + <mousebind button="C-A-Up" action="Click"> 10.319 + <action name="DesktopPrevious"/> 10.320 + </mousebind> 10.321 + <mousebind button="C-A-Down" action="Click"> 10.322 + <action name="DesktopNext"/> 10.323 + </mousebind> 10.324 + <mousebind button="A-S-Up" action="Click"> 10.325 + <action name="SendToDesktopPrevious"/> 10.326 + </mousebind> 10.327 + <mousebind button="A-S-Down" action="Click"> 10.328 + <action name="SendToDesktopNext"/> 10.329 + </mousebind> 10.330 + </context> 10.331 + <context name="Titlebar"> 10.332 + <mousebind button="Left" action="Press"> 10.333 + <action name="Focus"/> 10.334 + <action name="Raise"/> 10.335 + </mousebind> 10.336 + <mousebind button="Left" action="Drag"> 10.337 + <action name="Move"/> 10.338 + </mousebind> 10.339 + <mousebind button="Left" action="DoubleClick"> 10.340 + <action name="ToggleMaximizeFull"/> 10.341 + </mousebind> 10.342 + <mousebind button="Middle" action="Press"> 10.343 + <action name="Lower"/> 10.344 + <action name="FocusToBottom"/> 10.345 + <action name="Unfocus"/> 10.346 + </mousebind> 10.347 + <mousebind button="Up" action="Click"> 10.348 + <action name="Shade"/> 10.349 + <action name="FocusToBottom"/> 10.350 + <action name="Unfocus"/> 10.351 + <action name="Lower"/> 10.352 + </mousebind> 10.353 + <mousebind button="Down" action="Click"> 10.354 + <action name="Unshade"/> 10.355 + <action name="Raise"/> 10.356 + </mousebind> 10.357 + <mousebind button="Right" action="Press"> 10.358 + <action name="Focus"/> 10.359 + <action name="Raise"/> 10.360 + <action name="ShowMenu"> 10.361 + <menu>client-menu</menu> 10.362 + </action> 10.363 + </mousebind> 10.364 + </context> 10.365 + <context name="Top"> 10.366 + <mousebind button="Left" action="Press"> 10.367 + <action name="Focus"/> 10.368 + <action name="Raise"/> 10.369 + <action name="Unshade"/> 10.370 + </mousebind> 10.371 + <mousebind button="Left" action="Drag"> 10.372 + <action name="Resize"> 10.373 + <edge>top</edge> 10.374 + </action> 10.375 + </mousebind> 10.376 + </context> 10.377 + <context name="Left"> 10.378 + <mousebind button="Left" action="Press"> 10.379 + <action name="Focus"/> 10.380 + <action name="Raise"/> 10.381 + </mousebind> 10.382 + <mousebind button="Left" action="Drag"> 10.383 + <action name="Resize"> 10.384 + <edge>left</edge> 10.385 + </action> 10.386 + </mousebind> 10.387 + </context> 10.388 + <context name="Right"> 10.389 + <mousebind button="Left" action="Press"> 10.390 + <action name="Focus"/> 10.391 + <action name="Raise"/> 10.392 + </mousebind> 10.393 + <mousebind button="Left" action="Drag"> 10.394 + <action name="Resize"> 10.395 + <edge>right</edge> 10.396 + </action> 10.397 + </mousebind> 10.398 + </context> 10.399 + <context name="Bottom"> 10.400 + <mousebind button="Left" action="Press"> 10.401 + <action name="Focus"/> 10.402 + <action name="Raise"/> 10.403 + </mousebind> 10.404 + <mousebind button="Left" action="Drag"> 10.405 + <action name="Resize"> 10.406 + <edge>bottom</edge> 10.407 + </action> 10.408 + </mousebind> 10.409 + <mousebind button="Middle" action="Press"> 10.410 + <action name="Lower"/> 10.411 + <action name="FocusToBottom"/> 10.412 + <action name="Unfocus"/> 10.413 + </mousebind> 10.414 + <mousebind button="Right" action="Press"> 10.415 + <action name="Focus"/> 10.416 + <action name="Raise"/> 10.417 + <action name="ShowMenu"> 10.418 + <menu>client-menu</menu> 10.419 + </action> 10.420 + </mousebind> 10.421 + </context> 10.422 + <context name="BLCorner"> 10.423 + <mousebind button="Left" action="Press"> 10.424 + <action name="Focus"/> 10.425 + <action name="Raise"/> 10.426 + </mousebind> 10.427 + <mousebind button="Left" action="Drag"> 10.428 + <action name="Resize"/> 10.429 + </mousebind> 10.430 + </context> 10.431 + <context name="BRCorner"> 10.432 + <mousebind button="Left" action="Press"> 10.433 + <action name="Focus"/> 10.434 + <action name="Raise"/> 10.435 + </mousebind> 10.436 + <mousebind button="Left" action="Drag"> 10.437 + <action name="Resize"/> 10.438 + </mousebind> 10.439 + </context> 10.440 + <context name="TLCorner"> 10.441 + <mousebind button="Left" action="Press"> 10.442 + <action name="Focus"/> 10.443 + <action name="Raise"/> 10.444 + <action name="Unshade"/> 10.445 + </mousebind> 10.446 + <mousebind button="Left" action="Drag"> 10.447 + <action name="Resize"/> 10.448 + </mousebind> 10.449 + </context> 10.450 + <context name="TRCorner"> 10.451 + <mousebind button="Left" action="Press"> 10.452 + <action name="Focus"/> 10.453 + <action name="Raise"/> 10.454 + <action name="Unshade"/> 10.455 + </mousebind> 10.456 + <mousebind button="Left" action="Drag"> 10.457 + <action name="Resize"/> 10.458 + </mousebind> 10.459 + </context> 10.460 + <context name="Client"> 10.461 + <mousebind button="Left" action="Press"> 10.462 + <action name="Focus"/> 10.463 + <action name="Raise"/> 10.464 + </mousebind> 10.465 + <mousebind button="Middle" action="Press"> 10.466 + <action name="Focus"/> 10.467 + <action name="Raise"/> 10.468 + </mousebind> 10.469 + <mousebind button="Right" action="Press"> 10.470 + <action name="Focus"/> 10.471 + <action name="Raise"/> 10.472 + </mousebind> 10.473 + </context> 10.474 + <context name="Icon"> 10.475 + <mousebind button="Left" action="Press"> 10.476 + <action name="Focus"/> 10.477 + <action name="Raise"/> 10.478 + <action name="Unshade"/> 10.479 + <action name="ShowMenu"> 10.480 + <menu>client-menu</menu> 10.481 + </action> 10.482 + </mousebind> 10.483 + <mousebind button="Right" action="Press"> 10.484 + <action name="Focus"/> 10.485 + <action name="Raise"/> 10.486 + <action name="ShowMenu"> 10.487 + <menu>client-menu</menu> 10.488 + </action> 10.489 + </mousebind> 10.490 + </context> 10.491 + <context name="AllDesktops"> 10.492 + <mousebind button="Left" action="Press"> 10.493 + <action name="Focus"/> 10.494 + <action name="Raise"/> 10.495 + <action name="Unshade"/> 10.496 + </mousebind> 10.497 + <mousebind button="Left" action="Click"> 10.498 + <action name="ToggleOmnipresent"/> 10.499 + </mousebind> 10.500 + </context> 10.501 + <context name="Shade"> 10.502 + <mousebind button="Left" action="Press"> 10.503 + <action name="Focus"/> 10.504 + <action name="Raise"/> 10.505 + </mousebind> 10.506 + <mousebind button="Left" action="Click"> 10.507 + <action name="ToggleShade"/> 10.508 + </mousebind> 10.509 + </context> 10.510 + <context name="Iconify"> 10.511 + <mousebind button="Left" action="Press"> 10.512 + <action name="Focus"/> 10.513 + <action name="Raise"/> 10.514 + </mousebind> 10.515 + <mousebind button="Left" action="Click"> 10.516 + <action name="Iconify"/> 10.517 + </mousebind> 10.518 + </context> 10.519 + <context name="Maximize"> 10.520 + <mousebind button="Left" action="Press"> 10.521 + <action name="Focus"/> 10.522 + <action name="Raise"/> 10.523 + <action name="Unshade"/> 10.524 + </mousebind> 10.525 + <mousebind button="Middle" action="Press"> 10.526 + <action name="Focus"/> 10.527 + <action name="Raise"/> 10.528 + <action name="Unshade"/> 10.529 + </mousebind> 10.530 + <mousebind button="Right" action="Press"> 10.531 + <action name="Focus"/> 10.532 + <action name="Raise"/> 10.533 + <action name="Unshade"/> 10.534 + </mousebind> 10.535 + <mousebind button="Left" action="Click"> 10.536 + <action name="ToggleMaximizeFull"/> 10.537 + </mousebind> 10.538 + <mousebind button="Middle" action="Click"> 10.539 + <action name="ToggleMaximizeVert"/> 10.540 + </mousebind> 10.541 + <mousebind button="Right" action="Click"> 10.542 + <action name="ToggleMaximizeHorz"/> 10.543 + </mousebind> 10.544 + </context> 10.545 + <context name="Close"> 10.546 + <mousebind button="Left" action="Press"> 10.547 + <action name="Focus"/> 10.548 + <action name="Raise"/> 10.549 + <action name="Unshade"/> 10.550 + </mousebind> 10.551 + <mousebind button="Left" action="Click"> 10.552 + <action name="Close"/> 10.553 + </mousebind> 10.554 + </context> 10.555 + <context name="Desktop"> 10.556 + <mousebind button="Up" action="Click"> 10.557 + <action name="DesktopPrevious"/> 10.558 + </mousebind> 10.559 + <mousebind button="Down" action="Click"> 10.560 + <action name="DesktopNext"/> 10.561 + </mousebind> 10.562 + <mousebind button="A-Up" action="Click"> 10.563 + <action name="DesktopPrevious"/> 10.564 + </mousebind> 10.565 + <mousebind button="A-Down" action="Click"> 10.566 + <action name="DesktopNext"/> 10.567 + </mousebind> 10.568 + <mousebind button="C-A-Up" action="Click"> 10.569 + <action name="DesktopPrevious"/> 10.570 + </mousebind> 10.571 + <mousebind button="C-A-Down" action="Click"> 10.572 + <action name="DesktopNext"/> 10.573 + </mousebind> 10.574 + <mousebind button="Left" action="Press"> 10.575 + <action name="Focus"/> 10.576 + <action name="Raise"/> 10.577 + </mousebind> 10.578 + <mousebind button="Right" action="Press"> 10.579 + <action name="Focus"/> 10.580 + <action name="Raise"/> 10.581 + </mousebind> 10.582 + </context> 10.583 + <context name="Root"> 10.584 + <!-- Menus --> 10.585 + <mousebind button="Middle" action="Press"> 10.586 + <action name="ShowMenu"> 10.587 + <menu>client-list-combined-menu</menu> 10.588 + </action> 10.589 + </mousebind> 10.590 + <mousebind button="Right" action="Press"> 10.591 + <action name="ShowMenu"> 10.592 + <menu>root-menu</menu> 10.593 + </action> 10.594 + </mousebind> 10.595 + </context> 10.596 + <context name="MoveResize"> 10.597 + <mousebind button="Up" action="Click"> 10.598 + <action name="DesktopPrevious"/> 10.599 + </mousebind> 10.600 + <mousebind button="Down" action="Click"> 10.601 + <action name="DesktopNext"/> 10.602 + </mousebind> 10.603 + <mousebind button="A-Up" action="Click"> 10.604 + <action name="DesktopPrevious"/> 10.605 + </mousebind> 10.606 + <mousebind button="A-Down" action="Click"> 10.607 + <action name="DesktopNext"/> 10.608 + </mousebind> 10.609 + </context> 10.610 + </mouse> 10.611 + <menu> 10.612 + <!-- You can specify more than one menu file in here and they are all loaded, 10.613 + just don't make menu ids clash or, well, it'll be kind of pointless --> 10.614 + <!-- default menu file (or custom one in $HOME/.config/openbox/) --> 10.615 + <file>menu.xml</file> 10.616 + <hideDelay>200</hideDelay> 10.617 + <!-- if a press-release lasts longer than this setting (in milliseconds), the 10.618 + menu is hidden again --> 10.619 + <middle>no</middle> 10.620 + <!-- center submenus vertically about the parent entry --> 10.621 + <submenuShowDelay>100</submenuShowDelay> 10.622 + <!-- this one is easy, time to delay before showing a submenu after hovering 10.623 + over the parent entry --> 10.624 + <applicationIcons>yes</applicationIcons> 10.625 + <!-- controls if icons appear in the client-list-(combined-)menu --> 10.626 + <manageDesktops>yes</manageDesktops> 10.627 + <!-- show the manage desktops section in the client-list-(combined-)menu --> 10.628 + </menu> 10.629 + <applications> 10.630 + <!-- 10.631 + # this is an example with comments through out. use these to make your 10.632 + # own rules, but without the comments of course. 10.633 + 10.634 + <application name="first element of window's WM_CLASS property (see xprop)" 10.635 + class="second element of window's WM_CLASS property (see xprop)" 10.636 + role="the window's WM_WINDOW_ROLE property (see xprop)"> 10.637 + # the name or the class can be set, or both. this is used to match 10.638 + # windows when they appear. role can optionally be set as well, to 10.639 + # further restrict your matches. 10.640 + 10.641 + # the name, class, and role use simple wildcard matching such as those 10.642 + # used by a shell. you can use * to match any characters and ? to match 10.643 + # any single character. 10.644 + 10.645 + # when multiple rules match a window, they will all be applied, in the 10.646 + # order that they appear in this list 10.647 + 10.648 + 10.649 + # each element can be left out or set to 'default' to specify to not 10.650 + # change that attribute of the window 10.651 + 10.652 + <decor>yes</decor> 10.653 + # enable or disable window decorations 10.654 + 10.655 + <shade>no</shade> 10.656 + # make the window shaded when it appears, or not 10.657 + 10.658 + <position> 10.659 + # the position is only used if both an x and y coordinate are provided 10.660 + # (and not set to 'default') 10.661 + <x>center</x> 10.662 + # a number like 50, or 'center' to center on screen. use a negative number 10.663 + # to start from the right (or bottom for <y>), ie -50 is 50 pixels from the 10.664 + # right edge (or bottom). 10.665 + <y>200</y> 10.666 + <monitor>1</monitor> 10.667 + # specifies the monitor in a xinerama setup. 10.668 + # 1 is the first head, or 'mouse' for wherever the mouse is 10.669 + </position> 10.670 + 10.671 + <focus>yes</focus> 10.672 + # if the window should try be given focus when it appears. if this is set 10.673 + # to yes it doesn't guarantee the window will be given focus. some 10.674 + # restrictions may apply, but Openbox will try to 10.675 + 10.676 + <desktop>1</desktop> 10.677 + # 1 is the first desktop, 'all' for all desktops 10.678 + 10.679 + <layer>normal</layer> 10.680 + # 'above', 'normal', or 'below' 10.681 + 10.682 + <iconic>no</iconic> 10.683 + # make the window iconified when it appears, or not 10.684 + 10.685 + <skip_pager>no</skip_pager> 10.686 + # asks to not be shown in pagers 10.687 + 10.688 + <skip_taskbar>no</skip_taskbar> 10.689 + # asks to not be shown in taskbars. window cycling actions will also 10.690 + # skip past such windows 10.691 + 10.692 + <fullscreen>yes</fullscreen> 10.693 + # make the window in fullscreen mode when it appears 10.694 + 10.695 + <maximized>true</maximized> 10.696 + # 'Horizontal', 'Vertical' or boolean (yes/no) 10.697 + </application> 10.698 + 10.699 + # end of the example 10.700 +--> 10.701 + </applications> 10.702 +</openbox_config>
11.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 11.2 +++ b/core/rootfs/root/.Xdefaults Tue Feb 02 22:26:52 2010 +0100 11.3 @@ -0,0 +1,20 @@ 11.4 +!~/.Xdefault: Control the behavior of x-clients. 11.5 +! 11.6 + 11.7 +! Xcursor theme (~/.icons). 11.8 +! 11.9 +Xcursor.theme: slitaz-polar 11.10 + 11.11 +! XTerm settings. 11.12 +! 11.13 +xterm*background: black 11.14 +xterm*foreground: white 11.15 +xterm*cursorColor: #6AA2D8 11.16 +xterm*scrollBar: off 11.17 +xterm*faceName: DejaVu Sans Mono 11.18 +xterm*faceSize: 9 11.19 + 11.20 +! Xload settings. 11.21 +! 11.22 +!xload*background: black 11.23 +!xload*foreground: lightblue
12.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 12.2 +++ b/core/rootfs/root/.gtkrc-2.0 Tue Feb 02 22:26:52 2010 +0100 12.3 @@ -0,0 +1,13 @@ 12.4 +# ~/.gtkrc-2.0 - GTK+ theme, icon and font configuration. 12.5 +# 12.6 +# System files : /usr/share/{themes,icons,fonts} 12.7 +# Personal files : ~/.icons and ~/.fonts 12.8 +# 12.9 + 12.10 +gtk-theme-name = "SliTaz" 12.11 +#gtk-theme-name = "Clearlooks-DeepSky" 12.12 +#gtk-theme-name = "Clearlooks-Olive" 12.13 + 12.14 +gtk-icon-theme-name = "SliTaz" 12.15 + 12.16 +gtk-font-name = "DejaVu Sans 9"
13.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 13.2 +++ b/core/rootfs/sbin/tazlocale Tue Feb 02 22:26:52 2010 +0100 13.3 @@ -0,0 +1,137 @@ 13.4 +#!/bin/sh 13.5 +# 13.6 +# Tazlocale: SliTaz GNU/Linux locale setting using dialog boxes. 13.7 +# Configuration file is : /etc/locale.conf 13.8 +# 13.9 +# 20100201 <pankso@slitaz.org> - GNU gpl. 13.10 +# 13.11 + 13.12 +# Check if user is root. 13.13 +if test $(id -u) != 0; then 13.14 + echo -e "\nYou must be root to run `basename $0`!" 13.15 + echo -e "Type su and root password to become super-user.\n" 13.16 + exit 1 13.17 +fi 13.18 + 13.19 +get_messages() 13.20 +{ 13.21 + [ -f "/etc/locale.conf" ] && . /etc/locale.conf 13.22 + LANGUAGE=${LANG%_*} 13.23 + [ "$LANG" = "C" ] && LANGUAGE="en_US" 13.24 + case $LANGUAGE in 13.25 + fr*) 13.26 + RECONFIG_MSG=" 13.27 +Veuilliez fermer votre session et vous reloguer pour utiliser SliTaz \ 13.28 +avec la locale : $LANG" ;; 13.29 + *) 13.30 + RECONFIG_MSG=" 13.31 +Please logout of your current session and login again to use SliTaz \ 13.32 +with $LANG locale." ;; 13.33 + esac 13.34 +} 13.35 + 13.36 +# Create symlink to translated files provide by SliTaz language pack, 13.37 +# doc and config files. 13.38 +link_language_files() 13.39 +{ 13.40 + . /etc/locale.conf 13.41 + LANGUAGE=${LANG%_*} 13.42 + [ "$LANG" = "C" ] && LANGUAGE="en" 13.43 + # Openbox menu in /usr/share/doc/slitaz 13.44 + if [ -f /etc/xdg/openbox/menu.$LANGUAGE.xml ]; then 13.45 + cd /etc/xdg/openbox && rm -f menu.xml 13.46 + ln -s menu.$LANGUAGE.xml menu.xml 13.47 + fi 13.48 + # Documentation in /usr/share/doc/slitaz 13.49 + if [ -f /usr/share/doc/slitaz/index.$LANGUAGE.html ]; then 13.50 + cd /usr/share/doc/slitaz && rm -f index.html 13.51 + ln -s index.$LANGUAGE.html index.html 13.52 + fi 13.53 + # SliTaz Software Manuals 13.54 + for soft in tazpkg tazlito tazusb tazwok 13.55 + do 13.56 + if [ -f /usr/share/doc/$soft/$soft.$LANGUAGE.html ]; then 13.57 + cd /usr/share/doc/$soft && rm -f $soft.html 13.58 + ln -s $soft.$LANGUAGE.html $soft.html 13.59 + fi 13.60 + done 13.61 +} 13.62 + 13.63 +# Locale name displayed. 13.64 +get_locale_name() 13.65 +{ 13.66 + for i in `ls -1 /usr/share/i18n/locales/ | grep ^[a-z][a-z]_[A-Z][A-Z]` 13.67 + do 13.68 + #name=`locale -a -v | grep -A 2 "locale: $i" | grep "title" | \ 13.69 + # cut -d " " -f 7` 13.70 + echo "$i Locale" 13.71 + done 13.72 +} 13.73 + 13.74 +# We have no locale files in /usr/lib/locale by default. Run localedef in 13.75 +# background to have a faster boot. 13.76 +gen_utf8_locale() 13.77 +{ 13.78 + localedef -i $locale -c -f UTF-8 /usr/lib/locale/$locale & 13.79 +} 13.80 + 13.81 +# Dialog menu. 13.82 +dialog_menu() 13.83 +{ 13.84 + exec 3>&1 13.85 + locale=`$DIALOG --clear \ 13.86 + --title " SliTaz language configuration " \ 13.87 + --menu "" 15 70 5 \ 13.88 +"en" "English" \ 13.89 +$(get_locale_name) \ 13.90 +2>&1 1>&3` 13.91 + retval=$? 13.92 + exec 3>&- 13.93 + case $retval in 13.94 + 0) 13.95 + continue ;; 13.96 + 1) 13.97 + echo "Cancel pressed." 13.98 + exit 0 ;; 13.99 + 255) 13.100 + if test -n "$locale"; then 13.101 + echo "$locale" 13.102 + else 13.103 + echo "ESC pressed." 13.104 + exit 0 13.105 + fi ;; 13.106 + esac 13.107 + # Default: C = English 13.108 + [ "$locale" = "en" ] && locale="en_US" 13.109 + [ -s /etc/locale.conf ] && RECONFIG="yes" 13.110 + # System configuration 13.111 + echo "LANG=$locale" > /etc/locale.conf 13.112 + echo "LC_ALL=$locale" >> /etc/locale.conf 13.113 + export LANG=$locale LC_ALL=$locale 13.114 + gen_utf8_locale 13.115 + get_messages 13.116 + # If it's a reconfiguration give an info message. 13.117 + if [ -n "$RECONFIG" ]; then 13.118 + $DIALOG --clear \ 13.119 + --title " Information " \ 13.120 + --msgbox "$RECONFIG_MSG" 16 70 13.121 + fi 13.122 +} 13.123 + 13.124 +case "$1" in 13.125 + *_*) 13.126 + # Execute functions (can be called from an other apps). 13.127 + $1 ;; 13.128 + link-files) 13.129 + link_language_files ;; 13.130 + list) 13.131 + echo "" 13.132 + locale -a 13.133 + echo "" ;; 13.134 + *) 13.135 + : ${DIALOG=dialog} 13.136 + dialog_menu 13.137 + link_language_files ;; 13.138 +esac 13.139 + 13.140 +exit 0
14.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 14.2 +++ b/core/rootfs/usr/bin/slitaz-installer Tue Feb 02 22:26:52 2010 +0100 14.3 @@ -0,0 +1,1051 @@ 14.4 +#!/bin/sh 14.5 +# slitaz-installer - SliTaz GNU/Linux installer. 14.6 +# 14.7 +# So this is SliTaz installer using dialog boxes. All the comments are in 14.8 +# English but displayed messages are in French. The script starts with a 14.9 +# few main variables, then all the functions and then a sequence of functions. 14.10 +# 14.11 +# (C) 2007-2009 SliTaz - GNU General Public License v3. 14.12 +# 14.13 +# Author : Christophe Lincoln <pankso@slitaz.org> 14.14 +# 14.15 +VERSION=2.0 14.16 + 14.17 +: ${DIALOG=dialog} 14.18 + 14.19 +# We need to know cdrom device and kernel version string to copy files. 14.20 +DRIVE_NAME=`cat /proc/sys/dev/cdrom/info | grep "drive name" | cut -f 3` 14.21 +CDROM=/dev/$DRIVE_NAME 14.22 +KERNEL=vmlinuz-`uname -r` 14.23 +TARGET_ROOT=/mnt/target 14.24 +LOG=/var/log/slitaz-installer.log 14.25 +BACKLIST="SliTaz GNU/Linux installer" 14.26 +ACTION=$1 14.27 + 14.28 +####################### 14.29 +# Installer functions # 14.30 +####################### 14.31 + 14.32 +# Messages language setting. 14.33 +set_messages() 14.34 +{ 14.35 + case $LANG in 14.36 + de*) 14.37 + . /usr/share/slitaz/messages/de/installer.msg ;; 14.38 + fr*) 14.39 + . /usr/share/slitaz/messages/fr/installer.msg ;; 14.40 + hu*) 14.41 + . /usr/share/slitaz/messages/hu/installer.msg ;; 14.42 + pt*) 14.43 + . /usr/share/slitaz/messages/pt/installer.msg ;; 14.44 + *) 14.45 + . /usr/share/slitaz/messages/en/installer.msg ;; 14.46 + esac 14.47 +} 14.48 + 14.49 +# Display error message. 14.50 +error_message() 14.51 +{ 14.52 + $DIALOG --title " Error " \ 14.53 + --colors --backtitle "$BACKLIST" \ 14.54 + --clear --msgbox "\n$ERROR_MSG" 18 70 14.55 +} 14.56 + 14.57 +# Exit install if user is not root. 14.58 +check_root() 14.59 +{ 14.60 + if test $(id -u) != 0 ; then 14.61 + ERROR_MSG="\ 14.62 +[\Z6en\Zn] You must be root administrator to start SliTaz installer, please \ 14.63 +use 'su' to get a root SHell and restart installation.\n\n 14.64 +[\Z6fr\Zn] Vous devez être root pour installer SLiTaz GNU/Linux. Vous pouvez \ 14.65 +utiliser 'su' suivi du mot de passe administrateur pour devenir root \ 14.66 +et relancer l'installation." 14.67 + error_message 14.68 + exit 0 14.69 + fi 14.70 +} 14.71 + 14.72 +# This function is used after each screen to contine or abort install. 14.73 +check_retval() 14.74 +{ 14.75 + case $retval in 14.76 + 0) 14.77 + continue ;; 14.78 + 1) 14.79 + echo -e "\nVoluntary exit.\n" && exit 0 ;; 14.80 + 3) 14.81 + continue ;; 14.82 + 255) 14.83 + echo -e "ESC pressed.\n" && exit 0 ;; 14.84 + esac 14.85 +} 14.86 + 14.87 +# Start install with basic information. 14.88 +start_installer() 14.89 +{ 14.90 + $DIALOG --title " Install or Upgrade " \ 14.91 + --backtitle "$BACKLIST" \ 14.92 + --extra-button --extra-label "Upgrade" \ 14.93 + --ok-label "Install" \ 14.94 + --clear --colors --yesno "$START_INSTALL_MSG" 18 70 14.95 + retval=$? 14.96 + case $retval in 14.97 + 0) 14.98 + ACTION=install ;; 14.99 + 1) 14.100 + echo -e "\nVoluntary exit.\n" && exit 0 ;; 14.101 + 3) 14.102 + ACTION=upgrade ;; 14.103 + 255) 14.104 + echo -e "ESC pressed.\n" && exit 0 ;; 14.105 + esac 14.106 + echo "start_installer: `date`" > $LOG 14.107 +} 14.108 + 14.109 +# Mount cdrom and verify if it's really SliTaz CD. 14.110 +mount_cdrom() 14.111 +{ 14.112 + ERROR_MSG="" 14.113 + ( 14.114 + echo "XXX" && echo 30 14.115 + echo -e "\nCreating mount point (/media/cdrom)..." 14.116 + echo "XXX" 14.117 + mkdir -p /media/cdrom 14.118 + sleep 1 14.119 + # First try to mount a cdrom 14.120 + if mount -t iso9660 $CDROM /media/cdrom 2>>$LOG; then 14.121 + echo "XXX" && echo 60 14.122 + echo -e "\nUsing file from cdrom ($CDROM)..." 14.123 + echo "XXX" 14.124 + sleep 2 14.125 + else 14.126 + # We may be in LiveUSB mode 14.127 + if [ -d /home/boot ]; then 14.128 + echo "XXX" && echo 60 14.129 + echo -e "\nUsing file from USB device..." 14.130 + echo "XXX" 14.131 + rm /media/cdrom/boot 2>/dev/null 14.132 + ln -s /home/boot /media/cdrom/boot 14.133 + sleep 2 14.134 + fi 14.135 + fi 14.136 + 14.137 + echo "XXX" && echo 90 14.138 + echo -e "\nChecking installation media..." 14.139 + echo "XXX" 14.140 + sleep 2 14.141 + ) | 14.142 + $DIALOG --title " Mounting cdrom " \ 14.143 + --backtitle "$BACKLIST" \ 14.144 + --gauge "Preparing the installation media..." 18 70 0 14.145 + # Exit with error msg if no rootfs.gz found. 14.146 + if [ ! -f /media/cdrom/boot/rootfs.gz ]; then 14.147 + ERROR_MSG="$MOUNT_CDROM_ERROR_MSG" 14.148 + error_message 14.149 + echo "missing: /media/cdrom/boot/rootfs.gz" >>$LOG 14.150 + exit 1 14.151 + fi 14.152 +} 14.153 + 14.154 +# Display a list of available partitions. 14.155 +fdisk_list() 14.156 +{ 14.157 + LIST_PARTITIONS=`fdisk -l | grep ^/dev | sed s/'e Win95'/'e'/g` 14.158 + $DIALOG --title " Partition tables " \ 14.159 + --backtitle "$BACKLIST" \ 14.160 + --clear --msgbox "\n 14.161 +Available partitions :\n\n 14.162 +$LIST_PARTITIONS" 18 70 14.163 +} 14.164 + 14.165 +# We need a partition to install to (inputbox). 14.166 +ask_for_target_dev() 14.167 +{ 14.168 + exec 3>&1 14.169 + TARGET_DEV=`$DIALOG --title " Root Partition " \ 14.170 + --backtitle "$BACKLIST" --clear \ 14.171 + --extra-label "List" --extra-button \ 14.172 + --colors --inputbox "$ASK_FOR_TARGET_DEV_MSG" 18 70 2>&1 1>&3` 14.173 + retval=$? 14.174 + exec 3>&- 14.175 + check_retval 14.176 + # Display list and come back. 14.177 + if [ "$retval" = "3" ]; then 14.178 + fdisk_list 14.179 + ask_for_target_dev 14.180 + fi 14.181 + # Empty value. 14.182 + if [ -z $TARGET_DEV ]; then 14.183 + ask_for_target_dev 14.184 + fi 14.185 + set_messages 14.186 + # Check if specified device exists in /proc/partitions. 14.187 + DEV_NAME=${TARGET_DEV#/dev/} 14.188 + if cat /proc/partitions | grep -q $DEV_NAME; then 14.189 + if [ "$DEV_NAME" = "$TARGET_DEV" ]; then 14.190 + TARGET_DEV="/dev/$DEV_NAME" 14.191 + fi 14.192 + echo "ask_for_target_dev: $TARGET_DEV" >>$LOG 14.193 + else 14.194 + ERROR_MSG="Partition \Z2$TARGET_DEV\Zn doesn't exist." 14.195 + error_message 14.196 + ask_for_target_dev 14.197 + fi 14.198 +} 14.199 + 14.200 +# Mkfs if needed/wanted on /. 14.201 +ask_for_mkfs_target_dev() 14.202 +{ 14.203 + $DIALOG --title " Format " \ 14.204 + --backtitle "$BACKLIST" \ 14.205 + --clear --colors --yesno "$ASK_FOR_MKFS_TARGET_DEV_MSG" 18 70 14.206 + retval=$? 14.207 + case $retval in 14.208 + 0) 14.209 + MKFS_TARGET_DEV="ext3" 14.210 + echo "mkfs_target_dev: ext3" >>$LOG ;; 14.211 + 1) 14.212 + CLEAN="clean" 14.213 + echo "mkfs_target_dev: clean" >>$LOG ;; 14.214 + 255) 14.215 + echo -e "ESC pressed.\n" && exit 0 ;; 14.216 + esac 14.217 + 14.218 +} 14.219 + 14.220 +# We can have a separate partition for /home. 14.221 +ask_for_home() 14.222 +{ 14.223 + exec 3>&1 14.224 + HOME_DEV=`$DIALOG --title " Home Partition " \ 14.225 + --backtitle "$BACKLIST" --clear \ 14.226 + --extra-label "List" --extra-button \ 14.227 + --colors --inputbox " 14.228 +On most GNU/Linux systems users personal files are stored in the directory \ 14.229 +/home. Home can be on a separate partition or another hard disk. 14.230 + 14.231 +\Z2Home partition to use (Optional):\Zn" 18 70 2>&1 1>&3` 14.232 + retval=$? 14.233 + exec 3>&- 14.234 + check_retval 14.235 + # Display list and come back. 14.236 + if [ "$retval" = "3" ]; then 14.237 + fdisk_list 14.238 + ask_for_home 14.239 + fi 14.240 + if [ -n "$HOME_DEV" ]; then 14.241 + # Check if specified device exists in /proc/partitions. 14.242 + DEV_NAME=${HOME_DEV#/dev/} 14.243 + if cat /proc/partitions | grep -q $DEV_NAME; then 14.244 + if [ "$DEV_NAME" = "$HOME_DEV" ]; then 14.245 + HOME_DEV="/dev/$DEV_NAME" 14.246 + fi 14.247 + echo "ask_for_home: $HOME_DEV" >>$LOG 14.248 + else 14.249 + ERROR_MSG="Partition \Z2$HOME_DEV\Zn doesn't exist." 14.250 + error_message 14.251 + ask_for_home 14.252 + fi 14.253 + fi 14.254 +} 14.255 + 14.256 +# Mkfs if needed/wanted on /. 14.257 +ask_for_mkfs_home() 14.258 +{ 14.259 + $DIALOG --title " Format " \ 14.260 + --backtitle "$BACKLIST" \ 14.261 + --clear --colors --yesno " 14.262 +Here you can format the /home partition: $HOME_DEV 14.263 + 14.264 +SliTaz uses ext3 by default but another filesystem can be used if wanted, \ 14.265 +for this please adjust /etc/fstab after installation. 14.266 + 14.267 +\Z2Do you want to format (Option): $HOME_DEV\Zn" 18 70 14.268 + retval=$? 14.269 + case $retval in 14.270 + 0) 14.271 + MKFS_HOME="ext3" 14.272 + echo "mkfs_home: ext3" >>$LOG ;; 14.273 + 1) 14.274 + MKFS_HOME="" 14.275 + echo "mkfs_home: no" >>$LOG ;; 14.276 + 255) 14.277 + echo -e "ESC pressed.\n" && exit 0 ;; 14.278 + esac 14.279 + 14.280 +} 14.281 + 14.282 +# Ask for hostname before installing files. 14.283 +ask_for_hostname() 14.284 +{ 14.285 + exec 3>&1 14.286 + HOSTNAME=`$DIALOG --title " Hostname " \ 14.287 + --backtitle "$BACKLIST" --clear \ 14.288 + --colors --inputbox "$ASK_FOR_HOSTNAME_MSG" 18 70 "slitaz" 2>&1 1>&3` 14.289 + retval=$? 14.290 + exec 3>&- 14.291 + check_retval 14.292 + # Empty value. 14.293 + if [ -z $HOSTNAME ]; then 14.294 + HOSTNAME="slitaz" 14.295 + fi 14.296 +} 14.297 + 14.298 +# Ask for root password and default user settings. 14.299 +ask_for_users_settings() 14.300 +{ 14.301 + # Root passwd 14.302 + exec 3>&1 14.303 + ROOT_PASSWD=`$DIALOG --title " Root password " \ 14.304 + --backtitle "$BACKLIST" --clear \ 14.305 + --colors --nocancel --inputbox " 14.306 +The root administrator privilege lets you manage and configure the full \ 14.307 +system. A root user can damage your system so you should always setup a \ 14.308 +strong password with special characters and/or numbers. 14.309 + 14.310 +\Z2Please specify the Root password for your new system:\Zn" 18 70 "root" 2>&1 1>&3` 14.311 + retval=$? 14.312 + exec 3>&- 14.313 + check_retval 14.314 + # Prevent empty value. 14.315 + if [ -z $ROOT_PASSWD ]; then 14.316 + ROOT_PASSWD="root" 14.317 + fi 14.318 + # Default user 14.319 + exec 3>&1 14.320 + USER=`$DIALOG --title " User name " \ 14.321 + --backtitle "$BACKLIST" --clear \ 14.322 + --colors --nocancel --inputbox " 14.323 +The default user for the system will have their personal files stored \ 14.324 +in /home/*user* (and will be automatically added to the audio group). 14.325 + 14.326 +\Z2Default user name login:\Zn" 18 70 "tux" 2>&1 1>&3` 14.327 + retval=$? 14.328 + exec 3>&- 14.329 + check_retval 14.330 + # Prevent empty value. 14.331 + if [ -z $USER ]; then 14.332 + USER="tux" 14.333 + fi 14.334 + # User passwd 14.335 + exec 3>&1 14.336 + USER_PASSWD=`$DIALOG --title " User password " \ 14.337 + --backtitle "$BACKLIST" --clear \ 14.338 + --colors --nocancel --inputbox " 14.339 +The password for default user $USER. It may be a security risk if too \ 14.340 +weak and should always be strong if you use a SSH connection through the web. 14.341 + 14.342 +\Z2Please specify $USER password:\Zn" 18 70 "tux" 2>&1 1>&3` 14.343 + retval=$? 14.344 + exec 3>&- 14.345 + check_retval 14.346 + # Prevent empty value. 14.347 + if [ -z $USER_PASSWD ]; then 14.348 + USER_PASSWD="tux" 14.349 + fi 14.350 +} 14.351 + 14.352 +# Tiny summary and last chance to cancel or restart for user. 14.353 +summary() 14.354 +{ 14.355 + $DIALOG --title " Summary " \ 14.356 + --backtitle "$BACKLIST" \ 14.357 + --clear --colors --yesno " 14.358 +Installation settings summary and last chance to cancel or restart all \ 14.359 +installation steps. 14.360 + 14.361 +Root partition: $TARGET_DEV 14.362 +Home partition: $HOME_DEV 14.363 +Hostname: $HOSTNAME 14.364 +Default user: $USER 14.365 + 14.366 +\Z2Go and install SliTaz or cancel?\Zn" 18 70 14.367 + retval=$? 14.368 + check_retval 14.369 +} 14.370 + 14.371 +# Mount and mkfs with progress. 14.372 +prepare_partitions() 14.373 +{ 14.374 + ( 14.375 + echo "XXX" && echo 30 14.376 + echo -e "\nPreparing target partition..." 14.377 + echo "XXX" 14.378 + # Mount point can be already used. 14.379 + if mount | grep -q $TARGET_ROOT; then 14.380 + umount $TARGET_ROOT 2>$LOG 14.381 + fi 14.382 + sleep 2 14.383 + 14.384 + if [ "$MKFS_TARGET_DEV" == "ext3" ]; then 14.385 + echo "XXX" && echo 50 14.386 + echo -e "\nExecuting mkfs.ext3 on $TARGET_DEV" 14.387 + echo "XXX" 14.388 + mkfs.ext3 $TARGET_DEV >>$LOG 2>>$LOG 14.389 + else 14.390 + echo "XXX" && echo 50 14.391 + echo -e "\nThe partition ($TARGET_DEV) will be cleaned..." 14.392 + echo "XXX" 14.393 + sleep 2 14.394 + fi 14.395 + 14.396 + if [ "$MKFS_HOME" == "ext3" ]; then 14.397 + echo "XXX" && echo 70 14.398 + echo -e "\nExecuting mkfs.ext3 on $HOME_DEV" 14.399 + echo "XXX" 14.400 + mkfs.ext3 -L "Home" $HOME_DEV >>$LOG 2>>$LOG 14.401 + else 14.402 + echo "XXX" && echo 70 14.403 + echo -e "\nThe partition ($HOME_DEV) will be kept..." 14.404 + echo "XXX" 14.405 + sleep 2 14.406 + fi 14.407 + 14.408 + echo "XXX" && echo 90 14.409 + echo -e "\nCreating mount point: $TARGET_ROOT" 14.410 + echo "XXX" 14.411 + mkdir -p $TARGET_ROOT 14.412 + sleep 2 14.413 + 14.414 + ) | 14.415 + $DIALOG --title " Prepare the target " \ 14.416 + --backtitle "$BACKLIST" \ 14.417 + --gauge "Target in preparation..." 18 70 0 14.418 + # Mount target. 14.419 + mount $TARGET_DEV $TARGET_ROOT >>$LOG 2>>$LOG 14.420 +} 14.421 + 14.422 +# Get a clean target device (15%). 14.423 +clean_target() 14.424 +{ 14.425 + if [ "$CLEAN" == "clean" ]; then 14.426 + echo "XXX" && echo 15 14.427 + echo -e "\nCleaning the root partition ($TARGET_DEV)" 14.428 + echo "XXX" 14.429 + # Keep /home in case of reinstall. 14.430 + cd $TARGET_ROOT 14.431 + for dir in * 14.432 + do 14.433 + case "$dir" in 14.434 + home) 14.435 + mv $TARGET_ROOT/home $TARGET_ROOT/home.bak 14.436 + echo "keeping /home found on: $TARGET_DEV" >>$LOG ;; 14.437 + lost+found) 14.438 + continue ;; 14.439 + *) 14.440 + echo "removing target: $dir" >>$LOG 14.441 + rm -rf $dir 2>>$LOG ;; 14.442 + esac 14.443 + done 14.444 + if [ -d $TARGET_ROOT/mklost+found ]; then 14.445 + mklost+found 2>>$LOG 14.446 + fi 14.447 + fi 14.448 + sleep 2 14.449 +} 14.450 + 14.451 +# Kernel is renamed to standard vmlinuz-$VERSION. 14.452 +install_kernel() 14.453 +{ 14.454 + mkdir -p $TARGET_ROOT/boot 14.455 + cp /media/cdrom/boot/bzImage $TARGET_ROOT/boot/$KERNEL 14.456 + echo "install_kernel: $KERNEL" >> $LOG 14.457 + sleep 2 14.458 +} 14.459 + 14.460 +# Copy isolinux r/w files (not syslinux, some files are read only). 14.461 +copy_bootloaders() 14.462 +{ 14.463 + if [ -d "/media/cdrom/boot/isolinux" ]; then 14.464 + mkdir -p $TARGET_ROOT/boot/isolinux 14.465 + cp -a /media/cdrom/boot/isolinux/*.cfg $TARGET_ROOT/boot/isolinux 14.466 + cp -a /media/cdrom/boot/isolinux/*.kbd $TARGET_ROOT/boot/isolinux 14.467 + cp -a /media/cdrom/boot/isolinux/*.txt $TARGET_ROOT/boot/isolinux 14.468 + cp -a /media/cdrom/boot/isolinux/*.bin $TARGET_ROOT/boot/isolinux 14.469 + cp -a /media/cdrom/boot/isolinux/*.msg $TARGET_ROOT/boot/isolinux 14.470 + cp -a /media/cdrom/boot/isolinux/*.lss $TARGET_ROOT/boot/isolinux 14.471 + cp -a /media/cdrom/boot/isolinux/*.c32 $TARGET_ROOT/boot/isolinux 14.472 + fi 14.473 +} 14.474 + 14.475 +# Extract lzma'ed or gziped rootfs. 14.476 +extract_rootfs() 14.477 +{ 14.478 + cd $TARGET_ROOT 14.479 + (zcat rootfs.gz 2>/dev/null || lzma d rootfs.gz -so || \ 14.480 + cat rootfs.gz) 2>>$LOG | cpio -id 2>>$LOG > /dev/null 14.481 + rm -f rootfs.gz 14.482 + # unpack /usr (double check...) 14.483 + if ls etc/tazlito | grep -q ".extract"; then 14.484 + for i in etc/tazlito/*.extract; do 14.485 + [ -f "$i" ] && . $i /media/cdrom 14.486 + done 14.487 + fi 14.488 +} 14.489 + 14.490 +# Pre configure freshly installed system (60 - 80%). 14.491 +pre_config_system() 14.492 +{ 14.493 + cd $TARGET_ROOT 14.494 + # Restore backup of existing /home if exists. 14.495 + # (created by prepare_target_dev) 14.496 + if [ -d home.bak ]; then 14.497 + echo "XXX" && echo 65 14.498 + echo -e "\nRestoring directory: /home..." 14.499 + echo "XXX" 14.500 + rm -rf home 14.501 + mv home.bak home 14.502 + sleep 1 14.503 + fi 14.504 + # Add root device to CHECK_FS in rcS.conf to check filesystem 14.505 + # on each boot. 14.506 + echo "XXX" && echo 70 14.507 + echo -e "\nAdding $TARGET_DEV and CHECK_FS to file /etc/rcS.conf..." 14.508 + echo "XXX" 14.509 + sed -i s#'CHECK_FS=\"\"'#"CHECK_FS=\"$TARGET_DEV\""# etc/rcS.conf 14.510 + sleep 2 14.511 + # Set hostname. 14.512 + echo "XXX" && echo 80 14.513 + echo -e "\nConfiguring host name: $HOSTNAME" 14.514 + echo "XXX" 14.515 + echo $HOSTNAME > etc/hostname 14.516 +} 14.517 + 14.518 +# Set root passwd and create user after rootfs extraction. 14.519 +users_settings() 14.520 +{ 14.521 + cat > $TARGET_ROOT/users.sh << _EOF_ 14.522 +#!/bin/sh 14.523 +echo "root:$ROOT_PASSWD" | chpasswd 14.524 +adduser -D -H $USER 14.525 +addgroup $USER audio 14.526 +echo "$USER:$USER_PASSWD" | chpasswd 14.527 +if [ ! -d /home/$USER ]; then 14.528 + cp -a /etc/skel /home/$USER 14.529 + chown -R $USER.$USER /home/$USER 14.530 + # Path for user desktop files. 14.531 + for i in /home/$USER/.local/share/applications/*.desktop 14.532 + do 14.533 + sed -i s/"user_name"/"$USER"/g \$i 14.534 + done 14.535 +fi 14.536 +# Slim default user. 14.537 +if [ -f /etc/slim.conf ]; then 14.538 + sed -i s/"default_user .*"/"default_user $USER"/ \ 14.539 + /etc/slim.conf 14.540 +fi 14.541 +_EOF_ 14.542 + chmod +x $TARGET_ROOT/users.sh 14.543 + chroot $TARGET_ROOT ./users.sh 14.544 + rm $TARGET_ROOT/users.sh 14.545 +} 14.546 + 14.547 +# /home can be on a separate partition. If default user exist in /home 14.548 +# we remove default file crated by users_settings(). 14.549 +home_config() 14.550 +{ 14.551 + echo "home_config: $HOME_DEV" >> $LOG 14.552 + cd $TARGET_ROOT 14.553 + mv home/$USER tmp 14.554 + mount $HOME_DEV home 14.555 + if [ -d $TARGET_ROOT/home/$USER ]; then 14.556 + rm -rf tmp/$USER 14.557 + else 14.558 + mv tmp/$USER home 14.559 + fi 14.560 + echo "$HOME_DEV /home ext3 defaults 0 2" \ 14.561 + >> etc/fstab 14.562 + umount home 14.563 +} 14.564 + 14.565 +# Determine GRUB partition number and GRUB disk number. 14.566 +grub_config() 14.567 +{ 14.568 + DISK_LETTER=${TARGET_DEV#/dev/[h-s]d} 14.569 + DISK_LETTER=${DISK_LETTER%[0-9]} 14.570 + GRUB_PARTITION=$((${TARGET_DEV#/dev/[h-s]d[a-z]}-1)) 14.571 + for disk in a b c d e f g h 14.572 + do 14.573 + nb=$(($nb+1)) 14.574 + if [ "$disk" = "$DISK_LETTER" ]; then 14.575 + GRUB_DISK=$(($nb-1)) 14.576 + break 14.577 + fi 14.578 + done 14.579 + GRUB_ROOT="(hd${GRUB_DISK},${GRUB_PARTITION})" 14.580 + # Create the target GRUB configuration. 14.581 + mkdir -p $TARGET_ROOT/boot/grub 14.582 + cat > $TARGET_ROOT/boot/grub/menu.lst << _EOF_ 14.583 +# /boot/grub/menu.lst: GRUB boot loader configuration. 14.584 +# 14.585 + 14.586 +# By default, boot the first entry. 14.587 +default 0 14.588 + 14.589 +# Boot automatically after 8 secs. 14.590 +timeout 8 14.591 + 14.592 +# Change the colors. 14.593 +color yellow/brown light-green/black 14.594 + 14.595 +# For booting SliTaz from : $TARGET_DEV 14.596 +# 14.597 +title SliTaz GNU/Linux (cooking) (Kernel $KERNEL) 14.598 +root $GRUB_ROOT 14.599 +kernel /boot/$KERNEL root=$TARGET_DEV 14.600 + 14.601 +_EOF_ 14.602 + # log 14.603 + echo "grub_config: $TARGET_ROOT/boot/grub/menu.lst" >>$LOG 14.604 + sleep 2 14.605 +} 14.606 + 14.607 +# Files install with gauge, calling for functions or with cmds. 14.608 +install_files() 14.609 +{ 14.610 + ( 14.611 + 14.612 + echo "XXX" && echo 10 14.613 + echo -e "\nCleaning the root partition if necessary..." 14.614 + echo "XXX" 14.615 + clean_target 14.616 + 14.617 + echo "XXX" && echo 20 14.618 + echo -e "\nInstalling the kernel ($KERNEL)" 14.619 + echo "XXX" 14.620 + install_kernel 14.621 + 14.622 + echo "XXX" && echo 30 14.623 + echo -e "\nCopying the bootloader syslinux/isolinux..." 14.624 + echo "XXX" 14.625 + copy_bootloaders 14.626 + 14.627 + echo "XXX" && echo 40 14.628 + echo -e "\nCopying the compressed system (rootfs.gz)..." 14.629 + echo "XXX" 14.630 + cp /media/cdrom/boot/rootfs.gz $TARGET_ROOT 14.631 + sleep 2 14.632 + 14.633 + echo "XXX" && echo 50 14.634 + echo -e "\nExtracting the root system..." 14.635 + echo "XXX" 14.636 + extract_rootfs 14.637 + 14.638 + echo "XXX" && echo 60 14.639 + echo -e "\nPreconfiguring the system..." 14.640 + echo "XXX" 14.641 + pre_config_system 14.642 + 14.643 + echo "XXX" && echo 70 14.644 + echo -e "\nConfiguring root and default $USER account..." 14.645 + echo "XXX" 14.646 + users_settings 14.647 + sleep 2 14.648 + 14.649 + if [ "$HOME_DEV" != "" ]; then 14.650 + echo "XXX" && echo 80 14.651 + echo -e "\nConfiguring $HOME_DEV to be used as /home..." 14.652 + echo "XXX" 14.653 + home_config 14.654 + sleep 2 14.655 + fi 14.656 + 14.657 + echo "XXX" && echo 90 14.658 + echo -e "\nCreating the configuration file for GRUB (menu.lst)..." 14.659 + echo "XXX" 14.660 + grub_config 14.661 + 14.662 + echo "XXX" && echo 100 14.663 + echo -e "\nFinishing the files installation..." 14.664 + echo "XXX" 14.665 + echo "install_files: OK" >>$LOG 14.666 + sleep 2 14.667 + 14.668 + ) | 14.669 + $DIALOG --title " Install files " \ 14.670 + --backtitle "$BACKLIST" \ 14.671 + --gauge "Starting to install files..." 18 70 0 14.672 +} 14.673 + 14.674 +# GRUB info with disk name used for grub-install. 14.675 +grub_install() 14.676 +{ 14.677 + TARGET_DISK=`echo $TARGET_DEV | sed s/"[0-9]"/''/` 14.678 + set_messages 14.679 + $DIALOG --title " GRUB install " \ 14.680 + --backtitle "$BACKLIST" \ 14.681 + --clear --colors --yesno "$GRUB_INSTALL_MSG" 18 70 14.682 + retval=$? 14.683 + case $retval in 14.684 + 0) 14.685 + ( 14.686 + echo "XXX" && echo 50 14.687 + echo -e "\nRunning grub-install on : $TARGET_DISK" 14.688 + echo "XXX" 14.689 + grub-install --no-floppy \ 14.690 + --root-directory=$TARGET_ROOT $TARGET_DISK 2>>$LOG 14.691 + echo "XXX" && echo 100 14.692 + echo -e "\nFinished installation..." 14.693 + echo "XXX" 14.694 + sleep 2 14.695 + ) | 14.696 + $DIALOG --title " GRUB install " \ 14.697 + --backtitle "$BACKLIST" \ 14.698 + --gauge "Installing GRUB..." 18 70 0 ;; 14.699 + 1) 14.700 + echo "grub_install: NO" >>$LOG ;; 14.701 + 255) 14.702 + echo -e "ESC pressed.\n" && exit 0 ;; 14.703 + esac 14.704 +} 14.705 + 14.706 +# Copy log file, umount target and eject cdrom. 14.707 +umount_devices() 14.708 +{ 14.709 + ( 14.710 + echo "XXX" && echo 25 14.711 + echo -e "\nCopying the log files ($LOG)" 14.712 + echo "XXX" 14.713 + cp -a $LOG $TARGET_ROOT/var/log 14.714 + sleep 2 14.715 + echo "XXX" && echo 50 14.716 + echo -e "\nUnmounting the target ($TARGET_DEV)" 14.717 + echo "XXX" 14.718 + if mount | grep -q $TARGET_ROOT; then 14.719 + umount $TARGET_ROOT 2>/dev/null 14.720 + fi 14.721 + echo "XXX" && echo 75 14.722 + echo -e "\nUnmounting and ejecting the cdrom..." 14.723 + echo "XXX" 14.724 + if mount | grep -q /media/cdrom; then 14.725 + umount /media/cdrom 14.726 + grep -q slitaz-loram-cdrom /etc/init.d/rcS || eject 14.727 + fi 14.728 + sleep 2 14.729 + echo "XXX" && echo 100 14.730 + echo -e "\n$TITLE..." 14.731 + echo "XXX" 14.732 + sleep 2 14.733 + ) | 14.734 + $DIALOG --title " $TITLE " \ 14.735 + --backtitle "$BACKLIST" \ 14.736 + --gauge "$TITLE starting..." 18 70 0 14.737 +} 14.738 + 14.739 +# End of installation. 14.740 +end_of_install() 14.741 +{ 14.742 + echo "end_of_install: `date`" >>$LOG 14.743 + $DIALOG --title " Installation complete " \ 14.744 + --backtitle "$BACKLIST" \ 14.745 + --yes-label "Exit" \ 14.746 + --no-label "Reboot" \ 14.747 + --clear --colors --yesno "$END_OF_INSTALL_MSG" 18 70 14.748 + retval=$? 14.749 + case $retval in 14.750 + 0) 14.751 + TITLE="Exiting" 14.752 + umount_devices ;; 14.753 + 1) 14.754 + TITLE="Rebooting" 14.755 + umount_devices 14.756 + reboot || reboot -f ;; 14.757 + 255) 14.758 + echo -e "ESC pressed.\n" && exit 0 ;; 14.759 +esac 14.760 +} 14.761 + 14.762 +##################### 14.763 +# Upgrade functions # 14.764 +##################### 14.765 + 14.766 +# We need a partition to upgrade SliTaz. 14.767 +ask_for_upgrade_dev() 14.768 +{ 14.769 + exec 3>&1 14.770 + UPGRADE_DEV=`$DIALOG --title " Target to upgrade " \ 14.771 + --backtitle "$BACKLIST" --clear \ 14.772 + --extra-label "List" --extra-button \ 14.773 + --colors --inputbox "\n 14.774 +The installer will upgrade the target by saving all configuration files and \ 14.775 +the list of installed packages. Then, it will clean the partition and install the \ 14.776 +version of SliTaz contained on the cdrom, restore the configuration files and \ 14.777 +reinstall any packages which are not present on the cdrom. You will need an active \ 14.778 +internet connection before upgrading.\n\n 14.779 +\Z2Partition containing the system upgrade:\Zn" 18 70 2>&1 1>&3` 14.780 + retval=$? 14.781 + exec 3>&- 14.782 + check_retval 14.783 + # Display list and come back. 14.784 + if [ "$retval" = "3" ]; then 14.785 + fdisk_list 14.786 + ask_for_upgrade_dev 14.787 + fi 14.788 + # Empty value. 14.789 + if [ -z $UPGRADE_DEV ]; then 14.790 + ask_for_upgrade_dev 14.791 + fi 14.792 + # Check if specified device exists in /proc/partitions. 14.793 + DEV_NAME=${UPGRADE_DEV#/dev/} 14.794 + if cat /proc/partitions | grep -q $DEV_NAME; then 14.795 + echo "ask_for_target_dev: $TARGET_DEV" >>$LOG 14.796 + else 14.797 + ERROR_MSG="The partition \Z2$UPGRADE_DEV\Zn doesn't seem to exist." 14.798 + error_message 14.799 + ask_for_upgrade_dev 14.800 + fi 14.801 + echo "partition to upgrade: $UPGRADE_DEV" >>$LOG 14.802 +} 14.803 + 14.804 +# Prepare the partition to upgrade, backup, install, restore configs 14.805 +# and reinstall pkgs. 14.806 +upgrade_process() 14.807 +{ 14.808 + ( 14.809 + echo "XXX" && echo 5 14.810 + echo -e "\nPreparing the target partition..." 14.811 + echo "XXX" 14.812 + # Mount point can be already used. 14.813 + if mount | grep -q $TARGET_ROOT; then 14.814 + umount $TARGET_ROOT 2>$LOG 14.815 + fi 14.816 + mkdir -p $TARGET_ROOT && sleep 2 14.817 + # Mount target. 14.818 + mount $UPGRADE_DEV $TARGET_ROOT >>$LOG 2>>$LOG 14.819 + cd $TARGET_ROOT 14.820 + TARGET_DEV=$UPGRADE_DEV 14.821 + set_messages 14.822 + 14.823 + echo "XXX" && echo 10 14.824 + echo -e "\nSearch for /etc/slitaz-release" 14.825 + echo "XXX" 14.826 + if [ -f etc/slitaz-release ]; then 14.827 + release=`cat etc/slitaz-release` 14.828 + echo "XXX" && echo 15 14.829 + echo -e "\nSliTaz release: $release" 14.830 + echo "XXX" 14.831 + else 14.832 + ERROR_MSG="The partition \Z2$UPGRADE_DEV\Zn doesn't appear to contain \ 14.833 +a SliTaz system, the file: /etc/slitaz-release doesn't exist." 14.834 + error_message 14.835 + exit 0 14.836 + fi && sleep 2 14.837 + 14.838 + echo "XXX" && echo 20 14.839 + echo -e "\nBackup /etc, /home and the packages list..." 14.840 + echo "XXX" 14.841 + # Backup target packages list. 14.842 + ls -1 var/lib/tazpkg/installed > home/packages-selection.list 14.843 + for dir in * 14.844 + do 14.845 + case "$dir" in 14.846 + boot) 14.847 + # Upgrade doesn't prompt for grub install, so backup and 14.848 + # create a new grub menu.lst. 14.849 + rm -rf $TARGET_ROOT/boot/vmlinuz-* 14.850 + mv $TARGET_ROOT/boot/grub/menu.lst \ 14.851 + $TARGET_ROOT/boot/grub/menu.lst.bak 2>/dev/null 14.852 + grub_config ;; 14.853 + home) 14.854 + mv $TARGET_ROOT/home $TARGET_ROOT/home.bak 14.855 + echo "keeping /home found on: $UPGRADE_DEV" >>$LOG ;; 14.856 + etc) 14.857 + tar czf $TARGET_ROOT/etc.tar.gz etc 14.858 + mv $TARGET_ROOT/etc $TARGET_ROOT/etc.bak 14.859 + echo "keeping /etc found on: $UPGRADE_DEV" >>$LOG ;; 14.860 + var) 14.861 + if [ -d $TARGET_ROOT/var/www ]; then 14.862 + mv $TARGET_ROOT/var/www $TARGET_ROOT/www.bak 14.863 + fi 14.864 + rm -rf $TARGET_ROOT/var ;; 14.865 + lost+found) 14.866 + continue ;; 14.867 + *) 14.868 + echo "removing target: $dir" >>$LOG 14.869 + rm -rf $TARGET_ROOT/$dir 2>>$LOG ;; 14.870 + esac 14.871 + done 14.872 + if [ -d $TARGET_ROOT/mklost+found ]; then 14.873 + mklost+found 2>>$LOG 14.874 + fi 14.875 + sleep 2 14.876 + 14.877 + echo "XXX" && echo 25 14.878 + echo -e "\nInstalling the kernel ($KERNEL)" 14.879 + echo "XXX" 14.880 + install_kernel 14.881 + 14.882 + echo "XXX" && echo 30 14.883 + echo -e "\nCopying the bootloader syslinux/isolinux..." 14.884 + echo "XXX" 14.885 + copy_bootloaders 14.886 + 14.887 + echo "XXX" && echo 35 14.888 + echo -e "\nCopying the compressed system (rootfs.gz)..." 14.889 + echo "XXX" 14.890 + cp /media/cdrom/boot/rootfs.gz $TARGET_ROOT 14.891 + sleep 2 14.892 + 14.893 + echo "XXX" && echo 40 14.894 + echo -e "\nExtracting the root system..." 14.895 + echo "XXX" 14.896 + extract_rootfs 14.897 + 14.898 + # Restore backups. 14.899 + echo "XXX" && echo 42 14.900 + echo -e "\nRestoring configuration files..." 14.901 + echo "XXX" 14.902 + rm -rf $TARGET_ROOT/home 14.903 + mv $TARGET_ROOT/home.bak $TARGET_ROOT/home 14.904 + rm -rf $TARGET_ROOT/etc 14.905 + mv $TARGET_ROOT/etc.bak $TARGET_ROOT/etc 14.906 + if [ -d $TARGET_ROOT/www.bak ]; then 14.907 + rm -rf $TARGET_ROOT/var/www 14.908 + mv $TARGET_ROOT/www.bak $TARGET_ROOT/var/www 14.909 + fi 14.910 + echo "backups restored: `date`" >> $LOG 14.911 + 14.912 + # /var/lib/slitaz-installer 14.913 + mkdir $TARGET_ROOT/var/lib/slitaz-installer 14.914 + mv $TARGET_ROOT/etc.tar.gz $TARGET_ROOT/var/lib/slitaz-installer 14.915 + mv $TARGET_ROOT/home/packages-selection.list $TARGET_ROOT/var/lib/slitaz-installer 14.916 + cd $TARGET_ROOT/var/lib/slitaz-installer 14.917 + 14.918 + # LiveCD packages list. 14.919 + echo "XXX" && echo 46 14.920 + echo -e "\nCreating package lists..." 14.921 + echo "XXX" 14.922 + ls -1 $TARGET_ROOT/var/lib/tazpkg/installed > packages-cdrom.list || exit 1 14.923 + echo "packages-cdrom.list: done" >> $LOG 14.924 + # Diff 14.925 + diff packages-cdrom.list packages-selection.list | \ 14.926 + grep ^+[a-z] | sed s/^+// > packages-selection.diff 14.927 + echo "packages-selection.diff: done" >> $LOG 14.928 + # Get mirror list. 14.929 + tazpkg recharge >>$LOG 2>>$LOG 14.930 + if [ ! -f /var/lib/tazpkg/packages.list ]; then 14.931 + ERROR_MSG="The list of available packages on the mirror could not be \ 14.932 +downloaded. No missing packages will be reinstalled now, but \ 14.933 +you can do so later by looking at the following list: \n\n 14.934 + 14.935 +/var/lib/slitaz-installer/packages-selection.diff" 14.936 + error_message 14.937 + fi 14.938 + sleep 2 14.939 + 14.940 + # Check if the pkg is on the mirror. 14.941 + echo "XXX" && echo 48 14.942 + echo -e "\nChecking the availability of packages..." 14.943 + echo "XXX" 14.944 + touch packages-to-install.list 14.945 + packages=0 14.946 + diff=`cat packages-selection.diff | sort` 14.947 + for pkg in $diff 14.948 + do 14.949 + if grep -q ^$pkg-[0-9] /var/lib/tazpkg/packages.list; then 14.950 + packages=$(($packages+1)) 14.951 + echo "$pkg" >> packages-to-install.list 14.952 + fi 14.953 + done 14.954 + 14.955 + # Calculate the percent for one package and install. 14.956 + echo "XXX" && echo 50 14.957 + echo -e "\nInstalling any packages..." 14.958 + echo "XXX" 14.959 + sleep 2 14.960 + if [ "$packages" == "0" ]; then 14.961 + echo "packages to install: 0" >> $LOG 14.962 + else 14.963 + onepkg=$((48/$packages)) 14.964 + pct=50 14.965 + # Get-install all missing pkgs. 14.966 + for pkg in `cat packages-to-install.list` 14.967 + do 14.968 + pct=$(($pct+$onepkg)) 14.969 + echo "XXX" && echo $pct 14.970 + echo -e "\nInstallation of: $pkg..." 14.971 + echo "XXX" 14.972 + # Log please. 14.973 + echo "get-install: $pkg" >>$LOG 14.974 + # Get install package and answer yes in case of dependencies. 14.975 + pkgname=`grep ^$pkg /var/lib/tazpkg/packages.list` 14.976 + tazpkg get $pkg >/dev/null 2>/dev/null 14.977 + yes "" | tazpkg install $pkgname.tazpkg --root=$TARGET_ROOT >/dev/null 2>/dev/null 14.978 + rm -f $pkgname.tazpkg 14.979 + done 14.980 + fi 14.981 + echo "XXX" && echo 100 14.982 + echo -e "\nInstallation of packages complete..." 14.983 + echo "XXX" 14.984 + sleep 2 14.985 + ) | 14.986 + $DIALOG --title " Processing system upgrade " \ 14.987 + --backtitle "$BACKLIST" \ 14.988 + --gauge "Target in preparation..." 18 70 0 14.989 +} 14.990 + 14.991 +# End of system upgrade. 14.992 +end_of_upgrade() 14.993 +{ 14.994 + TARGET_DEV=$UPGRADE_DEV 14.995 + set_messages 14.996 + pkgscd=`cat $TARGET_ROOT/var/lib/slitaz-installer/packages-cdrom.list | wc -l` 14.997 + pkginst=`cat $TARGET_ROOT/var/lib/slitaz-installer/packages-to-install.list | wc -l` 14.998 + echo "end_of_upgrade: `date`" >>$LOG 14.999 + $DIALOG --title " Upgrade completed " \ 14.1000 + --backtitle "$BACKLIST" \ 14.1001 + --yes-label "Exit" \ 14.1002 + --no-label "Reboot" \ 14.1003 + --clear --colors --yesno "\n 14.1004 +Upgrade finished. You can now restart (reboot) \ 14.1005 +from your SliTaz GNU/Linux system.\n\n 14.1006 +Packages on the cdrom : $pkgscd\n 14.1007 +Packages installed from the mirror : $pkginst\n" 18 70 14.1008 + retval=$? 14.1009 + case $retval in 14.1010 + 0) 14.1011 + TITLE="Exiting" 14.1012 + umount_devices ;; 14.1013 + 1) 14.1014 + TITLE="Rebooting" 14.1015 + umount_devices 14.1016 + reboot || reboot -f ;; 14.1017 + 255) 14.1018 + echo -e "ESC pressed.\n" && exit 0 ;; 14.1019 +esac 14.1020 +} 14.1021 + 14.1022 +###################### 14.1023 +# Installer sequence # 14.1024 +###################### 14.1025 + 14.1026 +set_messages 14.1027 +check_root 14.1028 +start_installer 14.1029 + 14.1030 +case $ACTION in 14.1031 + upgrade) 14.1032 + BACKLIST="$BACKLIST (Upgrade)" 14.1033 + mount_cdrom 14.1034 + ask_for_upgrade_dev 14.1035 + upgrade_process 14.1036 + end_of_upgrade ;; 14.1037 + install|*) 14.1038 + mount_cdrom 14.1039 + ask_for_target_dev 14.1040 + ask_for_mkfs_target_dev 14.1041 + ask_for_home 14.1042 + if [ -n "$HOME_DEV" ]; then 14.1043 + ask_for_mkfs_home 14.1044 + fi 14.1045 + ask_for_hostname 14.1046 + ask_for_users_settings 14.1047 + summary 14.1048 + prepare_partitions 14.1049 + install_files 14.1050 + grub_install 14.1051 + end_of_install ;; 14.1052 +esac 14.1053 + 14.1054 +exit 0
15.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 15.2 +++ b/core/rootfs/usr/bin/tazlito Tue Feb 02 22:26:52 2010 +0100 15.3 @@ -0,0 +1,1825 @@ 15.4 +#!/bin/sh 15.5 +# TazLito - SliTaz Live Tool. 15.6 +# 15.7 +# Tazlito is a tool to help generate and configure SliTaz LiveCD 15.8 +# ISO images. You can create a custom distro in one command from a list of 15.9 +# packages, extract an existing ISO image to hack it, create a new initramfs 15.10 +# and/or a new ISO. Most commands must be run by root, except the stats 15.11 +# and the configuration file manipulation. 15.12 +# 15.13 +# (C) 2007-2010 SliTaz - GNU General Public License. 15.14 +# 15.15 +# Authors : Christophe Lincoln <pankso@slitaz.org> 15.16 +# Pascal Bellard <pascal.bellard@slitaz.org> 15.17 +# 15.18 +VERSION=2.0 15.19 + 15.20 +# Tazlito configuration variables to be shorter 15.21 +# and to use words rather than numbers. 15.22 +COMMAND=$1 15.23 +LIST_NAME=$2 15.24 +TMP_DIR=/tmp/tazlito-$$-$RANDOM 15.25 +TMP_MNT=/media/tazlito-$$-$RANDOM 15.26 +TOP_DIR=`pwd` 15.27 +INITRAMFS=rootfs.gz 15.28 +LOCALSTATE=/var/lib/tazpkg 15.29 +INSTALLED=$LOCALSTATE/installed 15.30 +CACHE_DIR=/var/cache/tazpkg 15.31 +MIRROR=$LOCALSTATE/mirror 15.32 +DEFAULT_MIRROR="http://mirror.slitaz.org/packages/`cat /etc/slitaz-release`/" 15.33 + 15.34 +# Try to include config file, continue if command is gen-config or exit. 15.35 +# The main config used by default is in /etc/tazlito. 15.36 +if [ -f "/etc/tazlito/tazlito.conf" ] ; then 15.37 + CONFIG_FILE="/etc/tazlito/tazlito.conf" 15.38 +fi 15.39 +# Specific distro config file can be put in a distro tree. 15.40 +if [ -f "$TOP_DIR/tazlito.conf" ] ; then 15.41 + CONFIG_FILE="$TOP_DIR/tazlito.conf" 15.42 +fi 15.43 +if [ ! "$CONFIG_FILE" = "" ] ; then 15.44 + . $CONFIG_FILE 15.45 +else 15.46 + if [ "$COMMAND" = "gen-config" ] ; then 15.47 + continue 15.48 + else 15.49 + echo "Unable to find any configuration file. Please read the docs" 15.50 + echo "or run '`basename $0` gen-config' to get an empty config file." 15.51 + exit 0 15.52 + fi 15.53 +fi 15.54 + 15.55 +# While Tazpkg is not used the default mirror url file does not exist 15.56 +# and user can't recharge the list of flavors. 15.57 +if test $(id -u) = 0 ; then 15.58 + if [ ! -f "$MIRROR" ]; then 15.59 + echo "$DEFAULT_MIRROR" > $MIRROR 15.60 + fi 15.61 +fi 15.62 + 15.63 +# Set the rootfs and rootcd path with $DISTRO 15.64 +# configuration variable. 15.65 +ROOTFS=$DISTRO/rootfs 15.66 +ROOTCD=$DISTRO/rootcd 15.67 +FLAVORS_REPOSITORY=/home/slitaz/flavors 15.68 + 15.69 +##################### 15.70 +# Tazlito functions # 15.71 +##################### 15.72 + 15.73 +# Print the usage. 15.74 +usage () 15.75 +{ 15.76 + echo -e "\nSliTaz Live Tool - Version: $VERSION\n 15.77 +\033[1mUsage: \033[0m `basename $0` [command] [list|iso|flavor|compression] [dir|iso] 15.78 +\033[1mCommands: \033[0m\n 15.79 + usage Print this short usage. 15.80 + stats View Tazlito and distro configuration statistics. 15.81 + gen-config Generate a new configuration file for a distro. 15.82 + configure Configure the main config file or a specific tazlito.conf. 15.83 + gen-iso Generate a new ISO from a distro tree. 15.84 + gen-initiso Generate a new initramfs and ISO from the distro tree. 15.85 + list-flavors List all available package lists on the mirror. 15.86 + gen-flavor Generate a new live-CD description. 15.87 + gen-liveflavor Generate a live-CD description from current system. 15.88 + show-flavor Show live-CD description. 15.89 + get-flavor Get a flavor's list of packages. 15.90 + upgrade-flavor Update package list to the latest available versions. 15.91 + extract-flavor Extract a (*.flavor) flavor into $FLAVORS_REPOSITORY. 15.92 + pack-flavor Pack (and update) a flavor from $FLAVORS_REPOSITORY. 15.93 + check-list Check a distro-packages.list for updates. 15.94 + extract-distro Extract an ISO to a directory and rebuild LiveCD tree. 15.95 + gen-distro Generate a Live distro and ISO from a list of packages. 15.96 + clean-distro Remove all files generated by gen-distro. 15.97 + check-distro Help to check if distro is ready to release. 15.98 + writeiso Use running system to generate a bootable ISO (with /home). 15.99 + merge Merge multiple rootfs into one iso. 15.100 + repack Recompress rootfs into iso with maximum ratio. 15.101 + frugal-install Frugal install in /boot/frugal from a distro or ISO 15.102 + emu-iso Emulate an ISO image with Qemu. 15.103 + burn-iso Burn ISO image to a cdrom using Wodim.\n" 15.104 +} 15.105 + 15.106 +# Status function. 15.107 +status() 15.108 +{ 15.109 + local CHECK=$? 15.110 + echo -en "\\033[70G[ " 15.111 + if [ $CHECK = 0 ]; then 15.112 + echo -en "\\033[1;33mOK" 15.113 + else 15.114 + echo -en "\\033[1;31mFailed" 15.115 + fi 15.116 + echo -e "\\033[0;39m ]" 15.117 + return $CHECK 15.118 +} 15.119 + 15.120 +yesorno() 15.121 +{ 15.122 + echo -n "$1" 15.123 + case "$DEFAULT_ANSWER" in 15.124 + Y|y) answer="y";; 15.125 + N|n) answer="n";; 15.126 + *) read answer;; 15.127 + esac 15.128 +} 15.129 + 15.130 +field() 15.131 +{ 15.132 + grep "^$1" "$2" | sed 's/.*: \([0-9KMG\.]*\).*/\1/' 15.133 +} 15.134 + 15.135 +todomsg() 15.136 +{ 15.137 + echo -e "\\033[70G[ \\033[1;31mTODO\\033[0;39m ]" 15.138 +} 15.139 + 15.140 +# Download a file from this mirror 15.141 +download_from() 15.142 +{ 15.143 + local i 15.144 + local mirrors 15.145 + mirrors="$1" 15.146 + shift 15.147 + for i in $mirrors; do 15.148 + case "$i" in 15.149 + http://*|ftp://*) wget -c $i$@ && break;; 15.150 + *) cp $i/$1 . && break;; 15.151 + esac 15.152 + done 15.153 +} 15.154 + 15.155 +# Download a file trying all mirrors 15.156 +download() 15.157 +{ 15.158 + local i 15.159 + for i in $(cat $MIRROR $LOCALSTATE/undigest/*/mirror 2> /dev/null); do 15.160 + download_from "$i" "$@" && break 15.161 + done 15.162 +} 15.163 + 15.164 +# Execute hooks provided by some packages 15.165 +genisohooks() 15.166 +{ 15.167 + local here=`pwd` 15.168 + for i in $(ls $ROOTFS/etc/tazlito/*.$1 2> /dev/null); do 15.169 + cd $ROOTFS 15.170 + . $i $ROOTCD 15.171 + done 15.172 + cd $here 15.173 +} 15.174 + 15.175 +cleanup() 15.176 +{ 15.177 + if [ -d $TMP_MNT ]; then 15.178 + umount $TMP_MNT 15.179 + rmdir $TMP_MNT 15.180 + rm -f /boot 15.181 + fi 15.182 +} 15.183 + 15.184 +# Echo the package name if the tazpkg is already installed 15.185 +installed_package_name() 15.186 +{ 15.187 + local tazpkg 15.188 + local package 15.189 + local VERSION 15.190 + local EXTRAVERSION 15.191 + tazpkg=$1 15.192 + # Try to find package name and version to be able 15.193 + # to repack it from installation 15.194 + # A dash (-) can exist in name *and* in version 15.195 + package=${tazpkg%-*} 15.196 + i=$package 15.197 + while true; do 15.198 + VERSION="" 15.199 + eval $(grep -s ^VERSION= $INSTALLED/$i/receipt) 15.200 + EXTRAVERSION="" 15.201 + eval $(grep -s ^EXTRAVERSION= $INSTALLED/$i/receipt) 15.202 + if [ "$i-$VERSION$EXTRAVERSION" = "$tazpkg" ]; then 15.203 + echo $i 15.204 + break 15.205 + fi 15.206 + case "$i" in 15.207 + *-*);; 15.208 + *) break;; 15.209 + esac 15.210 + i=${i%-*} 15.211 + done 15.212 +} 15.213 + 15.214 +# Check if user is root. 15.215 +check_root() 15.216 +{ 15.217 + if test $(id -u) != 0 ; then 15.218 + echo -e "\nYou must be root to run `basename $0` with this option." 15.219 + echo -e "Please type 'su' and root password to become super-user.\n" 15.220 + exit 0 15.221 + fi 15.222 +} 15.223 + 15.224 +# Check for the rootfs tree. 15.225 +check_rootfs() 15.226 +{ 15.227 + if [ ! -d "$ROOTFS/etc" ] ; then 15.228 + echo -e "\nUnable to find a distro rootfs...\n" 15.229 + exit 0 15.230 + fi 15.231 +} 15.232 + 15.233 +# Check for the boot dir into the root CD tree. 15.234 +verify_rootcd() 15.235 +{ 15.236 + if [ ! -d "$ROOTCD/boot" ] ; then 15.237 + echo -e "\nUnable to find the rootcd boot directory...\n" 15.238 + exit 0 15.239 + fi 15.240 +} 15.241 + 15.242 +create_iso() 15.243 +{ 15.244 + genisoimage -R -o $1 -b boot/isolinux/isolinux.bin \ 15.245 + -c boot/isolinux/boot.cat -no-emul-boot -boot-load-size 4 \ 15.246 + -V "$VOLUM_NAME" -p "$PREPARED" -input-charset iso8859-1 \ 15.247 + -boot-info-table $2 15.248 + if [ -x /usr/bin/isohybrid ]; then 15.249 + echo -n "Creating hybrid ISO..." 15.250 + /usr/bin/isohybrid $1 2> /dev/null 15.251 + status 15.252 + fi 15.253 +} 15.254 + 15.255 +# Generate a new ISO image using isolinux. 15.256 +gen_livecd_isolinux() 15.257 +{ 15.258 + # Some packages may want to alter iso 15.259 + genisohooks iso 15.260 + if [ ! -f "$ROOTCD/boot/isolinux/isolinux.bin" ]; then 15.261 + echo -e "\nUnable to find isolinux binary.\n" 15.262 + cleanup 15.263 + exit 0 15.264 + fi 15.265 + # Set date for boot msg. 15.266 + if grep -q 'XXXXXXXX' $ROOTCD/boot/isolinux/isolinux.msg; then 15.267 + DATE=`date +%Y%m%d` 15.268 + echo -n "Setting build date to: $DATE..." 15.269 + sed -i s/'XXXXXXXX'/"$DATE"/ $ROOTCD/boot/isolinux/isolinux.msg 15.270 + status 15.271 + fi 15.272 + cd $ROOTCD 15.273 + echo -n "Computing md5..." 15.274 + find * -type f ! -name md5sum -exec md5sum {} \; > md5sum 15.275 + status 15.276 + cd $DISTRO 15.277 + echo "" 15.278 + echo -e "\033[1mGenerating ISO image\033[0m" 15.279 + echo "================================================================================" 15.280 + create_iso $ISO_NAME.iso $ROOTCD 15.281 + echo -n "Creating the ISO md5sum..." 15.282 + md5sum $ISO_NAME.iso > $ISO_NAME.md5 15.283 + status 15.284 + echo "================================================================================" 15.285 + # Some packages may want to alter final iso 15.286 + genisohooks final 15.287 +} 15.288 + 15.289 +lzma_history_bits() 15.290 +{ 15.291 + # 15.292 + # This genertae ISO who boot with Qemu but give 15.293 + # rootfs errors in frugal or liveUSB mode. 15.294 + # 15.295 + #local n 15.296 + #local sz 15.297 + #n=20 # 1Mb 15.298 + #sz=$(du -sk $1 | cut -f1) 15.299 + #while [ $sz -gt 1024 -a $n -lt 28 ]; do 15.300 + #n=$(( $n + 1 )) 15.301 + #sz=$(( $sz / 2 )) 15.302 + #done 15.303 + #echo $n 15.304 + echo 24 15.305 +} 15.306 + 15.307 +lzma_switches() 15.308 +{ 15.309 + echo "-d$(lzma_history_bits $1) -mt$(grep ^processor < /proc/cpuinfo | wc -l)" 15.310 +} 15.311 + 15.312 +# Pack rootfs 15.313 +pack_rootfs() 15.314 +{ 15.315 + ( cd $1 ; find . -print | cpio -o -H newc ) | \ 15.316 + if [ "$COMPRESSION" = "none" ]; then 15.317 + echo "Generating uncompressed initramfs... " 15.318 + cat > $2 15.319 + elif [ -x /usr/bin/lzma -a "$COMPRESSION" != "gzip" ]; then 15.320 + echo -n "Generating lzma'ed initramfs... " 15.321 + lzma e -si -so $(lzma_switches $1) > $2 15.322 + else 15.323 + echo "Generating gziped initramfs... " 15.324 + gzip -9 > $2 15.325 + fi 15.326 + echo 1 > /tmp/rootfs 15.327 +} 15.328 + 15.329 +# Compression functions for writeiso. 15.330 +write_initramfs() 15.331 +{ 15.332 + if [ "$COMPRESSION" = "lzma" ]; then 15.333 + echo -n "Creating rootfs.gz with lzma compression... " 15.334 + cat /tmp/list | cpio -o -H newc | lzma e -si -so > /rootfs.gz 15.335 + elif [ "$COMPRESSION" = "gzip" ]; then 15.336 + echo "Creating rootfs.gz with gzip compression... " 15.337 + cat /tmp/list | cpio -o -H newc | gzip -9 > /rootfs.gz 15.338 + else 15.339 + echo "Creating rootfs.gz without compression... " 15.340 + cat /tmp/list | cpio -o -H newc > /rootfs.gz 15.341 + fi 15.342 + echo 1 > /tmp/rootfs 15.343 +} 15.344 + 15.345 +# Generate a new initramfs from the root filesystem. 15.346 +gen_initramfs() 15.347 +{ 15.348 + # Just in case CTRL+c 15.349 + rm -f $DISTRO/gen 15.350 + # Some packages may want to alter rootfs 15.351 + genisohooks rootfs 15.352 + cd $1 15.353 + echo "" 15.354 + 15.355 + # Link duplicate files 15.356 + find . -type f -size +0c -exec stat -c '%s-%a-%u-%g %i %h %n' {} \; | \ 15.357 + sort | ( save=0; old_attr=""; old_inode=""; old_link=""; old_file="" 15.358 + while read attr inode link file; do 15.359 + if [ "$attr" = "$old_attr" -a "$inode" != "$old_inode" ]; then 15.360 + if cmp "$file" "$old_file" >/dev/null; then 15.361 + rm -f "$file" 15.362 + ln "$old_file" "$file" 15.363 + inode="$old_inode" 15.364 + [ "$link" = "1" ] && save="$(expr $save + ${attr%%-*})" 15.365 + fi 15.366 + fi 15.367 + old_attr="$attr" ; old_inode="$inode" ; old_file="$file" 15.368 + done 15.369 + echo "$save bytes saved in duplicate files." 15.370 + ) 15.371 + 15.372 + # Use lzma if installed. Display rootfs size in realtime. 15.373 + rm -f /tmp/rootfs 15.374 + pack_rootfs . $DISTRO/$(basename $1).gz & 15.375 + sleep 2 15.376 + echo -en "\nFilesystem size:" 15.377 + while [ ! -f /tmp/rootfs ] 15.378 + do 15.379 + sleep 1 15.380 + echo -en "\\033[18G`du -sh $DISTRO/rootfs.gz | awk '{print $1}'` " 15.381 + done 15.382 + echo -e "\n" 15.383 + cd $DISTRO 15.384 + mv $(basename $1).gz $ROOTCD/boot 15.385 +} 15.386 + 15.387 +distro_sizes() 15.388 +{ 15.389 + echo "Build date : `date +%Y%m%d\ \at\ \%H:%M:%S`" 15.390 + echo "Packages : `ls -1 $ROOTFS*$INSTALLED/*/receipt | wc -l`" 15.391 + echo "Rootfs size : `du -csh $ROOTFS*/ | awk '{ s=$1 } END { print s }'`" 15.392 + echo "Initramfs size : `du -csh $ROOTCD/boot/rootfs*.gz | awk '{ s=$1 } END { print s }'`" 15.393 + echo "ISO image size : `du -sh $ISO_NAME.iso | awk '{ print $1 }'`" 15.394 + echo "================================================================================" 15.395 + echo "Image is ready: $ISO_NAME.iso" 15.396 + echo "" 15.397 +} 15.398 + 15.399 +# Print ISO and rootfs size. 15.400 +distro_stats() 15.401 +{ 15.402 + echo "" 15.403 + echo -e "\033[1mDistro statistics\033[0m ($DISTRO)" 15.404 + echo "================================================================================" 15.405 + distro_sizes 15.406 +} 15.407 + 15.408 +# Create an empty configuration file. 15.409 +empty_config_file() 15.410 +{ 15.411 + cat >> tazlito.conf << "EOF" 15.412 +# tazlito.conf: Tazlito (SliTaz Live Tool) 15.413 +# configuration file. 15.414 +# 15.415 + 15.416 +# Name of the ISO image to generate. 15.417 +ISO_NAME="" 15.418 + 15.419 +# ISO image volume name. 15.420 +VOLUM_NAME="SliTaz" 15.421 + 15.422 +# Name of the preparer. 15.423 +PREPARED="$USER" 15.424 + 15.425 +# Path to the packages repository and the packages.list. 15.426 +PACKAGES_REPOSITORY="" 15.427 + 15.428 +# Path to the distro tree to gen-distro from a 15.429 +# list of packages. 15.430 +DISTRO="" 15.431 + 15.432 +# Path to the directory containing additional files 15.433 +# to copy into the rootfs and rootcd of the LiveCD. 15.434 +ADDFILES="$DISTRO/addfiles" 15.435 + 15.436 +# Default answer for binary question (Y or N) 15.437 +DEFAULT_ANSWER="ASK" 15.438 + 15.439 +# Compression utility (lzma, gzip or none) 15.440 +COMPRESSION="lzma" 15.441 +EOF 15.442 +} 15.443 + 15.444 +# extract rootfs.gz somewhere 15.445 +extract_rootfs() 15.446 +{ 15.447 + (zcat $1 || unlzma -c $1 || cat $1) 2>/dev/null | \ 15.448 + (cd $2; cpio -idm > /dev/null) 15.449 +} 15.450 + 15.451 +# Remove duplicate files 15.452 +mergefs() 15.453 +{ 15.454 + echo -n "Merge $(basename $1) ($(du -hs $1 | awk '{ print $1}')) into " 15.455 + echo -n "$(basename $2) ($(du -hs $2 | awk '{ print $1}'))" 15.456 + # merge symlinks files and devices 15.457 + ( cd $1; find ) | while read file; do 15.458 + if [ -L $1/$file ]; then 15.459 + [ -L $2/$file ] && 15.460 + [ "$(readlink $1/$file)" == "$(readlink $2/$file)" ] && 15.461 + rm -f $2/$file 15.462 + elif [ -f $1/$file ]; then 15.463 + [ -f $2/$file ] && 15.464 + cmp $1/$file $2/$file > /dev/null 2>&1 && rm -f $2/$file 15.465 + [ -f $2/$file ] && 15.466 + [ "$(basename $file)" == "volatile.cpio.gz" ] && 15.467 + [ "$(dirname $(dirname $file))" == \ 15.468 + "./var/lib/tazpkg/installed" ] && rm -f $2/$file 15.469 + elif [ -b $1/$file ]; then 15.470 + [ -b $2/$file ] && rm -f $2/$file 15.471 + elif [ -c $1/$file ]; then 15.472 + [ -c $2/$file ] && rm -f $2/$file 15.473 + fi 15.474 + done 15.475 + 15.476 + # cleanup directories 15.477 + ( cd $1; find ) | while read file; do 15.478 + if [ -d $1/$file ]; then 15.479 + [ -d $2/$file ] && rmdir $2/$file 2> /dev/null 15.480 + fi 15.481 + done 15.482 + true 15.483 + status 15.484 +} 15.485 + 15.486 +cleanup_merge() 15.487 +{ 15.488 + rm -rf $TMP_DIR 15.489 + exit 1 15.490 +} 15.491 + 15.492 +human2cent() 15.493 +{ 15.494 +case "$1" in 15.495 +*k) echo $1 | sed 's/\(.*\).\(.\)k/\1\2/';; 15.496 +*M) echo $(( $(echo $1 | sed 's/\(.*\).\(.\)M/\1\2/') * 1024));; 15.497 +*G) echo $(( $(echo $1 | sed 's/\(.*\).\(.\)G/\1\2/') * 1024 * 1024));; 15.498 +esac 15.499 +} 15.500 + 15.501 +cent2human() 15.502 +{ 15.503 +if [ $1 -lt 10000 ]; then 15.504 + echo "$(($1 / 10)).$(($1 % 10))k" 15.505 +elif [ $1 -lt 10000000 ]; then 15.506 + echo "$(($1 / 10240)).$(( ($1/1024) % 10))M" 15.507 +else 15.508 + echo "$(($1 / 10485760)).$(( ($1/1048576) % 10))G" 15.509 +fi 15.510 +} 15.511 + 15.512 +get_size() 15.513 +{ 15.514 +cat /var/lib/tazpkg/packages.list $TMP_DIR/packages.list 2>/dev/null | awk "{ \ 15.515 +if (/^$(echo $1 | sed 's/[$+.\]/\\&/g')$/) get=1; \ 15.516 +if (/installed/ && get == 1) { print ; get++ } \ 15.517 +} 15.518 +END { if (get < 2) print \" 0.0k (0.0k installed)\" }" | \ 15.519 +sed 's/ *\(.*\) .\(.*\) installed./\1 \2/' | while read packed unpacked; do 15.520 + echo "$(human2cent $packed) $(human2cent $unpacked)" 15.521 +done 15.522 +} 15.523 + 15.524 +# Display package list with version, set packed_size and unpacked_size 15.525 +get_pkglist() 15.526 +{ 15.527 +packed_size=0; unpacked_size=0 15.528 +grep -v ^# $FLAVORS_REPOSITORY/$1/packages.list > $TMP_DIR/flavor.pkg 15.529 +while read pkg; do 15.530 + set -- $(get_size $pkg) 15.531 + packed_size=$(( $packed_size + $1 )) 15.532 + unpacked_size=$(( $unpacked_size + $2 )) 15.533 + for i in $(grep -hs ^$pkg /var/lib/tazpkg/packages.list \ 15.534 + $TMP_DIR/packages.list); do 15.535 + echo $i 15.536 + break 15.537 + done 15.538 +done < $TMP_DIR/flavor.pkg 15.539 +rm -f $TMP_DIR/flavor.pkg 15.540 +} 15.541 + 15.542 +# Update isolinux config files for multiple rootfs 15.543 +update_bootconfig() 15.544 +{ 15.545 + echo -n "Updating boot config files..." 15.546 + grep -l 'include common' $1/*.cfg | \ 15.547 + while read file ; do 15.548 + awk -v n=$(echo $2 | awk '{ print NF/2 }') '{ 15.549 +if (/label/) label=$0; 15.550 +else if (/kernel/) kernel=$0; 15.551 +else if (/append/) { 15.552 + i=index($0,"rootfs.gz"); 15.553 + append=substr($0,i+9); 15.554 +} 15.555 +else if (/include/) { 15.556 + for (i = 1; i <= n; i++) { 15.557 + print label i 15.558 + print kernel; 15.559 + initrd="initrd=/boot/rootfs" n ".gz" 15.560 + for (j = n - 1; j >= i; j--) { 15.561 + initrd=initrd ",/boot/rootfs" j ".gz"; 15.562 + } 15.563 + printf "\tappend %s%s\n",initrd,append; 15.564 + print ""; 15.565 + } 15.566 + print; 15.567 +} 15.568 +else print; 15.569 +}' < $file > $file.$$ 15.570 + mv -f $file.$$ $file 15.571 + done 15.572 + cat >> $1/common.cfg <<EOT 15.573 + 15.574 +label slitaz 15.575 + kernel /boot/isolinux/ifmem.c32 15.576 + append$(echo $2 | awk '{ 15.577 + for (i=1; i<=NF; i++) 15.578 + if (i % 2 == 0) printf " slitaz%d",i/2 15.579 + else printf " %s",$i 15.580 +}') noram 15.581 + 15.582 +label noram 15.583 + config noram.cfg 15.584 + 15.585 +EOT 15.586 + cat > $1/noram.cfg <<EOT 15.587 +display isolinux.msg 15.588 +say Not enough RAM to boot slitaz. 15.589 +default reboot 15.590 +label reboot 15.591 + com32 reboot.c32 15.592 + 15.593 +implicit 0 15.594 +prompt 1 15.595 +timeout 80 15.596 +F1 help.txt 15.597 +F2 options.txt 15.598 +F3 isolinux.msg 15.599 +F4 display.txt 15.600 +F5 enhelp.txt 15.601 +F6 enopts.txt 15.602 +EOT 15.603 + status 15.604 +} 15.605 + 15.606 +#################### 15.607 +# Tazlito commands # 15.608 +#################### 15.609 + 15.610 +case "$COMMAND" in 15.611 + stats) 15.612 + # Tazlito general statistics from the config file. 15.613 + # 15.614 + echo "" 15.615 + echo -e "\033[1mTazlito statistics\033[0m 15.616 +=============================================================================== 15.617 +Config file : $CONFIG_FILE 15.618 +ISO name : $ISO_NAME.iso 15.619 +Volume name : $VOLUM_NAME 15.620 +Prepared : $PREPARED 15.621 +Packages repository : $PACKAGES_REPOSITORY 15.622 +Distro directory : $DISTRO" 15.623 + if [ ! "$ADDFILES" = "" ] ; then 15.624 + echo -e "Additional files : $ADDFILES" 15.625 + fi 15.626 + echo "================================================================================" 15.627 + echo "" 15.628 + ;; 15.629 + list-addfiles) 15.630 + # Simple list of additonal files in the rootfs 15.631 + echo "" 15.632 + cd $ADDFILES 15.633 + find rootfs -type f 15.634 + echo "" ;; 15.635 + gen-config) 15.636 + # Generate a new config file in the current dir or the specified 15.637 + # directory by $2. 15.638 + # 15.639 + if [ -n "$2" ] ; then 15.640 + mkdir -p $2 && cd $2 15.641 + fi 15.642 + echo -n "Generating empty tazlito.conf..." 15.643 + empty_config_file 15.644 + status 15.645 + echo "" 15.646 + if [ -f "tazlito.conf" ] ; then 15.647 + echo "Configuration file is ready to edit." 15.648 + echo "File location : `pwd`/tazlito.conf" 15.649 + echo "" 15.650 + fi 15.651 + ;; 15.652 + configure) 15.653 + # Configure a tazlito.conf config file. Start by getting 15.654 + # a empty config file and sed it. 15.655 + # 15.656 + if [ -f "tazlito.conf" ] ; then 15.657 + rm tazlito.conf 15.658 + else 15.659 + if test $(id -u) = 0 ; then 15.660 + cd /etc 15.661 + else 15.662 + echo "You must be root to configure the main config file or in" 15.663 + echo "the same directory of the file you want to configure." 15.664 + exit 0 15.665 + fi 15.666 + fi 15.667 + empty_config_file 15.668 + echo"" 15.669 + echo -e "\033[1mConfiguring :\033[0m `pwd`/tazlito.conf" 15.670 + echo "================================================================================" 15.671 + # ISO name. 15.672 + echo -n "ISO name : " ; read answer 15.673 + sed -i s#'ISO_NAME=\"\"'#"ISO_NAME=\"$answer\""# tazlito.conf 15.674 + # Volume name. 15.675 + echo -n "Volume name : " ; read answer 15.676 + sed -i s/'VOLUM_NAME=\"SliTaz\"'/"VOLUM_NAME=\"$answer\""/ tazlito.conf 15.677 + # Packages repository. 15.678 + echo -n "Packages repository : " ; read answer 15.679 + sed -i s#'PACKAGES_REPOSITORY=\"\"'#"PACKAGES_REPOSITORY=\"$answer\""# tazlito.conf 15.680 + # Distro path. 15.681 + echo -n "Distro path : " ; read answer 15.682 + sed -i s#'DISTRO=\"\"'#"DISTRO=\"$answer\""# tazlito.conf 15.683 + echo "================================================================================" 15.684 + echo "Config file is ready to use." 15.685 + echo "You can now extract an ISO or generate a distro." 15.686 + echo "" 15.687 + ;; 15.688 + gen-iso) 15.689 + # Simply generate a new iso. 15.690 + # 15.691 + check_root 15.692 + verify_rootcd 15.693 + gen_livecd_isolinux 15.694 + distro_stats 15.695 + ;; 15.696 + gen-initiso) 15.697 + # Simply generate a new initramfs with a new iso. 15.698 + # 15.699 + check_root 15.700 + verify_rootcd 15.701 + gen_initramfs $ROOTFS 15.702 + gen_livecd_isolinux 15.703 + distro_stats 15.704 + ;; 15.705 + extract-distro) 15.706 + # Extract an ISO image to a directory and rebuild the LiveCD tree. 15.707 + # 15.708 + check_root 15.709 + ISO_IMAGE=$2 15.710 + if [ -z "$ISO_IMAGE" ] ; then 15.711 + echo -e "\nPlease specify the path to the ISO image." 15.712 + echo -e "Example : `basename $0` image.iso /path/target\n" 15.713 + exit 0 15.714 + fi 15.715 + # Set the distro path by checking for $3 on cmdline. 15.716 + if [ -n "$3" ] ; then 15.717 + TARGET=$3 15.718 + else 15.719 + TARGET=$DISTRO 15.720 + fi 15.721 + # Exit if existing distro is found. 15.722 + if [ -d "$TARGET/rootfs" ] ; then 15.723 + echo -e "\nA rootfs exists in : $TARGET" 15.724 + echo -e "Please clean the distro tree or change directory path.\n" 15.725 + exit 0 15.726 + fi 15.727 + echo "" 15.728 + echo -e "\033[1mTazlito extracting :\033[0m `basename $ISO_IMAGE`" 15.729 + echo "================================================================================" 15.730 + # Start to mount the ISO. 15.731 + echo "" 15.732 + echo "Mounting ISO image..." 15.733 + mkdir -p $TMP_DIR 15.734 + # Get ISO file size. 15.735 + isosize=`du -sh $ISO_IMAGE | cut -f1` 15.736 + mount -o loop $ISO_IMAGE $TMP_DIR 15.737 + sleep 2 15.738 + # Prepare target dir, copy the kernel and the rootfs. 15.739 + mkdir -p $TARGET/rootfs 15.740 + mkdir -p $TARGET/rootcd/boot 15.741 + echo -n "Copying the Linux kernel..." 15.742 + if cp $TMP_DIR/boot/vmlinuz* $TARGET/rootcd/boot 2> /dev/null; then 15.743 + ln $TARGET/rootcd/boot/vmlinuz* $TARGET/rootcd/boot/bzImage 15.744 + else 15.745 + cp $TMP_DIR/boot/bzImage $TARGET/rootcd/boot 15.746 + fi 15.747 + status 15.748 + echo -n "Copying isolinux files..." 15.749 + cp -a $TMP_DIR/boot/isolinux $TARGET/rootcd/boot 15.750 + for i in $(ls $TMP_DIR); do 15.751 + [ "$i" = "boot" ] && continue 15.752 + cp -a $TMP_DIR/$i $TARGET/rootcd 15.753 + done 15.754 + status 15.755 + if [ -d $TMP_DIR/boot/syslinux ]; then 15.756 + echo -n "Copying syslinux files..." 15.757 + cp -a $TMP_DIR/boot/syslinux $TARGET/rootcd/boot 15.758 + status 15.759 + fi 15.760 + if [ -d $TMP_DIR/boot/extlinux ]; then 15.761 + echo -n "Copying extlinux files..." 15.762 + cp -a $TMP_DIR/boot/extlinux $TARGET/rootcd/boot 15.763 + status 15.764 + fi 15.765 + if [ -d $TMP_DIR/boot/grub ]; then 15.766 + echo -n "Copying GRUB files..." 15.767 + cp -a $TMP_DIR/boot/grub $TARGET/rootcd/boot 15.768 + status 15.769 + fi 15.770 + 15.771 + echo -n "Copying the rootfs..." 15.772 + cp $TMP_DIR/boot/rootfs.?z $TARGET/rootcd/boot 15.773 + status 15.774 + # Extract initramfs. 15.775 + cd $TARGET/rootfs 15.776 + echo -n "Extracting the rootfs... " 15.777 + extract_rootfs ../rootcd/boot/rootfs.gz $TARGET/rootfs 15.778 + # unpack /usr 15.779 + for i in etc/tazlito/*.extract; do 15.780 + [ -f "$i" ] && . $i ../rootcd 15.781 + done 15.782 + # Umount and remove temp directory and cd to $TARGET to get stats. 15.783 + umount $TMP_DIR && rm -rf $TMP_DIR 15.784 + cd .. 15.785 + echo "" 15.786 + echo "================================================================================" 15.787 + echo "Extracted : `basename $ISO_IMAGE` ($isosize)" 15.788 + echo "Distro tree : `pwd`" 15.789 + echo "Rootfs size : `du -sh rootfs`" 15.790 + echo "Rootcd size : `du -sh rootcd`" 15.791 + echo "================================================================================" 15.792 + echo "" 15.793 + ;; 15.794 + list-flavors) 15.795 + # Show available flavors. 15.796 + if [ ! -s /etc/tazlito/flavors.list -o "$2" == "--recharge" ]; then 15.797 + download flavors.list -O - > /etc/tazlito/flavors.list 15.798 + fi 15.799 + echo "" 15.800 + echo -e "\033[1mList of flavors\033[0m" 15.801 + echo "================================================================================" 15.802 + cat /etc/tazlito/flavors.list 15.803 + echo "" 15.804 + ;; 15.805 + show-flavor) 15.806 + # Show flavor description. 15.807 + FLAVOR=${2%.flavor} 15.808 + if [ ! -f "$FLAVOR.flavor" ]; then 15.809 + echo "File $FLAVOR.flavor not found." 15.810 + exit 1 15.811 + fi 15.812 + mkdir $TMP_DIR 15.813 + zcat $FLAVOR.flavor | ( cd $TMP_DIR; cpio -i 2> /dev/null) 15.814 + if [ "$3" = "--brief" ]; then 15.815 + if [ "$4" != "--noheader" ]; then 15.816 + echo "Name ISO Rootfs Description" 15.817 + echo "================================================================================" 15.818 + fi 15.819 + printf "%-16.16s %6.6s %6.6s %s\n" "$FLAVOR" \ 15.820 + "$(field ISO $TMP_DIR/$FLAVOR.desc)" \ 15.821 + "$(field 'Rootfs size' $TMP_DIR/$FLAVOR.desc)" \ 15.822 + "$(grep ^Description $TMP_DIR/$FLAVOR.desc | cut -d: -f2)" 15.823 + else 15.824 + echo "================================================================================" 15.825 + cat $TMP_DIR/$FLAVOR.desc 15.826 + fi 15.827 + rm -Rf $TMP_DIR 15.828 + ;; 15.829 + gen-liveflavor) 15.830 + # Generate a new flavor form the live system. 15.831 + FLAVOR=${2%.flavor} 15.832 + DESC="" 15.833 + case "$FLAVOR" in 15.834 + '') echo -n "Flavor name : " 15.835 + read FLAVOR 15.836 + [ -z "$FLAVOR" ] && exit 1;; 15.837 + -?|-h*|--help) echo -e " 15.838 + 15.839 +SliTaz Live Tool - Version: $VERSION 15.840 +\033[1mUsage: \033[0m `basename $0` gen-liveflavor flavor-name [flavor-patch-file] 15.841 +\033[1mflavor-patch-file format: \033[0m 15.842 +code data 15.843 ++ package to add 15.844 +- package to remove 15.845 +! non-free package to add 15.846 +? display message 15.847 +@ flavor description 15.848 + 15.849 +\033[1mExample: \033[0m 15.850 +@ Developer tools for slitaz maintainers 15.851 ++ slitaz-toolchain 15.852 ++ mercurial 15.853 +" 15.854 + exit 1;; 15.855 + esac 15.856 + mv /etc/tazlito/distro-packages.list \ 15.857 + /etc/tazlito/distro-packages.list.$$ 2> /dev/null 15.858 + rm -f distro-packages.list non-free.list 2> /dev/null 15.859 + tazpkg recharge 15.860 + [ -n "$3" ] && while read action pkg; do 15.861 + case "$action" in 15.862 + +) yes | tazpkg get-install $pkg;; 15.863 + -) yes | tazpkg remove $pkg;; 15.864 + !) echo $pkg >> non-free.list;; 15.865 + @) DESC="$pkg";; 15.866 + \?) echo -en "$pkg"; read action;; 15.867 + esac 15.868 + done < $3 15.869 + yes '' | tazlito gen-distro 15.870 + echo "$DESC" | tazlito gen-flavor "$FLAVOR" 15.871 + mv /etc/tazlito/distro-packages.list.$$ \ 15.872 + /etc/tazlito/distro-packages.list 2> /dev/null 15.873 + ;; 15.874 + gen-flavor) 15.875 + # Generate a new flavor from the last iso image generated. 15.876 + FLAVOR=${2%.flavor} 15.877 + echo "" 15.878 + echo -e "\033[1mFlavor generation\033[0m" 15.879 + echo "================================================================================" 15.880 + if [ -z "$FLAVOR" ]; then 15.881 + echo -n "Flavor name : " 15.882 + read FLAVOR 15.883 + [ -z "$FLAVOR" ] && exit 1 15.884 + fi 15.885 + check_rootfs 15.886 + FILES="$FLAVOR.pkglist" 15.887 + echo -n "Creating file $FLAVOR.flavor..." 15.888 + for i in rootcd rootfs; do 15.889 + if [ -d "$ADDFILES/$i" ] ; then 15.890 + FILES="$FILES\n$FLAVOR.$i" 15.891 + ( cd "$ADDFILES/$i"; find . | \ 15.892 + cpio -o -H newc 2> /dev/null | gzip -9 ) > $FLAVOR.$i 15.893 + fi 15.894 + done 15.895 + status 15.896 + answer=`grep -s ^Description $FLAVOR.desc` 15.897 + answer=${answer#Description : } 15.898 + if [ -z "$answer" ]; then 15.899 + echo -n "Description : " 15.900 + read answer 15.901 + fi 15.902 + echo -n "Compressing flavor $FLAVOR..." 15.903 + echo "Flavor : $FLAVOR" > $FLAVOR.desc 15.904 + echo "Description : $answer" >> $FLAVOR.desc 15.905 + ( cd $DISTRO; distro_sizes) >> $FLAVOR.desc 15.906 + \rm -f $FLAVOR.pkglist $FLAVOR.nonfree 2> /dev/null 15.907 + for i in $(ls $ROOTFS$INSTALLED); do 15.908 + eval $(grep ^VERSION= $ROOTFS$INSTALLED/$i/receipt) 15.909 + EXTRAVERSION="" 15.910 + eval $(grep ^EXTRAVERSION= $ROOTFS$INSTALLED/$i/receipt) 15.911 + eval $(grep ^CATEGORY= $ROOTFS$INSTALLED/$i/receipt) 15.912 + if [ "$CATEGORY" = "non-free" -a "${i%%-*}" != "get" ] 15.913 + then 15.914 + echo "$i" >> $FLAVOR.nonfree 15.915 + else 15.916 + echo "$i-$VERSION$EXTRAVERSION" >> $FLAVOR.pkglist 15.917 + fi 15.918 + done 15.919 + [ -s $FLAVOR.nonfree ] && $FILES="$FILES\n$FLAVOR.nonfree" 15.920 + for i in $LOCALSTATE/undigest/*/mirror ; do 15.921 + [ -s $i ] && cat $i >> $FLAVOR.mirrors 15.922 + done 15.923 + [ -s $FLAVOR.mirrors ] && $FILES="$FILES\n$FLAVOR.mirrors" 15.924 + echo -e "$FLAVOR.desc\n$FILES" | cpio -o -H newc 2>/dev/null | \ 15.925 + gzip -9 > $FLAVOR.flavor 15.926 + rm `echo -e $FILES` 15.927 + status 15.928 + echo "================================================================================" 15.929 + echo "Flavor size : `du -sh $FLAVOR.flavor`" 15.930 + echo "" 15.931 + ;; 15.932 + upgrade-flavor) 15.933 + # Update package list to the lastest versions available. 15.934 + FLAVOR=${2%.flavor} 15.935 + if [ -f $FLAVOR.flavor ] || download $FLAVOR.flavor; then 15.936 + mkdir $TMP_DIR 15.937 + zcat $FLAVOR.flavor | ( cd $TMP_DIR; cpio -i >/dev/null ) 15.938 + echo -n "Updating $FLAVOR package list..." 15.939 + [ -s /var/lib/tazpkg/packages.list ] || tazpkg recharge 15.940 + packed_size=0; unpacked_size=0 15.941 + while read org; do 15.942 + i=0 15.943 + pkg=$org 15.944 + while ! grep -q ^$pkg$ /var/lib/tazpkg/packages.txt; do 15.945 + pkg=${pkg%-*} 15.946 + i=$(($i + 1)) 15.947 + [ $i -gt 5 ] && break; 15.948 + done 15.949 + set -- $(get_size $pkg) 15.950 + packed_size=$(( $packed_size + $1 )) 15.951 + unpacked_size=$(( $unpacked_size + $2 )) 15.952 + for i in $(grep ^$pkg /var/lib/tazpkg/packages.list); do 15.953 + echo $i 15.954 + break 15.955 + done 15.956 + done < $TMP_DIR/$FLAVOR.pkglist \ 15.957 + > $TMP_DIR/$FLAVOR.pkglist.$$ 15.958 + mv -f $TMP_DIR/$FLAVOR.pkglist.$$ $TMP_DIR/$FLAVOR.pkglist 15.959 + if [ -s $TMP_DIR/$FLAVOR.rootfs ]; then 15.960 + packed_size=$(($packed_size \ 15.961 + + $(cat $TMP_DIR/$FLAVOR.rootfs | wc -c ) / 100 )) 15.962 + unpacked_size=$(($unpacked_size \ 15.963 + + $(zcat $TMP_DIR/$FLAVOR.rootfs | wc -c ) / 100 )) 15.964 + fi 15.965 + # Estimate lzma 15.966 + packed_size=$(($packed_size * 2 / 3)) 15.967 + iso_size=$(( $packed_size + 26000 )) 15.968 + if [ -s $TMP_DIR/$FLAVOR.rootcd ]; then 15.969 + iso_size=$(($iso_size \ 15.970 + + $(zcat $TMP_DIR/$FLAVOR.rootcd | wc -c ) / 100 )) 15.971 + fi 15.972 + sed -i -e '/Image is ready/d' \ 15.973 + -e "s/Rootfs size\( *:\) \(.*\)/Rootfs size\1 $(cent2human $unpacked_size) (estimated)/" \ 15.974 + -e "s/Initramfs size\( *:\) \(.*\)/Initramfs size\1 $(cent2human $packed_size) (estimated)/" \ 15.975 + -e "s/ISO image size\( *:\) \(.*\)/ISO image size\1 $(cent2human $iso_size) (estimated)/" \ 15.976 + -e "s/date\( *:\) \(.*\)/date\1 $(date +%Y%m%d\ \at\ \%H:%M:%S)/" \ 15.977 + $TMP_DIR/$FLAVOR.desc 15.978 + ( cd $TMP_DIR ; ls | cpio -o -H newc ) | gzip -9 > \ 15.979 + $FLAVOR.flavor 15.980 + status 15.981 + rm -Rf $TMP_DIR 15.982 + fi 15.983 + ;; 15.984 + extract-flavor) 15.985 + # Extract a flavor into $FLAVORS_REPOSITORY. 15.986 + FLAVOR=${2%.flavor} 15.987 + if [ -f $FLAVOR.flavor ] || download $FLAVOR.flavor; then 15.988 + mkdir $TMP_DIR 15.989 + zcat $FLAVOR.flavor | ( cd $TMP_DIR; cpio -i >/dev/null ) 15.990 + echo -n "Extracting $FLAVOR..." 15.991 + rm -rf $FLAVORS_REPOSITORY/$FLAVOR 2> /dev/null 15.992 + mkdir -p $FLAVORS_REPOSITORY/$FLAVOR 15.993 + echo "FLAVOR=\"$FLAVOR\"" > $FLAVORS_REPOSITORY/$FLAVOR/receipt 15.994 + grep ^Description $TMP_DIR/$FLAVOR.desc | \ 15.995 + sed 's/.*: \(.*\)$/SHORT_DESC="\1"/' >> \ 15.996 + $FLAVORS_REPOSITORY/$FLAVOR/receipt 15.997 + grep -q '^Rootfs list' $TMP_DIR/$FLAVOR.desc && \ 15.998 + grep '^Rootfs list' $TMP_DIR/$FLAVOR.desc | \ 15.999 + sed 's/.*: \(.*\)$/ROOTFS_SELECTION="\1"/' >> \ 15.1000 + $FLAVORS_REPOSITORY/$FLAVOR/receipt 15.1001 + grep '^Rootfs size' $TMP_DIR/$FLAVOR.desc | \ 15.1002 + sed 's/.*: \(.*\)$/ROOTFS_SIZE="\1"/' >> \ 15.1003 + $FLAVORS_REPOSITORY/$FLAVOR/receipt 15.1004 + grep ^Initramfs $TMP_DIR/$FLAVOR.desc | \ 15.1005 + sed 's/.*: \(.*\)$/INITRAMFS_SIZE="\1"/' >> \ 15.1006 + $FLAVORS_REPOSITORY/$FLAVOR/receipt 15.1007 + grep ^ISO $TMP_DIR/$FLAVOR.desc | \ 15.1008 + sed 's/.*: \(.*\)$/ISO_SIZE="\1"/' >> \ 15.1009 + $FLAVORS_REPOSITORY/$FLAVOR/receipt 15.1010 + for i in rootcd rootfs; do 15.1011 + [ -f $TMP_DIR/$FLAVOR.$i ] || continue 15.1012 + mkdir $FLAVORS_REPOSITORY/$FLAVOR/$i 15.1013 + zcat $TMP_DIR/$FLAVOR.$i | \ 15.1014 + (cd $FLAVORS_REPOSITORY/$FLAVOR/$i; \ 15.1015 + cpio -idm > /dev/null) 15.1016 + done 15.1017 + [ -s $TMP_DIR/$FLAVOR.mirrors ] && 15.1018 + cp $TMP_DIR/$FLAVOR.mirrors \ 15.1019 + $FLAVORS_REPOSITORY/$FLAVOR/mirrors 15.1020 + [ -s /var/lib/tazpkg/packages.list ] || tazpkg recharge 15.1021 + while read org; do 15.1022 + i=0 15.1023 + pkg=$org 15.1024 + while ! grep -q ^$pkg$ /var/lib/tazpkg/packages.txt; do 15.1025 + pkg=${pkg%-*} 15.1026 + i=$(($i + 1)) 15.1027 + [ $i -gt 5 ] && break; 15.1028 + done 15.1029 + echo $pkg 15.1030 + done < $TMP_DIR/$FLAVOR.pkglist \ 15.1031 + > $FLAVORS_REPOSITORY/$FLAVOR/packages.list 15.1032 + status 15.1033 + rm -Rf $TMP_DIR 15.1034 + fi 15.1035 + ;; 15.1036 + pack-flavor) 15.1037 + # Create a flavor from $FLAVORS_REPOSITORY. 15.1038 + FLAVOR=${2%.flavor} 15.1039 + if [ -s $FLAVORS_REPOSITORY/$FLAVOR/receipt ]; then 15.1040 + mkdir $TMP_DIR 15.1041 + echo -n "Creating flavor $FLAVOR..." 15.1042 + [ -s /var/lib/tazpkg/packages.list ] || tazpkg recharge 15.1043 + if [ -s $FLAVORS_REPOSITORY/$FLAVOR/mirrors ]; then 15.1044 + cp $FLAVORS_REPOSITORY/$FLAVOR/mirrors \ 15.1045 + $TMP_DIR/$FLAVOR.mirrors 15.1046 + for i in $(cat $TMP_DIR/$FLAVOR.mirrors); do 15.1047 + wget -O - $i/packages.list >> $TMP_DIR/packages.list 15.1048 + done 15.1049 + fi 15.1050 + [ -s $FLAVORS_REPOSITORY/$FLAVOR/packages.list ] && 15.1051 + get_pkglist $FLAVOR > $TMP_DIR/$FLAVOR.pkglist 15.1052 + if grep -q ^ROOTFS_SELECTION \ 15.1053 + $FLAVORS_REPOSITORY/$FLAVOR/receipt; then 15.1054 + . $FLAVORS_REPOSITORY/$FLAVOR/receipt 15.1055 + set -- $ROOTFS_SELECTION 15.1056 + [ -n "$FRUGAL_RAM" ] || FRUGAL_RAM=$1 15.1057 + [ -f $FLAVORS_REPOSITORY/$2/packages.list ] || 15.1058 + tazlito extract-flavor $2 15.1059 + get_pkglist $2 > $TMP_DIR/$FLAVOR.pkglist 15.1060 + fi 15.1061 + for i in rootcd rootfs; do 15.1062 + [ -d $FLAVORS_REPOSITORY/$FLAVOR/$i ] || \ 15.1063 + continue 15.1064 + ( cd $FLAVORS_REPOSITORY/$FLAVOR/$i ; find . | \ 15.1065 + cpio -o -H newc 2> /dev/null ) | \ 15.1066 + gzip -9 >$TMP_DIR/$FLAVOR.$i 15.1067 + done 15.1068 + if [ -s $TMP_DIR/$FLAVOR.rootfs ]; then 15.1069 + packed_size=$(($packed_size \ 15.1070 + + $(cat $TMP_DIR/$FLAVOR.rootfs | wc -c ) / 100 )) 15.1071 + unpacked_size=$(($unpacked_size \ 15.1072 + + $(zcat $TMP_DIR/$FLAVOR.rootfs | wc -c ) / 100 )) 15.1073 + fi 15.1074 + # Estimate lzma 15.1075 + packed_size=$(($packed_size * 2 / 3)) 15.1076 + iso_size=$(( $packed_size + 26000 )) 15.1077 + if [ -s $TMP_DIR/$FLAVOR.rootcd ]; then 15.1078 + iso_size=$(($iso_size \ 15.1079 + + $(zcat $TMP_DIR/$FLAVOR.rootcd | wc -c ) / 100 )) 15.1080 + fi 15.1081 + VERSION="" 15.1082 + MAINTAINER="" 15.1083 + ROOTFS_SELECTION="" 15.1084 + ROOTFS_SIZE="$(cent2human $unpacked_size) (estimated)" 15.1085 + INITRAMFS_SIZE="$(cent2human $packed_size) (estimated)" 15.1086 + ISO_SIZE="$(cent2human $iso_size) (estimated)" 15.1087 + . $FLAVORS_REPOSITORY/$FLAVOR/receipt 15.1088 + cat > $TMP_DIR/$FLAVOR.desc <<EOT 15.1089 +Flavor : $FLAVOR 15.1090 +Description : $SHORT_DESC 15.1091 +EOT 15.1092 + [ -n "$VERSION" ] && cat >> $TMP_DIR/$FLAVOR.desc <<EOT 15.1093 +Version : $VERSION 15.1094 +EOT 15.1095 + [ -n "$MAINTAINER" ] && cat >> $TMP_DIR/$FLAVOR.desc <<EOT 15.1096 +Maintainer : $MAINTAINER 15.1097 +EOT 15.1098 + [ -n "$FRUGAL_RAM" ] && cat >> $TMP_DIR/$FLAVOR.desc <<EOT 15.1099 +LiveCD RAM size : $FRUGAL_RAM 15.1100 +EOT 15.1101 + [ -n "$ROOTFS_SELECTION" ] && cat >> $TMP_DIR/$FLAVOR.desc <<EOT 15.1102 +Rootfs list : $ROOTFS_SELECTION 15.1103 +EOT 15.1104 + cat >> $TMP_DIR/$FLAVOR.desc <<EOT 15.1105 +Build date : $(date +%Y%m%d\ \at\ \%H:%M:%S) 15.1106 +Packages : $(grep -v ^# $TMP_DIR/$FLAVOR.pkglist | wc -l) 15.1107 +Rootfs size : $ROOTFS_SIZE 15.1108 +Initramfs size : $INITRAMFS_SIZE 15.1109 +ISO image size : $ISO_SIZE 15.1110 +================================================================================ 15.1111 + 15.1112 +EOT 15.1113 + rm -f $TMP_DIR/packages.list 15.1114 + ( cd $TMP_DIR ; ls | cpio -o -H newc 2> /dev/null) | \ 15.1115 + gzip -9 > $FLAVOR.flavor 15.1116 + status 15.1117 + rm -Rf $TMP_DIR 15.1118 + else 15.1119 + echo "No $FLAVOR flavor in $FLAVORS_REPOSITORY." 15.1120 + fi 15.1121 + ;; 15.1122 + get-flavor) 15.1123 + # Get a flavor's files and prepare for gen-distro. 15.1124 + FLAVOR=${2%.flavor} 15.1125 + echo "" 15.1126 + if [ -f $FLAVOR.flavor ] || download $FLAVOR.flavor; then 15.1127 + echo -n "Cleaning $DISTRO..." 15.1128 + rm -R $DISTRO 2> /dev/null 15.1129 + mkdir -p $DISTRO 15.1130 + status 15.1131 + mkdir $TMP_DIR 15.1132 + echo -n "Extracting flavor $FLAVOR.flavor... " 15.1133 + zcat $FLAVOR.flavor | ( cd $TMP_DIR; cpio -i 2>/dev/null ) 15.1134 + echo -n "Creating distro-packages.list..." 15.1135 + mv $TMP_DIR/$FLAVOR.nonfree non-free.list 2> /dev/null 15.1136 + mv $TMP_DIR/$FLAVOR.pkglist distro-packages.list 15.1137 + status 15.1138 + for i in rootcd rootfs; do 15.1139 + if [ -f $TMP_DIR/$FLAVOR.$i ]; then 15.1140 + echo -n "Adding $i... " 15.1141 + mkdir -p "$ADDFILES/$i" 15.1142 + zcat $TMP_DIR/$FLAVOR.$i | \ 15.1143 + ( cd "$ADDFILES/$i"; cpio -id 2> /dev/null) 15.1144 + fi 15.1145 + done 15.1146 + if [ -s $TMP_DIR/$FLAVOR.mirrors ]; then 15.1147 + n="" 15.1148 + while read line; do 15.1149 + mkdir -p $LOCALSTATE/undigest/$FLAVOR$n 15.1150 + echo "$line" > $LOCALSTATE/undigest/$FLAVOR$n/mirror 15.1151 + n=$(( $n + 1 )) 15.1152 + done < $TMP_DIR/$FLAVOR.mirrors 15.1153 + tazpkg recharge 15.1154 + fi 15.1155 + rm -f /etc/tazlito/rootfs.list 15.1156 + grep -q '^Rootfs list' $TMP_DIR/$FLAVOR.desc && 15.1157 + grep '^Rootfs list' $TMP_DIR/$FLAVOR.desc | \ 15.1158 + sed 's/.*: \(.*\)$/\1/' > /etc/tazlito/rootfs.list 15.1159 + echo -n "Updating tazlito.conf..." 15.1160 + [ -f tazlito.conf ] || cp /etc/tazlito/tazlito.conf . 15.1161 + cat tazlito.conf | grep -v "^#VOLUM_NAME" | \ 15.1162 + sed "s/^VOLUM_NA/VOLUM_NAME=\"SliTaz $FLAVOR\"\\n#VOLUM_NA/" \ 15.1163 + > tazlito.conf.$$ && mv tazlito.conf.$$ tazlito.conf 15.1164 + sed -i "s/ISO_NAME=.*/ISO_NAME=\"slitaz-$FLAVOR\"/" tazlito.conf 15.1165 + status 15.1166 + rm -Rf $TMP_DIR 15.1167 + fi 15.1168 + echo "" 15.1169 + ;; 15.1170 + check-list) 15.1171 + # Use current packages list in $PWD by default. 15.1172 + DISTRO_PKGS_LIST=distro-packages.list 15.1173 + [ -d "$2" ] && DISTRO_PKGS_LIST=$2/distro-packages.list 15.1174 + [ -f "$2" ] && DISTRO_PKGS_LIST=$2 15.1175 + [ ! -f $DISTRO_PKGS_LIST ] && echo "No packages list found." && exit 0 15.1176 + echo "" 15.1177 + echo -e "\033[1mLiveCD packages list check\033[0m" 15.1178 + echo "================================================================================" 15.1179 + for pkg in `cat $DISTRO_PKGS_LIST` 15.1180 + do 15.1181 + if ! grep -q "$pkg" /var/lib/tazpkg/packages.list; then 15.1182 + echo "Update: $pkg" 15.1183 + up=$(($up + 1)) 15.1184 + fi 15.1185 + done 15.1186 + [ -z $up ] && echo -e "List is up-to-date\n" && exit 0 15.1187 + echo "================================================================================" 15.1188 + echo -e "Updates: $up\n" ;; 15.1189 + gen-distro) 15.1190 + # Generate a live distro tree with a set of packages. 15.1191 + # 15.1192 + check_root 15.1193 + 15.1194 + # Check if a package list was specified on cmdline. 15.1195 + LIST_NAME="distro-packages.list" 15.1196 + CDROM="" 15.1197 + while [ -n "$2" ]; do 15.1198 + case "$2" in 15.1199 + --iso=*) 15.1200 + CDROM="-o loop ${2#--iso=}" 15.1201 + ;; 15.1202 + --cdrom) 15.1203 + CDROM="/dev/cdrom" 15.1204 + ;; 15.1205 + --force) 15.1206 + DELETE_ROOTFS="true" 15.1207 + ;; 15.1208 + *) if [ ! -f "$2" ] ; then 15.1209 + echo -e "\nUnable to find the specified packages list." 15.1210 + echo -e "List name : $2\n" 15.1211 + exit 1 15.1212 + fi 15.1213 + LIST_NAME=$2 15.1214 + ;; 15.1215 + esac 15.1216 + shift 15.1217 + done 15.1218 + 15.1219 + if [ -d $ROOTFS ] ; then 15.1220 + # Delete $ROOTFS if --force is set on command line 15.1221 + if [ ! -z $DELETE_ROOTFS ]; then 15.1222 + rm -rf $ROOTFS 15.1223 + unset $DELETE_ROOTFS 15.1224 + else 15.1225 + echo -e "\nA rootfs exists in : $DISTRO" 15.1226 + echo -e "Please clean the distro tree or change directory path.\n" 15.1227 + exit 0 15.1228 + fi 15.1229 + fi 15.1230 + if [ ! -f "$LIST_NAME" -a -d $INSTALLED ] ; then 15.1231 + # Build list with installed packages 15.1232 + for i in $(ls $INSTALLED); do 15.1233 + eval $(grep ^VERSION= $INSTALLED/$i/receipt) 15.1234 + EXTRAVERSION="" 15.1235 + eval $(grep ^EXTRAVERSION= $INSTALLED/$i/receipt) 15.1236 + echo "$i-$VERSION$EXTRAVERSION" >> $LIST_NAME 15.1237 + done 15.1238 + fi 15.1239 + # Exit if no list name. 15.1240 + if [ ! -f "$LIST_NAME" ]; then 15.1241 + echo -e "\nNo packages list found or specified. Please read the docs.\n" 15.1242 + exit 0 15.1243 + fi 15.1244 + # Start generation. 15.1245 + echo "" 15.1246 + echo -e "\033[1mTazlito generating a distro\033[0m" 15.1247 + echo "================================================================================" 15.1248 + # Misc checks 15.1249 + [ -n "$PACKAGES_REPOSITORY" ] || PACKAGES_REPOSITORY="." 15.1250 + [ -d $PACKAGES_REPOSITORY ] || mkdir -p $PACKAGES_REPOSITORY 15.1251 + # Get the list of packages using cat for a file list. 15.1252 + LIST=`cat $LIST_NAME` 15.1253 + # Verify if all packages in list are present in $PACKAGES_REPOSITORY. 15.1254 + REPACK="" 15.1255 + DOWNLOAD="" 15.1256 + for pkg in $LIST 15.1257 + do 15.1258 + [ "$pkg" = "" ] && continue 15.1259 + pkg=${pkg%.tazpkg} 15.1260 + [ -f $PACKAGES_REPOSITORY/$pkg.tazpkg ] && continue 15.1261 + PACKAGE=$(installed_package_name $pkg) 15.1262 + [ -n "$PACKAGE" -a "$REPACK" = "y" ] && continue 15.1263 + [ -z "$PACKAGE" -a -n "$DOWNLOAD" ] && continue 15.1264 + echo -e "\nUnable to find $pkg in the repository." 15.1265 + echo -e "Path : $PACKAGES_REPOSITORY\n" 15.1266 + if [ -n "$PACKAGE" -a -z "$REPACK" ]; then 15.1267 + yesorno "Repack packages from rootfs (y/N) ? " 15.1268 + REPACK="$answer" 15.1269 + [ "$answer" = "y" ] || REPACK="n" 15.1270 + [ "$DOWNLOAD" = "y" ] && break 15.1271 + fi 15.1272 + if [ -f $MIRROR -a -z "$DOWNLOAD" ]; then 15.1273 + yesorno "Download packages from mirror (Y/n) ? " 15.1274 + DOWNLOAD="$answer" 15.1275 + if [ "$answer" = "n" ]; then 15.1276 + [ -z "$PACKAGE" ] && exit 1 15.1277 + else 15.1278 + DOWNLOAD="y" 15.1279 + [ -n "$REPACK" ] && break 15.1280 + fi 15.1281 + fi 15.1282 + [ "$REPACK" = "n" -a "$DOWNLOAD" = "n" ] && exit 1 15.1283 + done 15.1284 + 15.1285 + # Mount cdrom to be able to repack boot-loader packages 15.1286 + if [ ! -e /boot -a -n "$CDROM" ]; then 15.1287 + mkdir $TMP_MNT 15.1288 + if mount -r $CDROM $TMP_MNT 2> /dev/null; then 15.1289 + ln -s $TMP_MNT/boot / 15.1290 + if [ ! -d "$ADDFILES/rootcd" ] ; then 15.1291 + mkdir -p $ADDFILES/rootcd 15.1292 + for i in $(ls $TMP_MNT); do 15.1293 + [ "$i" = "boot" ] && continue 15.1294 + cp -a $TMP_MNT/$i $ADDFILES/rootcd 15.1295 + done 15.1296 + fi 15.1297 + else 15.1298 + rmdir $TMP_MNT 15.1299 + fi 15.1300 + fi 15.1301 + 15.1302 + # Root fs stuff. 15.1303 + echo "Preparing the rootfs directory..." 15.1304 + mkdir -p $ROOTFS 15.1305 + sleep 2 15.1306 + for pkg in $LIST 15.1307 + do 15.1308 + [ "$pkg" = "" ] && continue 15.1309 + # First copy and extract the package in tmp dir. 15.1310 + pkg=${pkg%.tazpkg} 15.1311 + PACKAGE=$(installed_package_name $pkg) 15.1312 + mkdir -p $TMP_DIR 15.1313 + if [ ! -f $PACKAGES_REPOSITORY/$pkg.tazpkg ]; then 15.1314 + # Look for package in cache 15.1315 + if [ -f $CACHE_DIR/$pkg.tazpkg ]; then 15.1316 + ln -s $CACHE_DIR/$pkg.tazpkg $PACKAGES_REPOSITORY 15.1317 + # Look for package in running distribution 15.1318 + elif [ -n "$PACKAGE" -a "$REPACK" = "y" ]; then 15.1319 + tazpkg repack $PACKAGE && \ 15.1320 + mv $pkg.tazpkg $PACKAGES_REPOSITORY 15.1321 + fi 15.1322 + fi 15.1323 + if [ ! -f $PACKAGES_REPOSITORY/$pkg.tazpkg ]; then 15.1324 + # Get package from mirror 15.1325 + [ "$DOWNLOAD" = "y" ] && \ 15.1326 + download $pkg.tazpkg && \ 15.1327 + mv $pkg.tazpkg $PACKAGES_REPOSITORY 15.1328 + fi 15.1329 + if [ ! -f $PACKAGES_REPOSITORY/$pkg.tazpkg ]; then 15.1330 + echo "Missing package $pkg." 15.1331 + cleanup 15.1332 + exit 1 15.1333 + fi 15.1334 + done 15.1335 + if [ -f non-free.list ]; then 15.1336 + echo "Preparing non-free packages..." 15.1337 + cp non-free.list $ROOTFS/etc/tazlito/non-free.list 15.1338 + for pkg in $(cat non-free.list); do 15.1339 + if [ ! -d $INSTALLED/$pkg ]; then 15.1340 + if [ ! -d $INSTALLED/get-$pkg ]; then 15.1341 + tazpkg get-install get-$pkg 15.1342 + fi 15.1343 + get-$pkg 15.1344 + fi 15.1345 + tazpkg repack $pkg 15.1346 + pkg=$(ls $pkg*.tazpkg) 15.1347 + grep -q "^$pkg$" $LIST_NAME || \ 15.1348 + echo $pkg >>$LIST_NAME 15.1349 + mv $pkg $PACKAGES_REPOSITORY 15.1350 + done 15.1351 + fi 15.1352 + echo "" 15.1353 + cp $LIST_NAME $DISTRO/distro-packages.list 15.1354 + sed 's/\(.*\)/\1.tazpkg/' < $DISTRO/distro-packages.list > $DISTRO/list-packages 15.1355 + cd $PACKAGES_REPOSITORY 15.1356 + yes y | tazpkg install-list \ 15.1357 + $DISTRO/list-packages --root=$ROOTFS 15.1358 + cd $DISTRO 15.1359 + cp distro-packages.list $ROOTFS/etc/tazlito 15.1360 + # Copy all files from $ADDFILES/rootfs to the rootfs. 15.1361 + if [ -d "$ADDFILES/rootfs" ] ; then 15.1362 + echo -n "Copying addfiles content to the rootfs... " 15.1363 + cp -a $ADDFILES/rootfs/* $ROOTFS 15.1364 + status 15.1365 + fi 15.1366 + echo "Root file system is generated..." 15.1367 + # Root CD part. 15.1368 + echo -n "Preparing the rootcd directory..." 15.1369 + mkdir -p $ROOTCD 15.1370 + status 15.1371 + # Move the boot dir with the Linux kernel from rootfs. 15.1372 + # The boot dir goes directly on the CD. 15.1373 + if [ -d "$ROOTFS/boot" ] ; then 15.1374 + echo -n "Moving the boot directory..." 15.1375 + mv $ROOTFS/boot $ROOTCD 15.1376 + cd $ROOTCD/boot 15.1377 + ln vmlinuz-* bzImage 15.1378 + status 15.1379 + fi 15.1380 + cd $DISTRO 15.1381 + # Copy all files from $ADDFILES/rootcd to the rootcd. 15.1382 + if [ -d "$ADDFILES/rootcd" ] ; then 15.1383 + echo -n "Copying addfiles content to the rootcd... " 15.1384 + cp -a $ADDFILES/rootcd/* $ROOTCD 15.1385 + status 15.1386 + fi 15.1387 + # Execute the distro script (used to perform tasks in the rootfs 15.1388 + # before compression. Give rootfs path in arg 15.1389 + [ -z $DISTRO_SCRIPT ] && DISTRO_SCRIPT=$TOP_DIR/distro.sh 15.1390 + if [ -x $DISTRO_SCRIPT ]; then 15.1391 + echo "Executing distro script..." 15.1392 + sh $DISTRO_SCRIPT $DISTRO 15.1393 + fi 15.1394 + if [ -s /etc/tazlito/rootfs.list ]; then 15.1395 + [ -f $ROOTCD/boot/isolinux/ifmem.c32 ] || 15.1396 + cp /boot/isolinux/ifmem.c32 $ROOTCD/boot/isolinux 15.1397 + n=0 15.1398 + last=$ROOTFS 15.1399 + while read flavor; do 15.1400 + n=$(($n+1)) 15.1401 + echo "Building $flavor rootfs..." 15.1402 + download $flavor.flavor 15.1403 + zcat $flavor.flavor | cpio -i $flavor.pkglist 15.1404 + sed 's/.*/&.tazpkg/' < $flavor.pkglist \ 15.1405 + > $DISTRO/list-packages0$n 15.1406 + mkdir ${ROOTFS}0$n 15.1407 + cd $PACKAGES_REPOSITORY 15.1408 + yes y | tazpkg install-list \ 15.1409 + $DISTRO/list-packages0$n --root=${ROOTFS}0$n 15.1410 + rm -rf ${ROOTFS}0$n/boot 15.1411 + status 15.1412 + cd $DISTRO 15.1413 + mv $flavor.pkglist ${ROOTFS}0$n/etc/tazlito/distro-packages.list 15.1414 + rm -f $flavor.flavor install-list 15.1415 + mergefs ${ROOTFS}0$n $last 15.1416 + last=${ROOTFS}0$n 15.1417 + done <<EOT 15.1418 +$(awk '{ for (i = 4; i <= NF; i+=2) print $i; }' < /etc/tazlito/rootfs.list) 15.1419 +EOT 15.1420 + i=$(($n+1)) 15.1421 + while [ $n -gt 0 ]; do 15.1422 + mv ${ROOTFS}0$n ${ROOTFS}$i 15.1423 + echo "Compression ${ROOTFS}0$n ($(du -hs ${ROOTFS}$i | awk '{ print $1 }')) ..." 15.1424 + gen_initramfs ${ROOTFS}$i 15.1425 + n=$(($n-1)) 15.1426 + i=$(($i-1)) 15.1427 + done 15.1428 + mv $ROOTFS ${ROOTFS}$i 15.1429 + gen_initramfs ${ROOTFS}$i 15.1430 + update_bootconfig $ROOTCD/boot/isolinux \ 15.1431 + "$(cat /etc/tazlito/rootfs.list)" 15.1432 + else 15.1433 + # Initramfs and ISO image stuff. 15.1434 + gen_initramfs $ROOTFS 15.1435 + fi 15.1436 + gen_livecd_isolinux 15.1437 + distro_stats 15.1438 + cleanup 15.1439 + ;; 15.1440 + clean-distro) 15.1441 + # Remove old distro tree. 15.1442 + # 15.1443 + check_root 15.1444 + echo "" 15.1445 + echo -e "\033[1mCleaning :\033[0m $DISTRO" 15.1446 + echo "================================================================================" 15.1447 + if [ -d "$DISTRO" ] ; then 15.1448 + if [ -d "$ROOTFS" ] ; then 15.1449 + echo -n "Removing the rootfs..." 15.1450 + rm -f $DISTRO/$INITRAMFS 15.1451 + rm -rf $ROOTFS 15.1452 + status 15.1453 + fi 15.1454 + if [ -d "$ROOTCD" ] ; then 15.1455 + echo -n "Removing the rootcd..." 15.1456 + rm -rf $ROOTCD 15.1457 + status 15.1458 + fi 15.1459 + echo -n "Removing eventual ISO image..." 15.1460 + rm -f $DISTRO/$ISO_NAME.iso 15.1461 + rm -f $DISTRO/$ISO_NAME.md5 15.1462 + status 15.1463 + fi 15.1464 + echo "================================================================================" 15.1465 + echo "" 15.1466 + ;; 15.1467 + check-distro) 15.1468 + # Check for a few LiveCD needed files not installed by packages. 15.1469 + # 15.1470 + check_rootfs 15.1471 + echo "" 15.1472 + echo -e "\033[1mChecking distro :\033[0m $ROOTFS" 15.1473 + echo "================================================================================" 15.1474 + # SliTaz release info. 15.1475 + if [ ! -f "$ROOTFS/etc/slitaz-release" ]; then 15.1476 + echo "Missing release info : /etc/slitaz-release" 15.1477 + else 15.1478 + release=`cat $ROOTFS/etc/slitaz-release` 15.1479 + echo -n "Release : $release" 15.1480 + status 15.1481 + fi 15.1482 + # Tazpkg mirror. 15.1483 + if [ ! -f "$ROOTFS/var/lib/tazpkg/mirror" ]; then 15.1484 + echo -n "Mirror URL : Missing /var/lib/tazpkg/mirror" 15.1485 + todomsg 15.1486 + else 15.1487 + echo -n "Mirror configuration exists..." 15.1488 + status 15.1489 + fi 15.1490 + # Isolinux msg 15.1491 + if grep -q "cooking-XXXXXXXX" /$ROOTCD/boot/isolinux/isolinux.msg; then 15.1492 + echo -n "Isolinux msg : Missing cooking date XXXXXXXX (ex `date +%Y%m%d`)" 15.1493 + todomsg 15.1494 + else 15.1495 + echo -n "Isolinux message seems good..." 15.1496 + status 15.1497 + fi 15.1498 + echo "================================================================================" 15.1499 + echo "" 15.1500 + ;; 15.1501 + writeiso) 15.1502 + # Writefs to ISO image including /home unlike gen-distro we dont use 15.1503 + # packages to generate a rootfs, we build a compressed rootfs with all 15.1504 + # the current filesystem similar to 'tazusb writefs'. 15.1505 + # 15.1506 + DISTRO="/home/slitaz/distro" 15.1507 + ROOTCD="$DISTRO/rootcd" 15.1508 + if [ -z $2 ]; then 15.1509 + COMPRESSION=none 15.1510 + else 15.1511 + COMPRESSION=$2 15.1512 + fi 15.1513 + if [ -z $3 ]; then 15.1514 + ISO_NAME="slitaz" 15.1515 + else 15.1516 + ISO_NAME="$3" 15.1517 + fi 15.1518 + check_root 15.1519 + # Start info 15.1520 + echo "" 15.1521 + echo -e "\033[1mWrite filesystem to ISO\033[0m 15.1522 +=============================================================================== 15.1523 +The command writeiso will write the current filesystem into a suitable cpio 15.1524 +archive (rootfs.gz) and generate a bootable ISO image (slitaz.iso). 15.1525 + 15.1526 +Archive compression: $COMPRESSION" 15.1527 + echo "" 15.1528 + 15.1529 + # Save some space 15.1530 + rm /var/cache/tazpkg/* -r -f 15.1531 + rm -rf /home/slitaz/distro 15.1532 + 15.1533 + # Optionally remove sound card selection and screen resolution. 15.1534 + echo "Do you wish to remove the sound card and screen config ? " 15.1535 + echo -n "Press ENTER to keep or anser (No|yes|exit): " 15.1536 + read anser 15.1537 + case $anser in 15.1538 + e|E|"exit"|Exit) 15.1539 + exit 0 ;; 15.1540 + y|Y|yes|Yes) 15.1541 + echo -n "Removing current sound card and screen configuration..." 15.1542 + rm -f /var/lib/sound-card-driver 15.1543 + rm -f /etc/asound.state 15.1544 + rm -f /etc/X11/screen.conf 15.1545 + rm -f /etc/X11/xorg.conf ;; 15.1546 + *) 15.1547 + echo -n "Keeping current sound card and screen configuration..." ;; 15.1548 + esac 15.1549 + status 15.1550 + 15.1551 + # Create list of files including default user files since it is defined in /etc/passwd 15.1552 + # and some new users might have been added. 15.1553 + find /bin /etc /init /sbin /var /dev /lib /root /usr /home >/tmp/list 15.1554 + 15.1555 + for dir in /proc /sys /tmp /mnt /media /media/cdrom /media/flash /media/usbdisk 15.1556 + do 15.1557 + echo $dir >>/tmp/list 15.1558 + done 15.1559 + 15.1560 + # Generate initramfs with specified compression and display rootf 15.1561 + # size in realtime. 15.1562 + rm -f /tmp/rootfs 15.1563 + write_initramfs & 15.1564 + sleep 2 15.1565 + echo -en "\nFilesystem size:" 15.1566 + while [ ! -f /tmp/rootfs ] 15.1567 + do 15.1568 + sleep 1 15.1569 + echo -en "\\033[18G`du -sh /rootfs.gz | awk '{print $1}'` " 15.1570 + done 15.1571 + echo -e "\n" 15.1572 + 15.1573 + # Move freshly generated rootfs to the cdrom. 15.1574 + mkdir -p $ROOTCD/boot 15.1575 + mv -f /rootfs.gz $ROOTCD/boot 15.1576 + 15.1577 + # Now we need the kernel and isolinux files. 15.1578 + if mount /dev/cdrom /media/cdrom 2>/dev/null; then 15.1579 + cp /media/cdrom/boot/bzImage $ROOTCD/boot 15.1580 + cp -a /media/cdrom/boot/isolinux $ROOTCD/boot 15.1581 + umount /media/cdrom 15.1582 + else 15.1583 + echo -e " 15.1584 +Unable to mount the cdrom to copy the Kernel and needed files. When SliTaz 15.1585 +is running in RAM the kernel and bootloader files are keeped on the cdrom. 15.1586 +Please insert a LiveCD or unmount curent cdrom to let Tazlito handle the media.\n" 15.1587 + echo -en "----\nENTER to continue..."; read i 15.1588 + exit 1 15.1589 + fi 15.1590 + 15.1591 + # Generate the iso image. 15.1592 + cd $DISTRO 15.1593 + echo "Generating ISO image..." 15.1594 + genisoimage -R -o $ISO_NAME.iso -b boot/isolinux/isolinux.bin \ 15.1595 + -c boot/isolinux/boot.cat -no-emul-boot -boot-load-size 4 \ 15.1596 + -V "SliTaz" -input-charset iso8859-1 -boot-info-table $ROOTCD 15.1597 + if [ -x /usr/bin/isohybrid ]; then 15.1598 + echo -n "Creating hybrid ISO..." 15.1599 + /usr/bin/isohybrid $ISO_NAME.iso 2> /dev/null 15.1600 + status 15.1601 + fi 15.1602 + echo -n "Creating the ISO md5sum..." 15.1603 + md5sum $ISO_NAME.iso > $ISO_NAME.md5 15.1604 + status 15.1605 + 15.1606 + echo "===============================================================================" 15.1607 + echo "ISO image: `du -sh /home/slitaz/distro/$ISO_NAME.iso`" 15.1608 + echo "" 15.1609 + echo -n "Exit or burn ISO to cdrom (Exit|burn)? "; read anser 15.1610 + case $anser in 15.1611 + burn) 15.1612 + eject 15.1613 + echo -n "Please insert a blank cdrom and press ENTER..." 15.1614 + read i && sleep 2 15.1615 + tazlito burn-iso /home/slitaz/distro/$ISO_NAME.iso 15.1616 + echo -en "----\nENTER to continue..."; read i ;; 15.1617 + *) 15.1618 + exit 0 ;; 15.1619 + esac ;; 15.1620 + burn-iso) 15.1621 + # Guess cdrom device, ask user and burn the ISO. 15.1622 + # 15.1623 + check_root 15.1624 + DRIVE_NAME=`cat /proc/sys/dev/cdrom/info | grep "drive name" | cut -f 3` 15.1625 + DRIVE_SPEED=`cat /proc/sys/dev/cdrom/info | grep "drive speed" | cut -f 3` 15.1626 + # We can specify an alternative ISO from the cmdline. 15.1627 + if [ -n "$2" ] ; then 15.1628 + iso=$2 15.1629 + else 15.1630 + iso=$DISTRO/$ISO_NAME.iso 15.1631 + fi 15.1632 + if [ ! -f "$iso" ]; then 15.1633 + echo -e "\nUnable to find ISO : $iso\n" 15.1634 + exit 0 15.1635 + fi 15.1636 + echo "" 15.1637 + echo -e "\033[1mTazlito burn ISO\033[0m " 15.1638 + echo "================================================================================" 15.1639 + echo "Cdrom device : /dev/$DRIVE_NAME" 15.1640 + echo "Drive speed : $DRIVE_SPEED" 15.1641 + echo "ISO image : $iso" 15.1642 + echo "================================================================================" 15.1643 + echo "" 15.1644 + yesorno "Burn ISO image (y/N) ? " 15.1645 + if [ "$answer" == "y" ]; then 15.1646 + echo "" 15.1647 + echo "Starting Wodim to burn the iso..." && sleep 2 15.1648 + echo "================================================================================" 15.1649 + wodim speed=$DRIVE_SPEED dev=/dev/$DRIVE_NAME $iso 15.1650 + echo "================================================================================" 15.1651 + echo "ISO image is burned to cdrom." 15.1652 + else 15.1653 + echo -e "\nExiting. No ISO burned." 15.1654 + fi 15.1655 + echo "" 15.1656 + ;; 15.1657 + merge) 15.1658 + # Merge multiple rootfs into one iso. 15.1659 + # 15.1660 + if [ -z "$2" ]; then 15.1661 + cat << EOT 15.1662 +Usage: tazlito merge size1 iso size2 rootfs2 [sizeN rootfsN]... 15.1663 + 15.1664 +Merge multiple rootfs into one iso. Rootfs are like russian dolls 15.1665 +i.e: rootfsN is a subset of rootfsN-1 15.1666 +rootfs1 is found in iso, sizeN is the RAM size need to launch rootfsN. 15.1667 +The boot loader will select the rootfs according to the RAM size detected. 15.1668 + 15.1669 +Example: 15.1670 +$ tazlito merge 160M slitaz-core.iso 96M rootfs-justx.gz 32M rootfs-base.gz 15.1671 + 15.1672 +Will start slitaz-core with 160M+ RAM, slitaz-justX with 96M-160M RAM, 15.1673 +slitaz-base with 32M-96M RAM and display an error message if RAM < 32M. 15.1674 +EOT 15.1675 + exit 2 15.1676 + fi 15.1677 + 15.1678 + shift # skip merge 15.1679 + append="$1 slitaz1" 15.1680 + shift # skip size1 15.1681 + mkdir -p $TMP_DIR/mnt $TMP_DIR/rootfs1 15.1682 + 15.1683 + ISO=$1.merged 15.1684 + # Extract filesystems 15.1685 + echo -n "Mounting $1" 15.1686 + mount -o loop,ro $1 $TMP_DIR/mnt 2> /dev/null 15.1687 + status || cleanup_merge 15.1688 + cp -a $TMP_DIR/mnt $TMP_DIR/iso 15.1689 + rm -f $TMP_DIR/iso/boot/bzImage 15.1690 + ln $TMP_DIR/iso/boot/vmlinuz* $TMP_DIR/iso/boot/bzImage 15.1691 + umount -d $TMP_DIR/mnt 15.1692 + if [ -f $TMP_DIR/iso/boot/rootfs1.gz ]; then 15.1693 + echo "$1 is already a merged iso. Aborting." 15.1694 + cleanup_merge 15.1695 + fi 15.1696 + if [ ! -f $TMP_DIR/iso/boot/isolinux/ifmem.c32 ]; then 15.1697 + if [ ! -f /boot/isolinux/ifmem.c32 ]; then 15.1698 + cat <<EOT 15.1699 +No file /boot/isolinux/ifmem.c32 15.1700 +Please install syslinux package ! 15.1701 +EOT 15.1702 + rm -rf $TMP_DIR 15.1703 + exit 1 15.1704 + fi 15.1705 + cp /boot/isolinux/ifmem.c32 $TMP_DIR/iso/boot/isolinux 15.1706 + fi 15.1707 + 15.1708 + echo -n "Extracting iso/rootfs.gz" 15.1709 + extract_rootfs $TMP_DIR/iso/boot/rootfs.gz $TMP_DIR/rootfs1 && 15.1710 + [ -d $TMP_DIR/rootfs1/etc ] 15.1711 + status || cleanup_merge 15.1712 + n=1 15.1713 + while [ -n "$2" ]; do 15.1714 + shift # skip rootfs N-1 15.1715 + p=$n 15.1716 + n=$(($n + 1)) 15.1717 + append="$append $1 slitaz$n" 15.1718 + shift # skip size N 15.1719 + mkdir -p $TMP_DIR/rootfs$n 15.1720 + echo -n "Extracting $1" 15.1721 + extract_rootfs $1 $TMP_DIR/rootfs$n && 15.1722 + [ -d $TMP_DIR/rootfs$n/etc ] 15.1723 + status || cleanup_merge 15.1724 + mergefs $TMP_DIR/rootfs$n $TMP_DIR/rootfs$p 15.1725 + echo "Creating rootfs$p.gz" 15.1726 + pack_rootfs $TMP_DIR/rootfs$p $TMP_DIR/iso/boot/rootfs$p.gz 15.1727 + status 15.1728 + done 15.1729 + echo "Creating rootfs$n.gz" 15.1730 + pack_rootfs $TMP_DIR/rootfs$n $TMP_DIR/iso/boot/rootfs$n.gz 15.1731 + status 15.1732 + rm -f $TMP_DIR/iso/boot/rootfs.gz 15.1733 + update_bootconfig $TMP_DIR/iso/boot/isolinux "$append" 15.1734 + echo "Generating $ISO" 15.1735 + create_iso $ISO $TMP_DIR/iso 15.1736 + rm -rf $TMP_DIR 15.1737 + ;; 15.1738 + 15.1739 + repack) 15.1740 + # Repack an iso with maximum lzma compression ratio. 15.1741 + # 15.1742 + 15.1743 + ISO=$2 15.1744 + 15.1745 + mkdir -p $TMP_DIR/mnt 15.1746 + # Extract filesystems 15.1747 + echo -n "Mounting $ISO" 15.1748 + mount -o loop,ro $ISO $TMP_DIR/mnt 2> /dev/null 15.1749 + status || cleanup_merge 15.1750 + cp -a $TMP_DIR/mnt $TMP_DIR/iso 15.1751 + umount -d $TMP_DIR/mnt 15.1752 + 15.1753 + for i in $TMP_DIR/iso/boot/rootfs* ; do 15.1754 + echo -n "Repacking $(basename $i)" 15.1755 + (zcat $i || unlzma -c $i || cat $i) \ 15.1756 + 2>/dev/null > $TMP_DIR/rootfs 15.1757 + lzma e $TMP_DIR/rootfs $i \ 15.1758 + $(lzma_switches $TMP_DIR/rootfs) 15.1759 + status 15.1760 + done 15.1761 + 15.1762 + echo "Generating $ISO" 15.1763 + create_iso $ISO $TMP_DIR/iso 15.1764 + rm -rf $TMP_DIR ;; 15.1765 + 15.1766 + frugal-install|-fi) 15.1767 + ISO_IMAGE="$2" 15.1768 + echo "" 15.1769 + mkdir -p /boot/frugal 15.1770 + if [ -f "$ISO_IMAGE" ]; then 15.1771 + echo -n "Using ISO image: $ISO_IMAGE" 15.1772 + mkdir -p /tmp/iso && mount -o loop $ISO_IMAGE /tmp/iso 15.1773 + status 15.1774 + echo -n "Installing the Kernel and rootfs..." 15.1775 + cp -a /tmp/iso/boot/bzImage /boot/frugal 15.1776 + cp -a /tmp/iso/boot/rootfs.gz /boot/frugal 15.1777 + umount /tmp/iso 15.1778 + status 15.1779 + else 15.1780 + echo -n "Using distro: $DISTRO" 15.1781 + cd $DISTRO && status 15.1782 + echo -n "Installing the Kernel and rootfs..." 15.1783 + cp -a $DISTRO/rootcd/boot/bzImage /boot/frugal 15.1784 + cp -a $DISTRO/rootcd/boot/rootfs.gz /boot/frugal 15.1785 + status 15.1786 + fi 15.1787 + # Grub entry 15.1788 + if ! grep -q "^kernel /boot/frugal/bzImage" /boot/grub/menu.lst; then 15.1789 + echo -n "Configuring GRUB menu list..." 15.1790 + cat >> /boot/grub/menu.lst << EOT 15.1791 +title SliTaz GNU/Linux (frugal) 15.1792 +root (hd0,0) 15.1793 +kernel /boot/frugal/bzImage root=/dev/null 15.1794 +initrd /boot/frugal/rootfs.gz 15.1795 +EOT 15.1796 + else 15.1797 + echo -n "GRUB menu list is up-to-date..." 15.1798 + fi 15.1799 + status 15.1800 + echo "" ;; 15.1801 + 15.1802 + emu-iso) 15.1803 + # Emulate an ISO image with Qemu. 15.1804 + if [ -n "$2" ] ; then 15.1805 + iso=$2 15.1806 + else 15.1807 + iso=$DISTRO/$ISO_NAME.iso 15.1808 + fi 15.1809 + if [ ! -f "$iso" ]; then 15.1810 + echo -e "\nUnable to find ISO : $iso\n" 15.1811 + exit 0 15.1812 + fi 15.1813 + if [ ! -x "/usr/bin/qemu" ]; then 15.1814 + echo -e "\nUnable to find Qemu binary. Please install: qemu\n" 15.1815 + exit 0 15.1816 + fi 15.1817 + echo -e "\nStarting Qemu emulator:\n" 15.1818 + echo -e "qemu $QEMU_OPTS $iso\n" 15.1819 + qemu $QEMU_OPTS $iso ;; 15.1820 + 15.1821 + usage|*) 15.1822 + # Clear and print usage also for all unknown commands. 15.1823 + # 15.1824 + clear 15.1825 + usage ;; 15.1826 +esac 15.1827 + 15.1828 +exit 0
16.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 16.2 +++ b/core/rootfs/usr/bin/tazlitobox Tue Feb 02 22:26:52 2010 +0100 16.3 @@ -0,0 +1,445 @@ 16.4 +#!/bin/sh 16.5 +# 16.6 +# Gtkdialog box for Tazlito - SliTaz Live Tool. 16.7 +# Tabs are used for ident ans all action should go into functions to 16.8 +# separate GUI and commands. 16.9 +# 16.10 +# (C) GNU gpl v3 - SliTaz GNU/Linux 2010. 16.11 +# 16.12 +VERSION=2.2 16.13 + 16.14 +export BIN=$0 16.15 + 16.16 +# Check if user is root. 16.17 +check_root() 16.18 +{ 16.19 + if test $(id -u) != 0 ; then 16.20 + echo -e " 16.21 +You must be root to run `basename $0`. Please type 'su' and 16.22 +root password to become super-user.\n" 16.23 + exit 0 16.24 + fi 16.25 +} 16.26 + 16.27 +# We need to parse flavors.list for GTK tree. 16.28 +list_flavors() 16.29 +{ 16.30 + tazlito list-flavors | grep ^[a-z] | while read line 16.31 + do 16.32 + info=`echo -n $line | awk '{print $1 " " $2 " " $3}'` 16.33 + printinfo=`echo -n $line | awk '{print $1 "|" $2 "|" $3}'` 16.34 + echo "$printinfo|`echo $line | sed s/\"$info\"//`" 16.35 + done 16.36 +} 16.37 + 16.38 +recharge_list() 16.39 +{ 16.40 + xterm -geometry 90x14 \ 16.41 + -title "list-flavors --recharge" \ 16.42 + -e "tazlito list-flavors --recharge | grep ^[a-z] && sleep 2" 16.43 +} 16.44 + 16.45 +# When using gen-liveflavor, gen-flavor or gen-distro, user can put some 16.46 +# addfiles copied into the rootfs. 16.47 +addfiles_action() 16.48 +{ 16.49 + cd /home/slitaz 16.50 + mkdir -p distro/addfiles/rootfs/usr/share/images 16.51 + mkdir -p distro/addfiles/rootcd 16.52 + file-manager distro/addfiles & 16.53 +} 16.54 + 16.55 +writeiso_action() 16.56 +{ 16.57 + xterm -geometry 80x16 \ 16.58 + -title "writeiso" \ 16.59 + -e "tazlito writeiso $COMPRESSION" 16.60 +} 16.61 + 16.62 +gen_liveflavor_action() 16.63 +{ 16.64 + cd /home/slitaz 16.65 + sed -i "s/ISO_NAME=.*/ISO_NAME=\"slitaz-$GEN_LIVEFLAVOR_NAME\"/" \ 16.66 + /etc/tazlito/tazlito.conf 16.67 + xterm -geometry 80x16 \ 16.68 + -title "gen-liveflavor" \ 16.69 + -e "tazlito gen-liveflavor $GEN_LIVEFLAVOR_NAME && echo -e \"----\nENTER to continue...\" && read close" 16.70 +} 16.71 + 16.72 +clean_distro_action() 16.73 +{ 16.74 + cd /home/slitaz 16.75 + xterm -geometry 80x16 \ 16.76 + -title "clean-distro" \ 16.77 + -e "tazlito clean-distro && sleep 1" 16.78 +} 16.79 + 16.80 +get_flavor_action() 16.81 +{ 16.82 + cd /home/slitaz 16.83 + xterm -geometry 80x16 \ 16.84 + -title "get-flavor $COMMUNITY_FLAVOR" \ 16.85 + -e "tazlito get-flavor $COMMUNITY_FLAVOR && echo -e \"----\nENTER to continue...\" && read close" 16.86 +} 16.87 + 16.88 +gen_distro_action() 16.89 +{ 16.90 + cd /home/slitaz 16.91 + xterm -geometry 80x16 \ 16.92 + -title "gen-distro" \ 16.93 + -e "tazlito gen-distro && echo -e \"----\nENTER to continue...\" && read close" 16.94 +} 16.95 + 16.96 +gen_flavor_action() 16.97 +{ 16.98 + cd /home/slitaz 16.99 + xterm -geometry 80x16 \ 16.100 + -title "gen-flavor $GEN_FLAVOR_NAME" \ 16.101 + -e "tazlito gen-flavor $GEN_FLAVOR_NAME && echo -e \"----\nENTER to continue...\" && read close" 16.102 +} 16.103 + 16.104 +edit_distro_script() 16.105 +{ 16.106 + [ ! -f $DISTRO_SCRIPT ] && echo "#!/bin/sh" > $DISTRO_SCRIPT 16.107 + chmod +x $DISTRO_SCRIPT 16.108 + editor $DISTRO_SCRIPT 16.109 +} 16.110 + 16.111 +# Boxes 16.112 + 16.113 +export HELP=' 16.114 +<window title="Tazlito Box - Help" icon-name="media-cdrom"> 16.115 +<vbox> 16.116 + <text use-markup="true"> 16.117 + <label>" 16.118 +<b>Tazlito Box - Help</b>" 16.119 + </label> 16.120 + </text> 16.121 + 16.122 + <frame Overview> 16.123 + <text wrap="true" width-chars="52" use-markup="true"> 16.124 + <label> 16.125 +" 16.126 +Tazlito Box is a tiny interface to the SliTaz Live Tool aka Tazlito. 16.127 +You can simply generate a LiveCD in a few minutes, using your 16.128 +own flavor or one from the SliTaz community. Tazlito can also 16.129 +generate a LiveCD flavor using all of the currently installed 16.130 +packages. Tazlito commands are executed in a XTerm, you can 16.131 +press ENTER or the mouse to close the window. 16.132 +" 16.133 + </label> 16.134 + </text> 16.135 + </frame> 16.136 + 16.137 + <frame Default paths> 16.138 + <text wrap="true" width-chars="50" use-markup="true"> 16.139 + <label> 16.140 +" 16.141 +Distro : /home/slitaz/distro 16.142 +Flavors : /home/slitaz/flavors 16.143 +Packages : /home/slitaz/packages 16.144 +" 16.145 + </label> 16.146 + </text> 16.147 + </frame> 16.148 + 16.149 + <hbox> 16.150 + <button> 16.151 + <input file icon="exit"></input> 16.152 + <action type="closewindow">HELP</action> 16.153 + </button> 16.154 + </hbox> 16.155 + 16.156 +</vbox> 16.157 +</window> 16.158 +' 16.159 + 16.160 +# List all flavors on the mirror. 16.161 +export LIST_FLAVORS_BOX=' 16.162 +<window title="Community flavors list" icon-name="tazlito"> 16.163 +<vbox> 16.164 + <tree> 16.165 + <width>500</width><height>200</height> 16.166 + <variable>COMMUNITY_FLAVOR</variable> 16.167 + <label>Name|ISO|Rootfs|Description</label> 16.168 + <input exported_column="0">$BIN list_flavors</input> 16.169 + </tree> 16.170 + <hbox> 16.171 + <button> 16.172 + <label>Recharge list</label> 16.173 + <input file icon="reload"></input> 16.174 + <action>$BIN recharge_list</action> 16.175 + <action>refresh:COMMUNITY_FLAVOR</action> 16.176 + </button> 16.177 + <button> 16.178 + <label>Exit</label> 16.179 + <input file icon="exit"></input> 16.180 + <action type="closewindow">LIST_FLAVORS_BOX</action> 16.181 + </button> 16.182 + </hbox> 16.183 +</vbox> 16.184 +</window>' 16.185 + 16.186 +# Execute tazlito commands in a XTerm. Notebook: tab-pos="GTK_POS_LEFT" 16.187 +export TAZLITO_BOX=' 16.188 +<window title="Tazlito Box" icon-name="media-cdrom"> 16.189 +<vbox> 16.190 + 16.191 + <hbox> 16.192 + <text use-markup="true"> 16.193 + <label>"<b>SliTaz Live Tool</b>"</label> 16.194 + </text> 16.195 + <pixmap> 16.196 + <input file>/usr/share/pixmaps/tazlito.png</input> 16.197 + </pixmap> 16.198 + </hbox> 16.199 + 16.200 + <notebook labels="Writeiso|Live flavor|Flavors list|Gen flavor|Configuration"> 16.201 + 16.202 + <frame Filesystem to ISO> 16.203 + 16.204 + <text wrap="true" width-chars="60" use-markup="true"> 16.205 + <label> 16.206 +" 16.207 +Writeiso will generate an ISO image of the current filesystem as 16.208 +is, including the /home directory. It is an easy way to remaster a 16.209 +SliTaz Live system, you just have to: boot, modify, writeiso. 16.210 +" 16.211 + </label> 16.212 + </text> 16.213 + 16.214 + <hbox> 16.215 + <text use-markup="true"> 16.216 + <label>"<b>Compression (gzip,lzma,none):</b>"</label> 16.217 + </text> 16.218 + <entry> 16.219 + <default>gzip</default> 16.220 + <variable>COMPRESSION</variable> 16.221 + </entry> 16.222 + </hbox> 16.223 + 16.224 + <hbox> 16.225 + <button> 16.226 + <label>Writeiso</label> 16.227 + <input file icon="forward"></input> 16.228 + <action>$BIN writeiso_action</action> 16.229 + </button> 16.230 + </hbox> 16.231 + 16.232 + </frame> 16.233 + 16.234 + <frame Current packages selection> 16.235 + 16.236 + <text wrap="true" width-chars="60" use-markup="true"> 16.237 + <label> 16.238 +" 16.239 +Gen Live flavor will create a LiveCD based on all the currently 16.240 +installed packages. To build the rootfs and ISO image it will use 16.241 +original SliTaz packages. Some addfiles can be copied before 16.242 +gen distro. 16.243 +" 16.244 + </label> 16.245 + </text> 16.246 + 16.247 + <hbox> 16.248 + <text use-markup="true"> 16.249 + <label>"<b>Flavor name :</b>"</label> 16.250 + </text> 16.251 + <entry> 16.252 + <default>slitaz</default> 16.253 + <variable>GEN_LIVEFLAVOR_NAME</variable> 16.254 + </entry> 16.255 + </hbox> 16.256 + 16.257 + <hbox> 16.258 + <button> 16.259 + <label>Addfiles</label> 16.260 + <input file icon="gtk-open"></input> 16.261 + <action>$BIN addfiles_action</action> 16.262 + </button> 16.263 + <button> 16.264 + <label>Gen distro</label> 16.265 + <input file icon="forward"></input> 16.266 + <action>$BIN gen_liveflavor_action</action> 16.267 + </button> 16.268 + <button> 16.269 + <label>Clean distro</label> 16.270 + <input file icon="edit-clear"></input> 16.271 + <action>$BIN clean_distro_action</action> 16.272 + </button> 16.273 + </hbox> 16.274 + 16.275 + </frame> 16.276 + 16.277 + <frame Community and personal flavors> 16.278 + 16.279 + <text wrap="true" width-chars="60" use-markup="true"> 16.280 + <label> 16.281 +" 16.282 +Get and build preconfigured flavors from the community. Flavors 16.283 +llist can be recharged from SliTaz mirror. Some addfiles can be 16.284 +copied before generating the distro. 16.285 +" 16.286 + </label> 16.287 + </text> 16.288 + 16.289 + <hbox> 16.290 + <text use-markup="true"> 16.291 + <label>"<b>Flavor :</b>"</label> 16.292 + </text> 16.293 + <entry> 16.294 + <default>core</default> 16.295 + <variable>COMMUNITY_FLAVOR</variable> 16.296 + </entry> 16.297 + <button> 16.298 + <label>List flavors</label> 16.299 + <input file icon="media-cdrom"></input> 16.300 + <action type="launch">LIST_FLAVORS_BOX</action> 16.301 + </button> 16.302 + </hbox> 16.303 + 16.304 + <hbox> 16.305 + <button> 16.306 + <label>Get flavor</label> 16.307 + <input file icon="forward"></input> 16.308 + <action>$BIN get_flavor_action</action> 16.309 + </button> 16.310 + <button> 16.311 + <label>Addfiles</label> 16.312 + <input file icon="gtk-open"></input> 16.313 + <action>$BIN addfiles_action</action> 16.314 + </button> 16.315 + <button> 16.316 + <label>Gen distro</label> 16.317 + <input file icon="forward"></input> 16.318 + <action>$BIN gen_distro_action</action> 16.319 + </button> 16.320 + <button> 16.321 + <label>Clean distro</label> 16.322 + <input file icon="edit-clear"></input> 16.323 + <action>$BIN clean_distro_action</action> 16.324 + </button> 16.325 + </hbox> 16.326 + 16.327 + </frame> 16.328 + <frame Generate a flavor> 16.329 + 16.330 + <text wrap="true" width-chars="60" use-markup="true"> 16.331 + <label> 16.332 +" 16.333 +Gen Flavor will generate a new flavor file based on rootfs in 16.334 +/home/slitaz/distro. All addfiles will be included in the flavor file. 16.335 +" 16.336 + </label> 16.337 + </text> 16.338 + 16.339 + <hbox> 16.340 + <text use-markup="true"> 16.341 + <label>"<b>New flavor :</b>"</label> 16.342 + </text> 16.343 + <entry> 16.344 + <default>slitaz</default> 16.345 + <variable>GEN_FLAVOR_NAME</variable> 16.346 + </entry> 16.347 + </hbox> 16.348 + 16.349 + <hbox> 16.350 + <button> 16.351 + <label>Addfiles</label> 16.352 + <input file icon="gtk-open"></input> 16.353 + <action>$BIN addfiles_action</action> 16.354 + </button> 16.355 + <button> 16.356 + <label>Gen new flavor</label> 16.357 + <input file icon="forward"></input> 16.358 + <action>$BIN gen_flavor_action</action> 16.359 + </button> 16.360 + </hbox> 16.361 + 16.362 + </frame> 16.363 + 16.364 + <frame Flavor config and packages list> 16.365 + 16.366 + <text wrap="true" width-chars="60" use-markup="true"> 16.367 + <label> 16.368 +" 16.369 +Before editing files you must have a flavor description. Distro 16.370 +script can be used to perform actions into the rootfs before 16.371 +compression. 16.372 +" 16.373 + </label> 16.374 + </text> 16.375 + 16.376 + <hbox> 16.377 + <text use-markup="true"> 16.378 + <label>"<b>Flavor config :</b>"</label> 16.379 + </text> 16.380 + <entry> 16.381 + <default>/home/slitaz/tazlito.conf</default> 16.382 + <variable>CONFIG_FILE</variable> 16.383 + </entry> 16.384 + <button> 16.385 + <input file icon="accessories-text-editor"></input> 16.386 + <action>editor $CONFIG_FILE</action> 16.387 + </button> 16.388 + </hbox> 16.389 + 16.390 + <hbox> 16.391 + <text use-markup="true"> 16.392 + <label>"<b>Packages list :</b>"</label> 16.393 + </text> 16.394 + <entry> 16.395 + <default>/home/slitaz/distro-packages.list</default> 16.396 + <variable>PKGS_LIST</variable> 16.397 + </entry> 16.398 + <button> 16.399 + <input file icon="accessories-text-editor"></input> 16.400 + <action>editor $PKGS_LIST</action> 16.401 + </button> 16.402 + </hbox> 16.403 + 16.404 + <hbox> 16.405 + <text use-markup="true"> 16.406 + <label>"<b>Distro script :</b> "</label> 16.407 + </text> 16.408 + <entry> 16.409 + <default>/home/slitaz/distro.sh</default> 16.410 + <variable>DISTRO_SCRIPT</variable> 16.411 + </entry> 16.412 + <button> 16.413 + <input file icon="accessories-text-editor"></input> 16.414 + <action>$BIN edit_distro_script</action> 16.415 + </button> 16.416 + </hbox> 16.417 + 16.418 + </frame> 16.419 + 16.420 + </notebook> 16.421 + 16.422 + <hbox> 16.423 + <button help> 16.424 + <input file icon="help-browser"></input> 16.425 + <action type="launch">HELP</action> 16.426 + </button> 16.427 + <button> 16.428 + <label>Exit</label> 16.429 + <input file icon="exit"></input> 16.430 + <action type="exit">Exit</action> 16.431 + </button> 16.432 + </hbox> 16.433 + 16.434 +</vbox> 16.435 +</window> 16.436 +' 16.437 + 16.438 +case $1 in 16.439 + *_*) 16.440 + # Exec all function called by args (must have an underscore). 16.441 + $1 ;; 16.442 + *) 16.443 + # Tazlitobox action. 16.444 + check_root 16.445 + gtkdialog --center --program=TAZLITO_BOX ;; 16.446 +esac 16.447 + 16.448 +exit 0
17.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 17.2 +++ b/core/rootfs/usr/bin/wifibox Tue Feb 02 22:26:52 2010 +0100 17.3 @@ -0,0 +1,634 @@ 17.4 +#!/bin/sh 17.5 +# 17.6 +# GTKdialog interface to manage wireless connections in a simple way. 17.7 +# Use tabs to indent, split commands from the GUI and use functions. 17.8 +# Favorite networks are also supported 17.9 +# 17.10 +# (c) 2010 SliTaz GNU/Linux - GNU gpl v3 17.11 +# 17.12 +VERSION=20100118 17.13 + 17.14 +# Export script path and others if needed so we can use them in 'quote'. 17.15 +export BIN=$0 17.16 +export FAVORITES_WIFI=/etc/wireless 17.17 +. /etc/network.conf 17.18 + 17.19 +# Wifibox is only for root. 17.20 +if test $(id -u) != 0 ; then 17.21 + exec subox wifibox 17.22 + exit 0 17.23 +fi 17.24 + 17.25 +# Sanity check 17.26 +[ -x /usr/sbin/iwconfig ] || tazpkg get-install wireless_tools 17.27 +[ -d $FAVORITES_WIFI ] || mkdir -p $FAVORITES_WIFI 17.28 +rm -f $FAVORITES_WIFI/any.conf 17.29 + 17.30 +# Catch ESSIDs and format output for GTK tree. We get the list of 17.31 +# networks by Cell and without spaces. 17.32 +detect_wifi_networks() 17.33 +{ 17.34 + desktopbox notify "Scanning Wireless interface: $WIFI_INTERFACE" & 17.35 + if [ -d /sys/class/net/$WIFI_INTERFACE/wireless ]; then 17.36 + ifconfig $WIFI_INTERFACE up 17.37 + for i in `iwlist $WIFI_INTERFACE scan | sed s/"Cell "/Cell-/ | grep "Cell-" | awk '{print $1}'` 17.38 + do 17.39 + SCAN=`iwlist $WIFI_INTERFACE scan last | \ 17.40 + awk '/(Cell|ESS|Qual|Encry|IE: WPA)/ {print}' | \ 17.41 + sed s/"Cell "/Cell-/ | grep -A 5 "$i"` 17.42 + ESSID=`echo $SCAN | cut -d '"' -f 2` 17.43 + if echo "$SCAN" | grep -q Quality; then 17.44 + QUALITY=`echo $SCAN | sed 's/.*Quality=\([^ ]*\).*/\1/' | sed 's/.*Quality:\([^ ]*\).*/\1/'` 17.45 + else 17.46 + QUALITY="-" 17.47 + fi 17.48 + ENCRYPTION=`echo $SCAN | sed 's/.*key:\([^ ]*\).*/\1/'` 17.49 + # Check encryption type 17.50 + if echo "$SCAN" | grep -q WPA; then 17.51 + ENCRYPTION="${ENCRYPTION} (WPA)" 17.52 + fi 17.53 + # Connected or not connected... 17.54 + if ifconfig | grep -A 1 $WIFI_INTERFACE | \ 17.55 + grep -q inet && iwconfig $WIFI_INTERFACE | \ 17.56 + grep ESSID | grep -q -w "$ESSID"; then 17.57 + STATUS=connected 17.58 + else 17.59 + STATUS="-" 17.60 + fi 17.61 + echo -n "" 17.62 + echo "$ESSID | $QUALITY | $ENCRYPTION | $STATUS" 17.63 + done 17.64 + fi 17.65 +} 17.66 + 17.67 +# cmdline functions 17.68 + 17.69 +# Toggle Software RF Switch on some laptops 17.70 +set_rfswitch() 17.71 +{ 17.72 + for i in /proc/driver/acerhk/wirelessled /proc/acpi/asus/wled ; do 17.73 + [ -e $i ] && echo $1 > $i 17.74 + done 17.75 +} 17.76 + 17.77 +# Configure /etc/network.conf and restart connection with init script. 17.78 +start_wifi_connection() 17.79 +{ 17.80 + # Get tmp config created by connect_to_essid() if exists and set 17.81 + # empty value to clean config file. 17.82 + if [ -f /tmp/wifi.conf ]; then 17.83 + . /tmp/wifi.conf 17.84 + WIFI_MODE="" 17.85 + WIFI_IWCONFIG_ARGS="" 17.86 + WIFI_CHANNEL="" 17.87 + fi 17.88 + sed -i "s/`grep ^WIFI= /etc/network.conf`/WIFI=\"yes\"/" \ 17.89 + /etc/network.conf 17.90 + sed -i "s/`grep ^WIFI_INTERFACE= /etc/network.conf`/WIFI_INTERFACE=\"$WIFI_INTERFACE\"/" \ 17.91 + /etc/network.conf 17.92 + sed -i "s/`grep ^WIFI_ESSID= /etc/network.conf`/WIFI_ESSID=\"$WIFI_ESSID\"/" \ 17.93 + /etc/network.conf 17.94 + sed -i "s/`grep ^WIFI_KEY= /etc/network.conf`/WIFI_KEY=\"$WIFI_KEY\"/" \ 17.95 + /etc/network.conf 17.96 + sed -i "s/`grep ^WIFI_MODE= /etc/network.conf`/WIFI_MODE=\"$WIFI_MODE\"/" \ 17.97 + /etc/network.conf 17.98 + sed -i "s/`grep ^WIFI_IWCONFIG_ARGS= /etc/network.conf`/WIFI_IWCONFIG_ARGS=\"$WIFI_IWCONFIG_ARGS\"/" \ 17.99 + /etc/network.conf 17.100 + sed -i "s/`grep ^WIFI_KEY_TYPE= /etc/network.conf`/WIFI_KEY_TYPE=\"$WIFI_KEY_TYPE\"/" \ 17.101 + /etc/network.conf 17.102 + sed -i "s/`grep ^WIFI_CHANNEL= /etc/network.conf`/WIFI_CHANNEL=\"$WIFI_CHANNEL\"/" \ 17.103 + /etc/network.conf 17.104 + [ -s /var/run/udhcpc.$WIFI_INTERFACE.pid ] && kill `cat /var/run/udhcpc.$WIFI_INTERFACE.pid` 17.105 + ifconfig $WIFI_INTERFACE down 17.106 + set_rfswitch 1 17.107 + iwconfig $WIFI_INTERFACE txpower auto 17.108 + /etc/init.d/network.sh restart 17.109 + # Remove tmp file (could be used to have wireless profiles) 17.110 + rm -f /tmp/wifi.conf 17.111 + sleep 2 17.112 +} 17.113 + 17.114 +# We must sleep 4 sec to refresh networks list. 17.115 +stop_wifi_connexion() 17.116 +{ 17.117 + sed -i s/`grep ^WIFI= /etc/network.conf`/WIFI=\"no\"/ \ 17.118 + /etc/network.conf 17.119 + [ -x /etc/init.d/wpa_supplicant ] && /etc/init.d/wpa_supplicant stop 17.120 + ifconfig $WIFI_INTERFACE down 17.121 + iwconfig $WIFI_INTERFACE txpower off 17.122 + set_rfswitch 0 17.123 + [ -s /var/run/udhcpc.$WIFI_INTERFACE.pid ] && kill `cat /var/run/udhcpc.$WIFI_INTERFACE.pid` 17.124 + sleep 2 17.125 +} 17.126 + 17.127 +# Favorite wireless networks use only 3 values: essid. key and type of 17.128 +# key 17.129 +favorites_wifi_list() 17.130 +{ 17.131 + for i in $FAVORITES_WIFI/*.conf 17.132 + do 17.133 + WIFI_ESSID="" 17.134 + WIFI_KEY="" 17.135 + WIFI_KEY_TYPE="" 17.136 + . "$i" 17.137 + [ -z "$WIFI_ESSID" ] && WIFI_ESSID="Bad config file: $i" 17.138 + [ -z "$WIFI_KEY_TYPE" ] && WIFI_KEY_TYPE="-" 17.139 + if [ -n "$WIFI_KEY" ]; then 17.140 + WIFI_KEY="********" 17.141 + else 17.142 + WIFI_KEY="-" 17.143 + fi 17.144 + echo "$WIFI_ESSID | $WIFI_KEY_TYPE | $WIFI_KEY" 17.145 + done 17.146 +} 17.147 + 17.148 +favorite_wifi_actions() 17.149 +{ 17.150 + cp -a $FAVORITES_WIFI/"$FAVORITE".conf /tmp/wifi.conf 17.151 + . /tmp/wifi.conf 17.152 + export CONNECT_FAVORITE=" 17.153 +<window title=\"Connect to: $WIFI_ESSID\" icon-name=\"network-wireless\"> 17.154 +<vbox> 17.155 + 17.156 + <text width-chars=\"54\"> 17.157 + <label> 17.158 +\" 17.159 +ESSID name: $WIFI_ESSID 17.160 +\" 17.161 + </label> 17.162 + </text> 17.163 + 17.164 + <hbox> 17.165 + <button> 17.166 + <label>Connect</label> 17.167 + <input file icon=\"forward\"></input> 17.168 + <action>$0 start_wifi_connection</action> 17.169 + <action type=\"exit\">exit</action> 17.170 + </button> 17.171 + <button> 17.172 + <label>Edit settings</label> 17.173 + <input file icon=\"accessories-text-editor\"></input> 17.174 + <action>leafpad $FAVORITES_WIFI/\"$FAVORITE\".conf</action> 17.175 + <action>rm -f /tmp/wifi.conf</action> 17.176 + <action type=\"exit\">exit</action> 17.177 + </button> 17.178 + <button> 17.179 + <label>Delete</label> 17.180 + <input file icon=\"gtk-delete\"></input> 17.181 + <action>rm -f $FAVORITES_WIFI/\"$FAVORITE\".conf</action> 17.182 + <action type=\"exit\">exit</action> 17.183 + </button> 17.184 + <button cancel></button> 17.185 + </hbox> 17.186 + 17.187 +</vbox> 17.188 +</window>" 17.189 + gtkdialog --center --program=CONNECT_FAVORITE >/dev/null 17.190 +} 17.191 + 17.192 +add_favorite_network_box() 17.193 +{ 17.194 + ADD_FAVORITE=' 17.195 +<window title="Add new favorite Wireless" icon-name="network-wireless"> 17.196 +<vbox> 17.197 + <text width-chars="54"> 17.198 + <label> 17.199 +" 17.200 +Please configure your new favorite Wireless network 17.201 +" 17.202 + </label> 17.203 + </text> 17.204 + <hbox> 17.205 + <text use-markup="true"> 17.206 + <label>"<b>ESSID:</b>"</label> 17.207 + </text> 17.208 + <entry> 17.209 + <variable>WIFI_ESSID</variable> 17.210 + </entry> 17.211 + </hbox> 17.212 + <hbox> 17.213 + <text use-markup="true"> 17.214 + <label>"<b>Key: </b>"</label> 17.215 + </text> 17.216 + <entry> 17.217 + <variable>WIFI_KEY</variable> 17.218 + </entry> 17.219 + </hbox> 17.220 + <hbox> 17.221 + <text use-markup="true"> 17.222 + <label>"<b>Key type:</b>"</label> 17.223 + </text> 17.224 + <combobox>' 17.225 + tmp="${ADD_FAVORITE}<item>$WIFI_KEY_TYPE</item>" 17.226 + for i in none WEP WPA any; do 17.227 + tmp=${tmp}"<item>$i</item>" 17.228 + done 17.229 + export ADD_FAVORITE=${tmp}' 17.230 + <variable>WIFI_KEY_TYPE</variable> 17.231 + </combobox> 17.232 + </hbox> 17.233 + <hbox> 17.234 + <button> 17.235 + <label>Add to list</label> 17.236 + <input file icon="forward"></input> 17.237 + <action>echo "# Wireless connection configuration." > $FAVORITES_WIFI/"$WIFI_ESSID".conf</action> 17.238 + <action>echo "#" >> /etc/wireless/"$WIFI_ESSID".conf</action> 17.239 + <action>echo "WIFI_ESSID=\"$WIFI_ESSID\"" >> $FAVORITES_WIFI/"$WIFI_ESSID".conf</action> 17.240 + <action>echo "WIFI_KEY=\"$WIFI_KEY\"" >> $FAVORITES_WIFI/"$WIFI_ESSID".conf</action> 17.241 + <action>echo "WIFI_KEY_TYPE=\"$WIFI_KEY_TYPE\"" >> $FAVORITES_WIFI/"$WIFI_ESSID".conf</action> 17.242 + <action type="exit">exit</action> 17.243 + </button> 17.244 + <button cancel></button> 17.245 + </hbox> 17.246 +</vbox> 17.247 +</window>' 17.248 + gtkdialog --center --program=ADD_FAVORITE #>/dev/null 17.249 +} 17.250 + 17.251 +# GUI functions 17.252 + 17.253 +helpbutton() 17.254 +{ 17.255 + local label; 17.256 + label="<label>$3</label>" 17.257 + [ -n "$3" ] || label="" 17.258 + cat << EOT 17.259 +<button> 17.260 + <input file icon="help"></input>$label 17.261 + <action>xterm -fa MiscFixed -fs 11 -bg gray93 -fg black -geometry $2 -title "$1 help" -e "$(which $1) --help ; echo -e \\"----\\nENTER to continue...\\" && read close"</action> 17.262 +</button> 17.263 +EOT 17.264 +} 17.265 + 17.266 +manbutton() 17.267 +{ 17.268 + cat << EOT 17.269 +<button> 17.270 + <input file icon="browser"></input> 17.271 + <label>man</label> 17.272 + <action>xterm -fa MiscFixed -fs 11 -bg gray93 -fg black -geometry 80x24 -title "$2 man (q to quit)" -e ". /etc/profile; man $1 $2"</action> 17.273 +</button> 17.274 +EOT 17.275 +} 17.276 + 17.277 +# Independant dialog to connect on a wireless network. If encryption 17.278 +# is on we ask for the security key. 17.279 +connect_to_essid() 17.280 +{ 17.281 + SCAN=`iwlist $WIFI_INTERFACE scan | \ 17.282 + awk '/(Cell|ESS|Qual|Encry|IE: WPA)/ {print}' | \ 17.283 + grep -B 1 -A 1 "$ESSID_LIST"` 17.284 + WIFI_ESSID="$ESSID_LIST" 17.285 + ENCRYPTION=`echo $SCAN | sed 's/.*key:\([^ ]*\).*/\1/'` 17.286 + # Create tmp file used by active_wifi_connexion() 17.287 + cat > /tmp/wifi.conf << _EOF_ 17.288 +# Wireless connexion configuration file. 17.289 +WIFI_ESSID="$ESSID_LIST" 17.290 +_EOF_ 17.291 + CONNECT_ESSID=" 17.292 +<window title=\"Connect to: $WIFI_ESSID\" icon-name=\"network-wireless\"> 17.293 +<vbox> 17.294 + <text width-chars=\"54\"> 17.295 + <label> 17.296 +\" 17.297 +Connect $WIFI_INTERFACE to: $WIFI_ESSID 17.298 +\" 17.299 + </label> 17.300 + </text>" 17.301 + # We maybe need a key to connect 17.302 + if [ "$ENCRYPTION" = "on" ] && [ "$ESSID_LIST" != "any" ]; then 17.303 + # WPA 17.304 + if echo "$SCAN" | grep -q WPA; then 17.305 + echo 'WIFI_KEY_TYPE="WPA"' >> /tmp/wifi.conf 17.306 + CONNECT_ESSID=${CONNECT_ESSID}' 17.307 + <hbox> 17.308 + <text use-markup="true"> 17.309 + <label>"<b>WPA Key:</b>"</label> 17.310 + </text> 17.311 + <entry> 17.312 + <input>. /etc/network.conf; echo "$WIFI_KEY"</input> 17.313 + <variable>WIFI_KEY</variable> 17.314 + </entry> 17.315 + </hbox>' 17.316 + else 17.317 + # WEP 17.318 + echo 'WIFI_KEY_TYPE="WEP"' >> /tmp/wifi.conf 17.319 + CONNECT_ESSID=${CONNECT_ESSID}' 17.320 + <hbox> 17.321 + <text use-markup="true"> 17.322 + <label>"<b>WEP Key:</b>"</label> 17.323 + </text> 17.324 + <entry> 17.325 + <input>. /etc/network.conf; echo "$WIFI_KEY"</input> 17.326 + <variable>WIFI_KEY</variable> 17.327 + </entry> 17.328 + </hbox>' 17.329 + fi 17.330 + else 17.331 + # No encryption 17.332 + echo 'WIFI_KEY=""' >> /tmp/wifi.conf 17.333 + echo 'WIFI_KEY_TYPE=""' >> /tmp/wifi.conf 17.334 + start_wifi_connection 17.335 + exit 0 17.336 + fi 17.337 + # Add key to config file so active_wifi_connexion() can use it. 17.338 + # WIFI_KEY is not exported if we quote with --> " 17.339 + export CONNECT_ESSID=${CONNECT_ESSID}' 17.340 + <hbox> 17.341 + <button> 17.342 + <label>Connect</label> 17.343 + <input file icon="forward"></input> 17.344 + <action>echo "WIFI_KEY=\"$WIFI_KEY\"" >> /tmp/wifi.conf</action> 17.345 + <action>$BIN start_wifi_connection</action> 17.346 + <action type="exit">exit</action> 17.347 + </button> 17.348 + <button cancel></button> 17.349 + </hbox> 17.350 +</vbox> 17.351 +</window>' 17.352 + gtkdialog --center --program=CONNECT_ESSID #>/dev/null 17.353 +} 17.354 + 17.355 +# Wifibox start with Networks tab. 17.356 +box() 17.357 +{ 17.358 + WIFI_DIALOG=" 17.359 +<window title=\"Wireless manager\" icon-name=\"network-wireless\"> 17.360 +<vbox> 17.361 + 17.362 + <notebook labels=\"Networks|Favorites|Configuration|Drivers\"> 17.363 + 17.364 + <vbox> 17.365 + <tree icon=\"network-wireless\"> 17.366 + <width>520</width><height>160</height> 17.367 + <variable>ESSID_LIST</variable> 17.368 + <label>ESSID|Quality|Encryption|Status</label> 17.369 + <input>$0 detect_wifi_networks</input> 17.370 + <item icon=\"network-wireless\">any | * | off | (auto-connect)</item> 17.371 + <action>$0 connect_to_essid</action> 17.372 + <action>refresh:ESSID_LIST</action> 17.373 + <action>refresh:WIFI_ESSID</action> 17.374 + <action>refresh:WIFI_KEY</action> 17.375 + <action>refresh:WIFI_KEY_TYPE</action> 17.376 + </tree> 17.377 + <hbox> 17.378 + <text width-chars=\"54\"> 17.379 + <label> 17.380 +\"Please double click on a network to connect or enter security key\" 17.381 + </label> 17.382 + </text> 17.383 + <button> 17.384 + <label>Refresh list</label> 17.385 + <input file icon=\"reload\"></input> 17.386 + <action>refresh:ESSID_LIST</action> 17.387 + </button> 17.388 + </hbox> 17.389 + </vbox>" 17.390 + 17.391 + # Favorite networks 17.392 + WIFI_DIALOG=${WIFI_DIALOG}" 17.393 + <vbox> 17.394 + <tree icon=\"network-wireless\"> 17.395 + <width>500</width><height>160</height> 17.396 + <variable>FAVORITE</variable> 17.397 + <label>ESSID|Key Type|Key status</label> 17.398 + <input>$0 favorites_wifi_list</input> 17.399 + <item icon=\"network-wireless\">any | - | -</item> 17.400 + <action>$0 favorite_wifi_actions</action> 17.401 + <action>refresh:FAVORITE</action> 17.402 + <action>refresh:ESSID_LIST</action> 17.403 + <action>refresh:WIFI_ESSID</action> 17.404 + <action>refresh:WIFI_KEY</action> 17.405 + <action>refresh:WIFI_KEY_TYPE</action> 17.406 + </tree> 17.407 + <hbox> 17.408 + <text width-chars=\"50\"> 17.409 + <label> 17.410 +\"Please double click on a network to modify or remove it\" 17.411 + </label> 17.412 + </text> 17.413 + <button> 17.414 + <label>Add Network</label> 17.415 + <input file icon=\"gtk-add\"></input> 17.416 + <action>$0 add_favorite_network_box</action> 17.417 + <action>refresh:FAVORITE</action> 17.418 + </button> 17.419 + </hbox> 17.420 + </vbox>" 17.421 + 17.422 + # Configuration tab 17.423 + WIFI_DIALOG=${WIFI_DIALOG}' 17.424 + <vbox> 17.425 + <frame Basic> 17.426 + <hbox> 17.427 + <text use-markup="true"> 17.428 + <label>"<b>Interface:</b>"</label> 17.429 + </text> 17.430 + <entry> 17.431 + <input>. /etc/network.conf; echo "$WIFI_INTERFACE"</input> 17.432 + <variable>WIFI_INTERFACE</variable> 17.433 + </entry> 17.434 + </hbox> 17.435 + <hbox> 17.436 + <text use-markup="true"> 17.437 + <label>"<b>ESSID: </b>"</label> 17.438 + </text> 17.439 + <entry> 17.440 + <input>. /etc/network.conf; echo "$WIFI_ESSID"</input> 17.441 + <variable>WIFI_ESSID</variable> 17.442 + </entry> 17.443 + </hbox> 17.444 + <hbox> 17.445 + <text use-markup="true"> 17.446 + <label>"<b>Key: </b>"</label> 17.447 + </text> 17.448 + <entry> 17.449 + <input>. /etc/network.conf; echo "$WIFI_KEY"</input> 17.450 + <variable>WIFI_KEY</variable> 17.451 + </entry> 17.452 + <combobox>' 17.453 + tmp2="${WIFI_DIALOG}<item>$WIFI_KEY_TYPE</item>" 17.454 + for i in none WEP WPA any; do 17.455 + [ "$i" = "$WIFI_KEY_TYPE" ] || tmp2="$tmp2<item>$i</item>" 17.456 + done 17.457 + tmp3=' <variable>WIFI_KEY_TYPE</variable> 17.458 + </combobox> 17.459 + </hbox> 17.460 + </frame> 17.461 + <frame Advanced> 17.462 + <hbox> 17.463 + <text use-markup="true"> 17.464 + <label>"<b>Channel/Mode:</b>"</label> 17.465 + </text> 17.466 + <entry> 17.467 + <input>. /etc/network.conf; echo "$WIFI_CHANNEL"</input> 17.468 + <variable>WIFI_CHANNEL</variable> 17.469 + </entry> 17.470 + 17.471 + <combobox> 17.472 + <variable>WIFI_MODE</variable>' 17.473 + tmp2="$tmp2$tmp3<item>$WIFI_MODE</item>" 17.474 + for i in managed ad-hoc master repeater secondary monitor; do 17.475 + [ "$i" = "$WIFI_MODE" ] || tmp2="$tmp2<item>$i</item>" 17.476 + done 17.477 + tmp3=' </combobox> 17.478 + </hbox> 17.479 + <hbox> 17.480 + <text use-markup="true"> 17.481 + <label>"<b>Iwconfig args:</b> "</label> 17.482 + </text> 17.483 + <entry> 17.484 + <input>. /etc/network.conf; echo "$WIFI_IWCONFIG_ARGS"</input> 17.485 + <variable>WIFI_IWCONFIG_ARGS</variable> 17.486 + </entry>' 17.487 + WIFI_DIALOG="$tmp$tmp2$tmp3 17.488 + $(helpbutton iwconfig 80x24) 17.489 + $(manbutton 8 iwconfig) 17.490 + </hbox> 17.491 + </frame>" 17.492 + 17.493 + # Start Button for manual configuration. 17.494 + WIFI_DIALOG=${WIFI_DIALOG}' 17.495 + <hbox> 17.496 + <button> 17.497 + <label>Start connection</label> 17.498 + <input file icon="forward"></input> 17.499 + <action>[ "$WIFI_KEY_TYPE" = "WPA" -a ! -x /usr/bin/wpa_supplicant ] && xterm -fa MiscFixed -fs 11 -bg gray93 -fg black -geometry 80x17 -title "wpa_supplicant install" -e "tazpkg get-install wpa_supplicant ; echo -e \"----\n\nENTER to continue...\" && read close"</action> 17.500 + <action>sed -i s/`grep ^WIFI= /etc/network.conf`/WIFI=\"yes\"/ /etc/network.conf</action> 17.501 + <action>sed -i s/`grep ^WIFI_INTERFACE= /etc/network.conf`/WIFI_INTERFACE=\"$WIFI_INTERFACE\"/ /etc/network.conf</action> 17.502 + <action>sed -i s/`grep ^WIFI_ESSID= /etc/network.conf`/WIFI_ESSID=\"$WIFI_ESSID\"/ /etc/network.conf</action> 17.503 + <action>sed -i s/`grep ^WIFI_KEY= /etc/network.conf`/WIFI_KEY=\"$WIFI_KEY\"/ /etc/network.conf</action> 17.504 + <action>sed -i s/`grep ^WIFI_MODE= /etc/network.conf`/WIFI_MODE=\"$WIFI_MODE\"/ /etc/network.conf</action> 17.505 + <action>sed -i "s/`grep ^WIFI_IWCONFIG_ARGS= /etc/network.conf`/WIFI_IWCONFIG_ARGS=\"$WIFI_IWCONFIG_ARGS\"/" /etc/network.conf</action> 17.506 + <action>sed -i s/`grep ^WIFI_KEY_TYPE= /etc/network.conf`/WIFI_KEY_TYPE=\"$WIFI_KEY_TYPE\"/ /etc/network.conf</action> 17.507 + <action>sed -i s/`grep ^WIFI_CHANNEL= /etc/network.conf`/WIFI_CHANNEL=\"$WIFI_CHANNEL\"/ /etc/network.conf</action> 17.508 + <action>[ -s /var/run/udhcpc.$WIFI_INTERFACE.pid ] && kill `cat /var/run/udhcpc.$WIFI_INTERFACE.pid`</action> 17.509 + <action>ifconfig $WIFI_INTERFACE down</action> 17.510 + <action>iwconfig $WIFI_INTERFACE txpower auto</action> 17.511 + <action>/etc/init.d/network.sh restart</action> 17.512 + <action>refresh:ESSID_LIST</action> 17.513 + <action>refresh:WIFI_ESSID</action> 17.514 + <action>refresh:WIFI_KEY</action> 17.515 + <action>refresh:WIFI_KEY_TYPE</action> 17.516 + </button> 17.517 + </hbox> 17.518 + </vbox>' 17.519 + 17.520 + # Kernel Modules, firmware and tazndisbox note + button. 17.521 + WIFI_DIALOG=${WIFI_DIALOG}" 17.522 + <vbox> 17.523 + <hbox> 17.524 + <text width-chars=\"64\"> 17.525 + <label> 17.526 +\" 17.527 +Some Wireless Adapters need non-free firmware. Please install the 17.528 +firmware before loading the corresponding module. Note: you can use 17.529 +Tazhw to automatically detect your PCI, PCMCIA or USB Wireless adapter. 17.530 +\" 17.531 + </label> 17.532 + </text> 17.533 + </hbox> 17.534 + <hbox> 17.535 + <text use-markup=\"true\"> 17.536 + <label>\"<b>Tools:</b>\"</label> 17.537 + </text> 17.538 + <button> 17.539 + <input file icon=\"computer\"></input> 17.540 + <label>Auto detect devices</label> 17.541 + <action>tazhw box</action> 17.542 + <action>refresh:ESSID_LIST</action> 17.543 + </button>" 17.544 + # Display firmware stuff, tazndisbox button if installed and close 17.545 + # tab + notebook 17.546 + if [ -x /usr/bin/tazndisbox ]; then 17.547 + WIFI_DIALOG=${WIFI_DIALOG}" 17.548 + <button> 17.549 + <input file icon=\"system-installer\"></input> 17.550 + <label>Install Windows driver</label> 17.551 + <action>tazndisbox</action> 17.552 + <action>refresh:ESSID_LIST</action> 17.553 + </button>" 17.554 + fi 17.555 + WIFI_DIALOG=${WIFI_DIALOG}" 17.556 + </hbox> 17.557 + <hbox> 17.558 + <text use-markup=\"true\"> 17.559 + <label>\"<b>Module:</b>\"</label> 17.560 + </text> 17.561 + <combobox> 17.562 + <variable>MODULE</variable>" 17.563 + WIFI_DIALOG="${WIFI_DIALOG}$(find /lib/modules/$(uname -r)/kernel/drivers/net/wireless -type f 2> /dev/null | sed 's,/.*/\(.*\).ko.*,<item>\1</item>,')" 17.564 + WIFI_DIALOG=${WIFI_DIALOG}' 17.565 + </combobox> 17.566 + <button> 17.567 + <label>Load</label> 17.568 + <input file icon="forward"></input> 17.569 + <action>modprobe $MODULE</action> 17.570 + </button> 17.571 + <button> 17.572 + <label>Unload</label> 17.573 + <input file icon="undo"></input> 17.574 + <action>modprobe -r $MODULE</action> 17.575 + </button> 17.576 + <button> 17.577 + <label>Lsmod</label> 17.578 + <input file icon="computer"></input> 17.579 + <action>xterm -fa MiscFixed -fs 11 -bg gray93 -fg black -geometry 80x25 -title "Modules (q to quit)" -e "lsmod | less"</action> 17.580 + </button> 17.581 + </hbox>' 17.582 + # Firmware stuff. 17.583 + tmp=$(for i in /usr/bin/get*firmware; do 17.584 + [ -x $i ] || continue 17.585 + [ "$i" = "/usr/bin/get-wifi-firmware" ] && continue 17.586 + [ -d /var/lib/tazpkg/installed/${i#/usr/bin/get-} ] && continue 17.587 + echo "<item>${i#/usr/bin/get-}</item>"; done) 17.588 + [ -n "$tmp" ] && tmp=" 17.589 + <hbox> 17.590 + <text use-markup=\"true\"> 17.591 + <label>\"<b>Firmware:</b>\"</label> 17.592 + </text> 17.593 + <combobox><variable>FIRMWARE</variable>$tmp</combobox> 17.594 + <button> 17.595 + <label>Install</label> 17.596 + <input file icon=\"go-jump\"></input> 17.597 + <action>xterm -fa MiscFixed -fs 11 -bg gray93 -fg black -geometry 80x25 -title \"Install \$FIRMWARE\" -e \"get-\$FIRMWARE\"</action> 17.598 + <action>refresh:ESSID_LIST</action> 17.599 + </button> 17.600 + <button> 17.601 + <input file icon=\"system-file-manager\"></input> 17.602 + <label>List files</label> 17.603 + <action>xterm -fa MiscFixed -fs 11 -bg gray93 -fg black -geometry 100x25 -title \"Firmware files (q to quit)\" -e \"find /lib/firmware -exec ls -ld {} \; | less\"</action> 17.604 + <action>refresh:ESSID_LIST</action> 17.605 + </button> 17.606 + </hbox>" 17.607 + 17.608 +# Bottom buttons 17.609 +export WIFI_DIALOG=${WIFI_DIALOG}${tmp}" 17.610 + </vbox> 17.611 + </notebook> 17.612 + <hbox> 17.613 + <button> 17.614 + <label>Stop connection</label> 17.615 + <input file icon=\"stop\"></input> 17.616 + <action>$0 stop_wifi_connexion</action> 17.617 + <action>refresh:ESSID_LIST</action> 17.618 + </button> 17.619 + <button> 17.620 + <label>Exit</label> 17.621 + <input file icon=\"exit\"></input> 17.622 + <action type=\"exit\">Exit</action> 17.623 + </button> 17.624 + </hbox> 17.625 + 17.626 +</vbox> 17.627 +</window>" 17.628 + gtkdialog --center --program=WIFI_DIALOG #>/dev/null 2>&1 17.629 +} 17.630 + 17.631 +if [ -n "$1" ]; then 17.632 + $1 17.633 +else 17.634 + box 17.635 +fi 17.636 + 17.637 +exit 0
18.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 18.2 +++ b/core/rootfs/usr/share/applications/burnbox-doc.desktop Tue Feb 02 22:26:52 2010 +0100 18.3 @@ -0,0 +1,8 @@ 18.4 +[Desktop Entry] 18.5 +Encoding=UTF-8 18.6 +Name=Burnbox manual 18.7 +Name[pt]=Manual do Burnbox 18.8 +Exec=browser file:///usr/share/doc/slitaz-tools/burnbox.html 18.9 +Icon=text-html 18.10 +Type=Application 18.11 +Categories=Documentation;
19.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 19.2 +++ b/core/rootfs/usr/share/applications/gpl-license.desktop Tue Feb 02 22:26:52 2010 +0100 19.3 @@ -0,0 +1,8 @@ 19.4 +[Desktop Entry] 19.5 +Encoding=UTF-8 19.6 +Name=GNU General Public License 19.7 +Name[pt]=Licença PuÌblica Geral GNU 19.8 +Exec=browser file:///usr/share/licenses/gpl.txt 19.9 +Icon=text-x-generic 19.10 +Type=Application 19.11 +Categories=Documentation;
20.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 20.2 +++ b/core/rootfs/usr/share/applications/system-doc.desktop Tue Feb 02 22:26:52 2010 +0100 20.3 @@ -0,0 +1,8 @@ 20.4 +[Desktop Entry] 20.5 +Name=System Doc 20.6 +Name[fr]=Doc du système 20.7 +Name[pt]=Documentação do Sistema 20.8 +Exec=browser file:///usr/share/doc/slitaz/index.html 20.9 +Icon=slitaz-doc.png 20.10 +Type=Application 20.11 +Categories=Documentation;
21.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 21.2 +++ b/core/rootfs/usr/share/applications/tazlito-doc.desktop Tue Feb 02 22:26:52 2010 +0100 21.3 @@ -0,0 +1,9 @@ 21.4 +[Desktop Entry] 21.5 +Name=Tazlito manual 21.6 +Name[fr]=Manuel de Tazlito 21.7 +Comment=SliTaz LiveCD generator and editor 21.8 +Comment[fr]=Manuel de l'outil de geÌneÌration et eÌdition de LiveCD 21.9 +Exec=browser file:///usr/share/doc/tazlito/tazlito.html 21.10 +Icon=text-html 21.11 +Type=Application 21.12 +Categories=Documentation;
22.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 22.2 +++ b/core/rootfs/usr/share/applications/tazlitobox.desktop Tue Feb 02 22:26:52 2010 +0100 22.3 @@ -0,0 +1,8 @@ 22.4 +[Desktop Entry] 22.5 +Encoding=UTF-8 22.6 +Name=Create a LiveCD 22.7 +Name[fr]=Créer un LiveCD 22.8 +Exec=subox tazlitobox 22.9 +Icon=tazlito 22.10 +Type=Application 22.11 +Categories=System;
23.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 23.2 +++ b/core/rootfs/usr/share/applications/tazpkg-doc.desktop Tue Feb 02 22:26:52 2010 +0100 23.3 @@ -0,0 +1,9 @@ 23.4 +[Desktop Entry] 23.5 +Name=Tazpkg manual 23.6 +Name[fr]=Manuel de Tazpkg 23.7 +Comment=SliTaz packages manager manual 23.8 +Comment[fr]=Manuel du gestionnaire de paquets SliTaz 23.9 +Exec=browser file:///usr/share/doc/tazpkg/tazpkg.html 23.10 +Icon=text-html 23.11 +Type=Application 23.12 +Categories=Documentation;
24.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 24.2 +++ b/core/rootfs/usr/share/doc/slitaz/book.css Tue Feb 02 22:26:52 2010 +0100 24.3 @@ -0,0 +1,195 @@ 24.4 +/* 24.5 + CSS style for SliTaz GNU/Linux *book. 24.6 + Pankso 2007 - www.slitaz.org 24.7 +*/ 24.8 + 24.9 +html { 24.10 + height: 102%; 24.11 +} 24.12 + 24.13 +body { 24.14 + font: 13px sans-serif, vernada, arial; 24.15 + background: #ffffff; 24.16 + color: black; 24.17 + margin: 0; 24.18 +} 24.19 + 24.20 +#header { 24.21 + background: #f0ba08 url(images/css/header.png) repeat-x top; 24.22 + color: black; 24.23 + height: 50px; 24.24 + border-top: 1px solid black; 24.25 + border-bottom: 1px solid black; 24.26 +} 24.27 + 24.28 +#header h1 { 24.29 + padding: 10px; 24.30 +} 24.31 + 24.32 +#quicknav { 24.33 + text-align: right; 24.34 + font-size: 12px; 24.35 + color: #666666; 24.36 + background-color: #eaeaea; 24.37 + padding: 4px 2px; 24.38 + font-weight: bold; 24.39 +} 24.40 + 24.41 +#quicknav a { 24.42 + color: #0F314E; 24.43 + background: inherit; 24.44 + text-decoration: none; 24.45 + padding: 0px 2px; 24.46 +} 24.47 + 24.48 +#quicknav a:hover { 24.49 + color: #DF8F06; 24.50 + text-decoration: none; 24.51 +} 24.52 + 24.53 +/* content. */ 24.54 + 24.55 +#content { 24.56 + padding: 20px; 24.57 + margin: 0px 50px 0px 50px; 24.58 + width: auto; 24.59 + text-align: justify; 24.60 +} 24.61 + 24.62 +#content li { 24.63 + line-height: 1.5em; 24.64 + text-align: left; 24.65 +} 24.66 + 24.67 +/* Footer. */ 24.68 + 24.69 +#footer { 24.70 + font-size: 11px; 24.71 + color: black; 24.72 + height: 20px; 24.73 + padding: 0px 0px 0px 10px; 24.74 + margin: 0px; 24.75 + width: auto; 24.76 + text-align: center ; 24.77 +} 24.78 + 24.79 +#footer a { 24.80 + background: #ffffff; 24.81 + color: #0F314E; 24.82 +} 24.83 + 24.84 +#footer a:hover { 24.85 + background: #ffffff; 24.86 + color: blue; 24.87 +} 24.88 + 24.89 +/* Legal informations */ 24.90 + 24.91 +#copy { 24.92 + font-size: 11px ; 24.93 + text-align: center ; 24.94 + background: transparent; 24.95 + color: #a8a8a8; 24.96 + padding-top: 10px; 24.97 +} 24.98 + 24.99 +#copy a { 24.100 + background: inherit; 24.101 + color: #a8a8a8; 24.102 +} 24.103 + 24.104 +#copy a:hover { 24.105 + background: inherit; 24.106 + color: blue; 24.107 +} 24.108 + 24.109 +/* Clouds */ 24.110 + 24.111 +#cloud { 24.112 + padding: 10px 120px 10px 120px; 24.113 + line-height: 3em; 24.114 + text-align: center; 24.115 +} 24.116 +#cloud a { padding: 4px; color: #956411; } 24.117 +#cloud a.tag1 { font-size: 0.7em; font-weight: 100; } 24.118 +#cloud a.tag2 { font-size: 0.8em; font-weight: 200; } 24.119 +#cloud a.tag3 { font-size: 0.9em; font-weight: 300; } 24.120 +#cloud a.tag4 { font-size: 1.0em; font-weight: 400; } 24.121 +#cloud a.tag5 { font-size: 1.2em; font-weight: 500; } 24.122 +#cloud a.tag6 { font-size: 1.4em; font-weight: 600; } 24.123 +#cloud a.tag7 { font-size: 1.6em; font-weight: 700; } 24.124 +#cloud a.tag8 { font-size: 1.8em; font-weight: 800; } 24.125 +#cloud a.tag9 { font-size: 2.2em; font-weight: 900; } 24.126 +#cloud a.tag10 { font-size: 2.5em; font-weight: 900; } 24.127 + 24.128 +/* Div for round corners. */ 24.129 + 24.130 +.content-right, .footer-right { 24.131 + width: 16px; 24.132 + color: white; 24.133 + background-color: #333333; 24.134 +} 24.135 +.content-right { 24.136 + background: url(images/css/content-tr.png) no-repeat top right; 24.137 + height: 16px; 24.138 + right: 50px; 24.139 + top: 82px; 24.140 + position: absolute; 24.141 +} 24.142 + 24.143 +.footer-right { 24.144 + background: url(images/css/footer-br.png) no-repeat bottom right; 24.145 + height: 20px; 24.146 + float: right; 24.147 +} 24.148 + 24.149 +/* General HTML entities for content. */ 24.150 + 24.151 +h1 { 24.152 + margin: 0px 0px 0px 16px; 24.153 +} 24.154 + 24.155 +h2 { 24.156 + margin: 12px 0; 24.157 + color: #484B7C; 24.158 + background: white; 24.159 +} 24.160 + 24.161 +h3 { 24.162 + font-weight: bold; 24.163 + color: #6c0023; 24.164 + background: white; 24.165 +} 24.166 + 24.167 +a { 24.168 + text-decoration: underline; 24.169 +} 24.170 +a:hover { 24.171 + text-decoration: none; 24.172 +} 24.173 + 24.174 +pre { 24.175 + padding: 5px; 24.176 + color: black; 24.177 + background: #e1e0b0; 24.178 +} 24.179 +pre.script { 24.180 + padding: 10px; 24.181 + color: black; 24.182 + background: #e8e8e8; 24.183 + border: 1px inset #333333; 24.184 +} 24.185 + 24.186 +code { 24.187 + font-size: 12px; 24.188 + color: #669900; 24.189 + background: transparent; 24.190 +} 24.191 + 24.192 +li { 24.193 + line-height: 1.4em; 24.194 +} 24.195 + 24.196 +hr { 24.197 + border: 0pt none; 24.198 +}
25.1 Binary file core/rootfs/usr/share/doc/slitaz/favicon.ico has changed
26.1 Binary file core/rootfs/usr/share/doc/slitaz/images/css/header.png has changed
27.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 27.2 +++ b/core/rootfs/usr/share/doc/slitaz/index.de.html Tue Feb 02 22:26:52 2010 +0100 27.3 @@ -0,0 +1,67 @@ 27.4 +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" 27.5 + "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> 27.6 +<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="de" lang="de"> 27.7 +<head> 27.8 + <title>SliTaz - System doc (de)</title> 27.9 + <meta http-equiv="content-type" content="text/html; charset=ISO-8859-1" /> 27.10 + <meta name="description" content="slitaz doc system releases notes information cooking" /> 27.11 + <meta name="expires" content="never" /> 27.12 + <meta name="modified" content="2009-04-16 10:30:00" /> 27.13 + <meta name="publisher" content="www.slitaz.org" /> 27.14 + <meta name="author" content="Christophe Lincoln"/> 27.15 + <link rel="shortcut icon" href="favicon.ico" /> 27.16 + <link rel="stylesheet" type="text/css" href="book.css" /> 27.17 +</head> 27.18 +<body bgcolor="#ffffff"> 27.19 + 27.20 +<!-- Header and quick navigation --> 27.21 +<div id="header"> 27.22 +<h1><font color="#3E1220">SliTaz - System doc</font></h1> 27.23 +</div> 27.24 + 27.25 +<div id="quicknav"> 27.26 + SliTaz: 27.27 + <a href="http://www.slitaz.org/">Website</a> 27.28 + <a href="http://forum.slitaz.org/">Forum</a> 27.29 + <a href="http://wiki.slitaz.org/">Wiki</a> 27.30 + <a href="http://labs.slitaz.org/">Labs</a> 27.31 +</div> 27.32 + 27.33 +<!-- Content. --> 27.34 +<div id="content"> 27.35 + 27.36 +<h2><font color="#DF8F06">Documentation (de)</font></h2> 27.37 + 27.38 +<p> 27.39 +SliTaz GNU/Linux stable Release wird mit den Dokumentationen für die 27.40 +SliTaz-Werkzeuge und den deutschen Release Notes veröffentlicht. Dokumentation 27.41 +und diese Seite sind über das Openboxenü erreichbar. Bitte konsultieren Sie 27.42 +ebenfalls die <a href="http://www.slitaz.org/de/">Deutsche Projektseite</a> 27.43 +für allgemeine Informationen über SliTaz. Für die Benutzung des Systems lesen 27.44 +Sie bitte das deutsche Handbuch. das Teil des 27.45 +<a href="http://wiki.slitaz.org/">SliTaz Wiki</a> ist. 27.46 +</p> 27.47 + 27.48 +<!-- End of content --> 27.49 +</div> 27.50 + 27.51 +<!-- Footer. --> 27.52 +<div id="footer"> 27.53 + <a href="#top">Top of the page</a> - Languages: 27.54 + <a href="index.de.html">de</a> | 27.55 + <a href="index.en.html">en</a> | 27.56 + <a href="index.fr.html">fr</a> | 27.57 + <a href="index.hu.html">hu</a> | 27.58 + <a href="index.pt.html">pt</a> 27.59 +</div> 27.60 + 27.61 +<div id="copy"> 27.62 + Copyright © 2010 <a href="http://www.slitaz.org/">SliTaz</a> - 27.63 + <a href="http://www.gnu.org/licenses/gpl.html">GNU General Public License</a>;<br /> 27.64 + Documentation uder 27.65 + <a href="http://www.gnu.org/copyleft/fdl.html">GNU Free Documentation License</a> 27.66 + and valid <a href="http://validator.w3.org/">xHTML 1.0</a>. 27.67 +</div> 27.68 + 27.69 +</body> 27.70 +</html>
28.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 28.2 +++ b/core/rootfs/usr/share/doc/slitaz/index.en.html Tue Feb 02 22:26:52 2010 +0100 28.3 @@ -0,0 +1,176 @@ 28.4 +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" 28.5 + "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> 28.6 +<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="fr" lang="fr"> 28.7 +<head> 28.8 + <title>SliTaz - System doc</title> 28.9 + <meta http-equiv="content-type" content="text/html; charset=ISO-8859-1" /> 28.10 + <meta name="description" content="slitaz doc system releases notes information cooking" /> 28.11 + <meta name="expires" content="never" /> 28.12 + <meta name="modified" content="2009-12-29 12:10:00" /> 28.13 + <meta name="publisher" content="www.slitaz.org" /> 28.14 + <meta name="author" content="Christophe Lincoln"/> 28.15 + <link rel="shortcut icon" href="favicon.ico" /> 28.16 + <link rel="stylesheet" type="text/css" href="book.css" /> 28.17 +</head> 28.18 +<body bgcolor="#ffffff"> 28.19 + 28.20 +<!-- Header and quick navigation --> 28.21 +<div id="header"> 28.22 + <a name="top"></a> 28.23 + <h1><font color="#3E1220">SliTaz - System doc</font></h1> 28.24 +</div> 28.25 + 28.26 +<div id="quicknav"> 28.27 + SliTaz: 28.28 + <a href="http://www.slitaz.org/">Website</a> 28.29 + <a href="http://forum.slitaz.org/">Forum</a> 28.30 + <a href="http://wiki.slitaz.org/">Wiki</a> 28.31 + <a href="http://labs.slitaz.org/">Labs</a> 28.32 +</div> 28.33 + 28.34 +<!-- Content. --> 28.35 +<div id="content"> 28.36 + 28.37 +<h2><font color="#DF8F06">Documentation (en)</font></h2> 28.38 + 28.39 +<p> 28.40 +The Cooking version doesn't provide any Release Notes, major changes are announced 28.41 +on the web site and the <a href="http://labs.slitaz.org/">Labs</a> provide 28.42 +fresh news about the project's activity. Like the stable version, you will 28.43 +find <a href="http://www.slitaz.org/en/doc/">documentation</a> on the web 28.44 +site and support on the community <a href="http://forum.slitaz.org/">forum</a>. 28.45 +</p> 28.46 + 28.47 +<!-- 28.48 +<p> 28.49 +SliTaz GNU/Linux stable release is published with the project tools, 28.50 +manuals and Release Notes installed on the system. Manuals and this page 28.51 +are accessible through the Openbox menu. Please check the 28.52 +<a href="http://www.slitaz.org/en/">project page</a> for general 28.53 +information on SliTaz. To use and configure the system you can read the 28.54 +<a href="http://www.slitaz.org/en/doc/handbook/">Handbook</a>. 28.55 +Community documentation can be found on the 28.56 +<a href="http://wiki.slitaz.org/">SliTaz Wiki</a> and support on the SliTaz 28.57 +community <a href="http://forum.slitaz.org/#idx2">Forum</a>. 28.58 +</p> 28.59 +--> 28.60 + 28.61 +<h2><font color="#DF8F06">Getting started</font></h2> 28.62 + 28.63 +<a name="network"></a> 28.64 +<h3>Network connections</h3> 28.65 +<p> 28.66 +Click on the "Network Status Monitor" at the bottom right of the screen, 28.67 +"Configure" and then the network manager (netbox) will come up. You can 28.68 +go to the "DHCP" tab and click "Start", and Slitaz will send a DHCP request 28.69 +to the local router. You may also setup a static IP, PPPoE, PPP, VPN and 28.70 +more using their respective tabs. To configure a wireless connection you 28.71 +can use SliTaz wifibox by clicking "Wireless Manager" in the Network Manager 28.72 +or by using the "System Tools" menu entry -> "Wireless networks connections". 28.73 +</p> 28.74 +<p> 28.75 +More detailed information can be found in the Handbook: 28.76 +<a href="http://www.slitaz.org/en/doc/handbook/network-config.html" 28.77 + >Network configuration</a> 28.78 +</p> 28.79 + 28.80 +<a name="apps"></a> 28.81 +<h3>Applications</h3> 28.82 +<p> 28.83 +To have a list of all graphical applications you can use the SliTaz menu button 28.84 +at the bottom left of the screen. To have a list of command line tools, you 28.85 +can open a terminal and double press on the tabulation button. And to have 28.86 +a list of all installed packages you can use the package manager user interface 28.87 +using the panel icon or from the "System Tools" menu. To install any new packages 28.88 +you must have a network connection, the DVD of packages or an USB storage device 28.89 +with downloaded packages from another machine. Naturally any package management 28.90 +can also be done from the command line and <code>tazpkg</code>. 28.91 +</p> 28.92 + 28.93 +<a name="office"></a> 28.94 +<h3>Office suite</h3> 28.95 +<p> 28.96 +The SliTaz packages database provides some lightweight office applications. 28.97 +All of these packages are easily installable in a few clicks through the packages 28.98 +manager. SliTaz also provides a simple way to install the famous and powerful 28.99 +OpenOffice suite: just search OpenOffice in the packages manager, double click 28.100 +on "get-OpenOffice3" and install the script with the <code>Auto exec</code> option 28.101 +enabled. 28.102 +</p> 28.103 +<p> 28.104 +To have a lightweight office suite; use: Abiword as Word processor, Gnumeric as 28.105 +Spreadsheet and Homebank for Bank Accounting. 28.106 +</p> 28.107 + 28.108 +<a name="multimedia"></a> 28.109 +<h3>Multimedia</h3> 28.110 +<p> 28.111 +Most SliTaz flavors include a wide range of sound card drivers, a volume 28.112 +mixer and a light audio player to easily listen to any MP3 or OGG files. The Sound 28.113 +card is autodetected at boot time and audio support works out-of-the-box 28.114 +on many systems. If you manually add a new user and can't listen to audio, please 28.115 +check that the user belongs to the <code>audio</code> group. For any other trouble please 28.116 +look into the full documentation and use the forum for more help. 28.117 +</p> 28.118 +<p> 28.119 +Videos can be watched by installing one single package or using a dedicated 28.120 +LiveCD or LiveUSB system. The SliTaz team have packaged some of the best video players 28.121 +available under GNU/Linux: <code>mplayer</code>, <code>xine-ui</code> and <code>vlc</code> 28.122 +</p> 28.123 + 28.124 +<a name="info"></a> 28.125 +<h3>System information</h3> 28.126 +<p> 28.127 +You can get information on your system by clicking on "System information" 28.128 +in the System Tools menu, then "Summary". Clicking on the other 28.129 +options on the side brings you more information, and using the benchmarks 28.130 +gives you an idea on how fast your computer is. To have a list and control 28.131 +of all your current processes you can use the "Task Manager". 28.132 +</p> 28.133 + 28.134 +<a name="root"></a> 28.135 +<h3>Becoming Root</h3> 28.136 +<p> 28.137 +By default, Slitaz doesn't have its desktop running as root administrator: 28.138 +it asks for a root password (default <code>root</code>) for any dangerous work. 28.139 +Therefore, it is safer and more secure. To become root in an xterm, simply 28.140 +type <code>su</code>, and enter the root password. 28.141 +</p> 28.142 + 28.143 +<a name="install"></a> 28.144 +<h3>Installation</h3> 28.145 +<p> 28.146 +SliTaz can be installed to a hard disk or on an USB mass storage device using the 28.147 +"SliTaz Installer" from the "System Tools" menu. The installer makes a full HD install. 28.148 +SliTaz won't work in memory (RAM) anymore like in Live or Frugal mode and 28.149 +everything is persistent. 28.150 +</p> 28.151 +<p> 28.152 +To generate a LiveUSB system you can use "Tazusb LiveUSB Tool" from the "System Tools" 28.153 +menu or <code>tazusb</code> from the command line. More information can be found in the SliTaz 28.154 +Handbook: <a href="http://www.slitaz.org/en/doc/handbook/liveusb.html">LiveUSB media</a> 28.155 +</p> 28.156 + 28.157 +<!-- End of content --> 28.158 +</div> 28.159 + 28.160 +<!-- Footer. --> 28.161 +<div id="footer"> 28.162 + <a href="#top">Top of the page</a> - Languages: 28.163 + <a href="index.de.html">de</a> | 28.164 + <a href="index.en.html">en</a> | 28.165 + <a href="index.fr.html">fr</a> | 28.166 + <a href="index.hu.html">hu</a> | 28.167 + <a href="index.pt.html">pt</a> 28.168 +</div> 28.169 + 28.170 +<div id="copy"> 28.171 + Copyright © 2010 <a href="http://www.slitaz.org/">SliTaz</a> - 28.172 + <a href="http://www.gnu.org/licenses/gpl.html">GNU General Public License</a>;<br /> 28.173 + Documentation uder 28.174 + <a href="http://www.gnu.org/copyleft/fdl.html">GNU Free Documentation License</a> 28.175 + and valid <a href="http://validator.w3.org/">xHTML 1.0</a>. 28.176 +</div> 28.177 + 28.178 +</body> 28.179 +</html>
29.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 29.2 +++ b/core/rootfs/usr/share/doc/slitaz/index.fr.html Tue Feb 02 22:26:52 2010 +0100 29.3 @@ -0,0 +1,78 @@ 29.4 +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" 29.5 + "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> 29.6 +<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="fr" lang="fr"> 29.7 +<head> 29.8 + <title>SliTaz - System doc (fr)</title> 29.9 + <meta http-equiv="content-type" content="text/html; charset=ISO-8859-1" /> 29.10 + <meta name="description" content="slitaz doc system releases notes information cooking" /> 29.11 + <meta name="expires" content="never" /> 29.12 + <meta name="modified" content="2010-12-30 14:30:00" /> 29.13 + <meta name="publisher" content="www.slitaz.org" /> 29.14 + <meta name="author" content="Christophe Lincoln"/> 29.15 + <link rel="shortcut icon" href="favicon.ico" /> 29.16 + <link rel="stylesheet" type="text/css" href="book.css" /> 29.17 +</head> 29.18 +<body bgcolor="#ffffff"> 29.19 + 29.20 +<!-- Header and quick navigation --> 29.21 +<div id="header"> 29.22 +<h1><font color="#3E1220">SliTaz - Doc du système</font></h1> 29.23 +</div> 29.24 + 29.25 +<div id="quicknav"> 29.26 + SliTaz: 29.27 + <a href="http://www.slitaz.org/">Website</a> 29.28 + <a href="http://forum.slitaz.org/">Forum</a> 29.29 + <a href="http://wiki.slitaz.org/">Wiki</a> 29.30 + <a href="http://labs.slitaz.org/">Labs</a> 29.31 +</div> 29.32 + 29.33 +<!-- Content. --> 29.34 +<div id="content"> 29.35 + 29.36 +<h2><font color="#DF8F06">Documentation (fr)</font></h2> 29.37 + 29.38 +<p> 29.39 +La version en cuisson ou <em>Cooking</em> ne fourni pas de notes de 29.40 +publication, les chagements sont annonçés sur le site web et 29.41 +<a href="http://labs.slitaz.org/">les laboratoires</a> proposent des 29.42 +nouvelles fraîches. Comme pour la version stable, vous pouvez vous 29.43 +référer à la documentation du site et trouverez de l'aide sur 29.44 +<a href="http://forum.slitaz.org/">le forum</a> du projet. 29.45 +</p> 29.46 + 29.47 +<!-- <p> 29.48 +La version stable de SliTaz GNU/linux est distribuée avec les manuels 29.49 +des outils de la distribution et les notes de publication. Tous les manuels 29.50 +ainsi que cette page sont directement accessibles depuis le menu 29.51 +documention du gestionnaire de fenêtres Openbox présent sur le LiveCD. 29.52 +Sur le Web, vous trouverez une documentation complète via le livre de main ou 29.53 +<a href="http://www.slitaz.org/fr/doc/handbook/">Handbook</a> de SliTaz et la 29.54 +documentation communautaire sur le <a href="http://wiki.slitaz.org/">Wiki</a>. 29.55 +Pour de l'aide vous trouverez un support technique gratuit via la liste 29.56 +de discussion ou <a href="http://forum.slitaz.org/">le forum</a> communautaire. 29.57 +</p> --> 29.58 + 29.59 +<!-- End of content --> 29.60 +</div> 29.61 + 29.62 +<!-- Footer. --> 29.63 +<div id="footer"> 29.64 + <a href="#top">Top of the page</a> - Languages: 29.65 + <a href="index.de.html">de</a> | 29.66 + <a href="index.en.html">en</a> | 29.67 + <a href="index.fr.html">fr</a> | 29.68 + <a href="index.hu.html">hu</a> | 29.69 + <a href="index.pt.html">pt</a> 29.70 +</div> 29.71 + 29.72 +<div id="copy"> 29.73 + Copyright © 2010 <a href="http://www.slitaz.org/">SliTaz</a> - 29.74 + <a href="http://www.gnu.org/licenses/gpl.html">GNU General Public License</a>;<br /> 29.75 + Documentation uder 29.76 + <a href="http://www.gnu.org/copyleft/fdl.html">GNU Free Documentation License</a> 29.77 + and valid <a href="http://validator.w3.org/">xHTML 1.0</a>. 29.78 +</div> 29.79 + 29.80 +</body> 29.81 +</html>
30.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 30.2 +++ b/core/rootfs/usr/share/doc/slitaz/index.hu.html Tue Feb 02 22:26:52 2010 +0100 30.3 @@ -0,0 +1,85 @@ 30.4 +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" 30.5 + "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> 30.6 +<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="fr" lang="fr"> 30.7 +<head> 30.8 + <title>SliTaz - System doc (hu)</title> 30.9 + <meta http-equiv="content-type" content="text/html; charset=ISO-8859-1"> 30.10 + <meta name="description" content="slitaz doc system releases notes information cooking"> 30.11 + <meta name="expires" content="never"> 30.12 + <meta name="modified" content="2009-04-16 10:30:00"> 30.13 + <meta name="publisher" content="www.slitaz.org"> 30.14 + <meta name="author" content="Christophe Lincoln"> 30.15 + <link rel="shortcut icon" href="favicon.ico"> 30.16 + <link rel="stylesheet" type="text/css" href="book.css"> 30.17 +</head> 30.18 +<body bgcolor="#ffffff"> 30.19 +<!-- Header and quick navigation --> 30.20 +<div id="header"> 30.21 +<h1><font color="#3e1220">SliTaz - System doc</font></h1> 30.22 +</div> 30.23 + 30.24 +<div id="quicknav"> 30.25 + SliTaz: 30.26 + <a href="http://www.slitaz.org/">Website</a> 30.27 + <a href="http://forum.slitaz.org/">Forum</a> 30.28 + <a href="http://wiki.slitaz.org/">Wiki</a> 30.29 + <a href="http://labs.slitaz.org/">Labs</a> 30.30 +</div> 30.31 + 30.32 +<!-- Content. --> 30.33 +<div id="content"> 30.34 + 30.35 +<h2><font color="#df8f06">Documentation (hu)</font></h2> 30.36 + 30.37 +<h3><font color="#6c0023">Megjegyzés a kiadáshoz<br> 30.38 +</font></h3> 30.39 +<p>A SliTaz GNU/Linux stabil kiadása a rendszerre 30.40 +telepített projekt-eszközökkel, 30.41 +leírásokkal és Kiadási 30.42 +tájékoztatóval jelent meg. A 30.43 +leírások és ez az oldal az Openbox menün 30.44 +keresztül érhetők el. A Slitazzal kapcsolatos 30.45 +általános információkért 30.46 +kérjük látogassa meg a <a 30.47 + href="http://www.slitaz.org/">projekt oldalt</a> . A rendszer 30.48 +beállításához és 30.49 +használatához olvassa el a <a 30.50 + href="http://www.slitaz.org/hu/doc/handbook/">Kézikönyvet</a>. 30.51 +A közösségről a 30.52 +<a href="http://wiki.slitaz.org/">SliTaz Wiki</a> oldalon 30.53 +talál dokomentumokat. Támogatást a Slitaz 30.54 +közösségi <a href="http://forum.slitaz.org/#idx2">Fórumon</a> 30.55 +keresztül kaphat. </p> 30.56 +<p>A Cooking verzióhoz nincs tájékoztató, a 30.57 +változtatásokat közzétesszük a honlapon, 30.58 +és a <a href="http://labs.slitaz.org/">Labs</a> 30.59 +szolgáltat új információkat a projektbeli 30.60 +tevékenységekről. Csakúgy, mint a stabil 30.61 +verzióhoz, ehhez is található 30.62 +dokumentáció és támogatás a 30.63 +közösségi fórumban. 30.64 +</p> 30.65 + 30.66 +<!-- End of content --> 30.67 +</div> 30.68 + 30.69 +<!-- Footer. --> 30.70 +<div id="footer"> 30.71 + <a href="#top">Top of the page</a> - Languages: 30.72 + <a href="index.de.html">de</a> | 30.73 + <a href="index.en.html">en</a> | 30.74 + <a href="index.fr.html">fr</a> | 30.75 + <a href="index.hu.html">hu</a> | 30.76 + <a href="index.pt.html">pt</a> 30.77 +</div> 30.78 + 30.79 +<div id="copy"> 30.80 + Copyright © 2010 <a href="http://www.slitaz.org/">SliTaz</a> - 30.81 + <a href="http://www.gnu.org/licenses/gpl.html">GNU General Public License</a>;<br /> 30.82 + Documentation uder 30.83 + <a href="http://www.gnu.org/copyleft/fdl.html">GNU Free Documentation License</a> 30.84 + and valid <a href="http://validator.w3.org/">xHTML 1.0</a>. 30.85 +</div> 30.86 + 30.87 +</body> 30.88 +</html>
31.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 31.2 +++ b/core/rootfs/usr/share/doc/slitaz/index.pt.html Tue Feb 02 22:26:52 2010 +0100 31.3 @@ -0,0 +1,66 @@ 31.4 +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" 31.5 + "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> 31.6 +<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="pt" lang="pt"> 31.7 +<head> 31.8 + <title>SliTaz - Documentação do Sistema</title> 31.9 + <meta http-equiv="content-type" content="text/html; charset=ISO-8859-1" /> 31.10 + <meta name="description" content="slitaz doc system releases notes information cooking" /> 31.11 + <meta name="expires" content="never" /> 31.12 + <meta name="modified" content="2009-04-16 10:30:00" /> 31.13 + <meta name="publisher" content="www.slitaz.org" /> 31.14 + <meta name="author" content="Christophe Lincoln"/> 31.15 + <link rel="shortcut icon" href="favicon.ico" /> 31.16 + <link rel="stylesheet" type="text/css" href="book.css" /> 31.17 +</head> 31.18 +<body bgcolor="#ffffff"> 31.19 + 31.20 +<!-- Header and quick navigation --> 31.21 +<div id="header"> 31.22 +<h1><font color="#3E1220">SliTaz - Documentação do Sistema</font></h1> 31.23 +</div> 31.24 + 31.25 +<div id="quicknav"> 31.26 + SliTaz: 31.27 + <a href="http://www.slitaz.org/">Website</a> 31.28 + <a href="http://forum.slitaz.org/">Forum</a> 31.29 + <a href="http://wiki.slitaz.org/">Wiki</a> 31.30 + <a href="http://labs.slitaz.org/">Labs</a> 31.31 +</div> 31.32 + 31.33 +<!-- Content. --> 31.34 +<div id="content"> 31.35 + 31.36 +<h2><font color="#DF8F06">Documentação (pt)</font></h2> 31.37 + 31.38 +<p> 31.39 +A versão de testes (cooking) do SliTaz não fornece notas de lançamento, 31.40 +qualquer mudança para esta versão é anunciada no website e o 31.41 +<a href="http://labs.slitaz.org/">SliTaz Labs</a> traz as últimas notícias 31.42 +e atividades do projeto. Assim como na versão estável, você irá obter 31.43 +informações sobre a versão de testes no website e suporte no 31.44 +<a href="http://forum.slitaz.org/">fórum</a> do projeto. 31.45 +</p> 31.46 + 31.47 +<!-- End of content --> 31.48 +</div> 31.49 + 31.50 +<!-- Footer. --> 31.51 +<div id="footer"> 31.52 + <a href="#top">Top of the page</a> - Languages: 31.53 + <a href="index.de.html">de</a> | 31.54 + <a href="index.en.html">en</a> | 31.55 + <a href="index.fr.html">fr</a> | 31.56 + <a href="index.hu.html">hu</a> | 31.57 + <a href="index.pt.html">pt</a> 31.58 +</div> 31.59 + 31.60 +<div id="copy"> 31.61 + Copyright © 2010 <a href="http://www.slitaz.org/">SliTaz</a> - 31.62 + <a href="http://www.gnu.org/licenses/gpl.html">GNU General Public License</a>;<br /> 31.63 + Documentation uder 31.64 + <a href="http://www.gnu.org/copyleft/fdl.html">GNU Free Documentation License</a> 31.65 + and valid <a href="http://validator.w3.org/">xHTML 1.0</a>. 31.66 +</div> 31.67 + 31.68 +</body> 31.69 +</html>
32.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 32.2 +++ b/core/rootfs/usr/share/doc/slitaz/template.html Tue Feb 02 22:26:52 2010 +0100 32.3 @@ -0,0 +1,62 @@ 32.4 +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" 32.5 + "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> 32.6 +<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="fr" lang="fr"> 32.7 +<head> 32.8 + <title>SliTaz - System doc</title> 32.9 + <meta http-equiv="content-type" content="text/html; charset=ISO-8859-1" /> 32.10 + <meta name="description" content="slitaz doc system releases notes information cooking" /> 32.11 + <meta name="expires" content="never" /> 32.12 + <meta name="modified" content="2010-01-04 22:40:00" /> 32.13 + <meta name="publisher" content="www.slitaz.org" /> 32.14 + <meta name="author" content="Christophe Lincoln"/> 32.15 + <link rel="shortcut icon" href="favicon.ico" /> 32.16 + <link rel="stylesheet" type="text/css" href="book.css" /> 32.17 +</head> 32.18 +<body bgcolor="#ffffff"> 32.19 + 32.20 +<!-- Header and quick navigation --> 32.21 +<div id="header"> 32.22 +<h1><font color="#3E1220">SliTaz - System doc</font></h1> 32.23 +</div> 32.24 + 32.25 +<div id="quicknav"> 32.26 + SliTaz: 32.27 + <a href="http://www.slitaz.org/">Website</a> 32.28 + <a href="http://forum.slitaz.org/">Forum</a> 32.29 + <a href="http://wiki.slitaz.org/">Wiki</a> 32.30 + <a href="http://labs.slitaz.org/">Labs</a> 32.31 +</div> 32.32 + 32.33 +<!-- Content. --> 32.34 +<div id="content"> 32.35 +<div class="content-right"></div> 32.36 + 32.37 +<h2><font color="#DF8F06">Template</font></h2> 32.38 + 32.39 +<p> 32.40 +CONTENT 32.41 +</p> 32.42 + 32.43 +<!-- End of content --> 32.44 +</div> 32.45 + 32.46 +<!-- Footer. --> 32.47 +<div id="footer"> 32.48 + <a href="#top">Top of the page</a> - Languages: 32.49 + <a href="index.de.html">de</a> | 32.50 + <a href="index.en.html">en</a> | 32.51 + <a href="index.fr.html">fr</a> | 32.52 + <a href="index.hu.html">hu</a> | 32.53 + <a href="index.pt.html">pt</a> 32.54 +</div> 32.55 + 32.56 +<div id="copy"> 32.57 + Copyright © 2010 <a href="http://www.slitaz.org/">SliTaz</a> - 32.58 + <a href="http://www.gnu.org/licenses/gpl.html">GNU General Public License</a>;<br /> 32.59 + Documentation uder 32.60 + <a href="http://www.gnu.org/copyleft/fdl.html">GNU Free Documentation License</a> 32.61 + and valid <a href="http://validator.w3.org/">xHTML 1.0</a>. 32.62 +</div> 32.63 + 32.64 +</body> 32.65 +</html>
33.1 Binary file core/rootfs/usr/share/images/slitaz-background.jpg has changed
34.1 Binary file core/rootfs/usr/share/pixmaps/slitaz-menu.png has changed
35.1 Binary file core/rootfs/usr/share/slim/themes/slitaz/background.png has changed
36.1 Binary file core/rootfs/usr/share/slim/themes/slitaz/panel.png has changed
37.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 37.2 +++ b/core/rootfs/usr/share/slim/themes/slitaz/slim.theme Tue Feb 02 22:26:52 2010 +0100 37.3 @@ -0,0 +1,37 @@ 37.4 +# SliTaz theme for SLiM 37.5 +# 37.6 + 37.7 +# Messages 37.8 +msg_color #000000 37.9 +msg_font Vera:size=18:bold:dpi=75 37.10 +msg_x 50% 37.11 +msg_y 35% 37.12 +msg_shadow_color #FFFFFF 37.13 +msg_shadow_xoffset 1 37.14 +msg_shadow_yoffset 1 37.15 + 37.16 +# valid values: stretch, tile 37.17 +background_style tile 37.18 +background_color #1e0a0c 37.19 + 37.20 +# Input controls 37.21 +input_panel_x 50% 37.22 +input_panel_y 50% 37.23 +input_name_x 64 37.24 +input_name_y 179 37.25 +input_font Vera:size=11:dpi=75 37.26 +input_fgcolor #000000 37.27 + 37.28 +# Username / password request 37.29 +username_font Vera:size=18:bold:dpi=75 37.30 +username_color #eeede9 37.31 +username_x 50% 37.32 +username_y 140 37.33 +password_x 50% 37.34 +password_y 140 37.35 +username_shadow_color #000000 37.36 +username_shadow_xoffset 1 37.37 +username_shadow_yoffset 1 37.38 + 37.39 +username_msg Username: 37.40 +password_msg Password:
38.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 38.2 +++ b/core/rootfs/usr/share/webhome/netsurf.html Tue Feb 02 22:26:52 2010 +0100 38.3 @@ -0,0 +1,66 @@ 38.4 +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" 38.5 + "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> 38.6 +<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> 38.7 +<head> 38.8 + <title>SliTaz - Web Homepage</title> 38.9 + <meta http-equiv="content-type" content="text/html; charset=ISO-8859-1" /> 38.10 + <meta name="author" content="Christophe Lincoln"/> 38.11 + <link rel="shortcut icon" href="favicon.ico" /> 38.12 + <link rel="stylesheet" type="text/css" href="netsurf.css" /> 38.13 +</head> 38.14 +<body> 38.15 + 38.16 +<!-- Header --> 38.17 +<div id="header"> 38.18 +<h1>Browse the Web</h1> 38.19 +</div> 38.20 + 38.21 +<!-- Content --> 38.22 +<div id="content"> 38.23 + 38.24 +<div style="text-align: center; margin-top: 40px;"> 38.25 +<table> 38.26 + <!-- Search Wikipedia --> 38.27 + <tr> 38.28 + <th><strong>[ Wikipedia ]</strong></th> 38.29 + <td> 38.30 + <form action="http://www.wikipedia.org/search-redirect.php" method="get"> 38.31 + <input type="hidden" name="language" value="en" /> 38.32 + <input type="text" name="search" size="30" /> 38.33 + <input type="submit" name="go" value="Search" /> 38.34 + </form> 38.35 + </td> 38.36 + </tr> 38.37 + <!-- Search Google --> 38.38 + <tr> 38.39 + <th><strong>[ Google ]</strong></th> 38.40 + <td> 38.41 + <form method="get" action="http://www.google.com/search"> 38.42 + <input type="text" name="q" size="30" maxlength="255" value="" /> 38.43 + <input type="submit" value="Search" /> 38.44 + </form> 38.45 + </td> 38.46 + </tr> 38.47 +</table> 38.48 +</div> 38.49 + 38.50 +<!-- Shortcuts --> 38.51 +<div style="text-align: center; margin-top: 30px;"> 38.52 + SliTaz : 38.53 + <a href="http://www.slitaz.org/">Website</a> | 38.54 + <a href="http://doc.slitaz.org/">Documentation</a> | 38.55 + <a href="http://forum.slitaz.org/">Forum</a> | 38.56 + <a href="http://pkgs.slitaz.org/">Packages</a> | 38.57 + <a href="http://labs.slitaz.org/">Labs</a> 38.58 +</div> 38.59 +<div style="text-align: center; margin-top: 20px;"> 38.60 + NetSurf : 38.61 + <a href="http://www.netsurf-browser.org/">Website</a> | 38.62 + <a href="http://www.netsurf-browser.org/documentation/">Documentation</a> 38.63 +</div> 38.64 + 38.65 +<!-- End of content with round corner --> 38.66 +</div> 38.67 + 38.68 +</body> 38.69 +</html>
39.1 --- a/desktop/packages.list Sat Dec 26 11:04:28 2009 +0100 39.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 39.3 @@ -1,172 +0,0 @@ 39.4 -alsa-lib 39.5 -alsaplayer 39.6 -alsa-utils 39.7 -asunder 39.8 -atk 39.9 -attr 39.10 -busybox 39.11 -bzlib 39.12 -cairo 39.13 -cdparanoia-III 39.14 -cdrkit 39.15 -clearlooks 39.16 -conspy 39.17 -dbus 39.18 -dbus-glib 39.19 -depmod 39.20 -desktop-file-utils 39.21 -dialog 39.22 -dropbear 39.23 -e2fsprogs 39.24 -expat 39.25 -fontconfig 39.26 -freetype 39.27 -fuse 39.28 -galculator 39.29 -gamin 39.30 -gcc-lib-base 39.31 -gcolor2 39.32 -geany 39.33 -get-google-earth 39.34 -get-opera 39.35 -get-skype 39.36 -get-wifi-firmware 39.37 -glib 39.38 -glibc-base 39.39 -gpxe 39.40 -grub 39.41 -gtk+ 39.42 -gtkdialog 39.43 -hal 39.44 -hardinfo 39.45 -hicolor-icon-theme 39.46 -hubbub 39.47 -isapnptools 39.48 -isomaster 39.49 -jpeg 39.50 -kbd-busybox 39.51 -lcms 39.52 -leafpad 39.53 -libcap 39.54 -libcddb 39.55 -libcomerr 39.56 -libcroco 39.57 -libcrypto 39.58 -libcurl 39.59 -libgio 39.60 -libglade 39.61 -libgsf 39.62 -libidn 39.63 -libmad 39.64 -libnotify 39.65 -libnsgif 39.66 -libogg 39.67 -libparserutils 39.68 -libpng 39.69 -librsvg 39.70 -libssl 39.71 -libvorbis 39.72 -libxcb 39.73 -libxml2 39.74 -linux 39.75 -linux-acpi 39.76 -linux-crypto 39.77 -linux-sound 39.78 -linux-wireless 39.79 -locale-de 39.80 -locale-es 39.81 -locale-fr 39.82 -locale-pt 39.83 -lxappearance 39.84 -lxpanel 39.85 -lxtask 39.86 -lzlib 39.87 -lzma 39.88 -menu-cache 39.89 -mhwaveedit 39.90 -mtpaint 39.91 -nano 39.92 -ncurses 39.93 -netsurf 39.94 -notecase 39.95 -ntfs-3g 39.96 -ntfsprogs 39.97 -obconf 39.98 -openbox 39.99 -osmo 39.100 -pango 39.101 -pciutils 39.102 -pcmanfm 39.103 -pcmciautils 39.104 -pcre 39.105 -pixman 39.106 -popt 39.107 -ppp 39.108 -rhapsody 39.109 -rp-pppoe 39.110 -shared-mime-info 39.111 -slim 39.112 -slitaz-base-files 39.113 -slitaz-boot-scripts 39.114 -slitaz-configs 39.115 -slitaz-doc 39.116 -slitaz-icon 39.117 -slitaz-menus 39.118 -slitaz-polar-cursors 39.119 -slitaz-tools 39.120 -slitaz-tools-boxes 39.121 -sqlite 39.122 -startup-notification 39.123 -sudoku-savant 39.124 -sysfsutils 39.125 -syslinux 39.126 -syslinux-extra 39.127 -tazlito 39.128 -tazpkg 39.129 -tazusb 39.130 -tazwok 39.131 -tiff 39.132 -transmission 39.133 -transset-df 39.134 -ttf-dejavu 39.135 -udev 39.136 -util-linux-ng-blkid 39.137 -util-linux-ng-cfdisk 39.138 -util-linux-ng-getopt 39.139 -util-linux-ng-uuid 39.140 -viewnior 39.141 -web-applications 39.142 -wireless_tools 39.143 -wpa_supplicant 39.144 -xcb-util 39.145 -xorg 39.146 -xorg-base-fonts 39.147 -xorg-libfontenc 39.148 -xorg-libICE 39.149 -xorg-libSM 39.150 -xorg-libX11 39.151 -xorg-libXau 39.152 -xorg-libXaw 39.153 -xorg-libXcomposite 39.154 -xorg-libXcursor 39.155 -xorg-libXdamage 39.156 -xorg-libXdmcp 39.157 -xorg-libXext 39.158 -xorg-libXfixes 39.159 -xorg-libXfont 39.160 -xorg-libXft 39.161 -xorg-libXi 39.162 -xorg-libXinerama 39.163 -xorg-libXmu 39.164 -xorg-libXpm 39.165 -xorg-libXrandr 39.166 -xorg-libXrender 39.167 -xorg-libXt 39.168 -xorg-libXtst 39.169 -xorg-rgb 39.170 -xorg-server-Xvesa 39.171 -xorg-xauth 39.172 -xorg-xcompmgr 39.173 -xorg-xrandr 39.174 -xterm 39.175 -zlib
40.1 --- a/desktop/receipt Sat Dec 26 11:04:28 2009 +0100 40.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 40.3 @@ -1,11 +0,0 @@ 40.4 -# SliTaz flavor receipt. 40.5 - 40.6 -FLAVOR="desktop" 40.7 -SHORT_DESC="Full featured desktop using Tiny Xvesa server" 40.8 -VERSION="20091225" 40.9 -MAINTAINER="pankso@slitaz.org" 40.10 - 40.11 -FRUGAL_RAM="128M" 40.12 -ROOTFS_SIZE="72.0M" 40.13 -INITRAMFS_SIZE="20.7M" 40.14 -ISO_SIZE="24.0M"
41.1 --- a/desktop/rootcd/README Sat Dec 26 11:04:28 2009 +0100 41.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 41.3 @@ -1,67 +0,0 @@ 41.4 -README SliTaz GNU/Linux CD August 2007 41.5 -=============================================================================== 41.6 - 41.7 - 41.8 -Français 41.9 --------- 41.10 -Ce cdrom est un système autonome Live, il vous suffit de démarrer sur le CD 41.11 -(booter) et SliTaz se lance en mémoire vive (RAM), sans toucher à votre système 41.12 -actuel. SliTaz peut fonctionner des mois entiers sans redémarrer, le système 41.13 -peut fonctionner dans 128 Mb de mémoire vive et sur des machines sans disque dur. 41.14 -Mais SliTaz est aussi pleinement installable sur un disque dur et largement 41.15 -extensible via le gestionnaire de paquets et la compilation de nouvelles 41.16 -applications depuis les sources. 41.17 - 41.18 -Une fois le système lancé, vous disposez d'un shell ash, et vous pouvez retirer 41.19 -le cdrom, car SliTaz utilise la mémoire vive (RAM) de la machine. Le système 41.20 -fournit plus de 200 commandes Linux, un mini serveur web, navigateur web, 41.21 -client de chat IRC, support IDE, eth0, usb, le système X et bien plus {...}. 41.22 - 41.23 -SliTaz peut être utilisé pour réparer, et tester un disque dur avec fdisk, 41.24 -hdparm, ou les outils e2fsprogs. Le système et aussi pleinement installable, 41.25 -vous pouvez jetter un coup d'oeil au document install-guide.html. 41.26 - 41.27 -Slitaz GNU/Linux est distribué sans aucune garantie et publié car 41.28 -potentiellement utile. SliTaz n'as aucune prétention, nous ne sommes que des 41.29 -passionnés par l'informatique libre, qui aimons la liberté et le partage. Sur 41.30 -le système vous trouverez le manuel d'utilisateur et la documentation dans : 41.31 -/usr/share/doc, et les licences complète dans : /usr/share/licenses. 41.32 - 41.33 -Havefun! 41.34 - 41.35 - 41.36 -English 41.37 -------- 41.38 -SliTaz is a micro GNU/Linux distro using BusyBox, a Linux kernel, and GNU 41.39 -free software. SliTaz also use goodies from the Debian project. The goal of 41.40 -SliTaz is to have a GNU/Linux distro working all in memory (RAM). SliTaz boot 41.41 -with Syslinux, provide more than 200 Linux commands, LightTPD web serveur, 41.42 -SSH server/client powered by Dropbear, rescue tools, X system, and much more 41.43 -{...}. 41.44 - 41.45 -On the system you will find documentation in: /usr/share/doc, and the full 41.46 -GPL license in: /usr/share/licenses. 41.47 - 41.48 - 41.49 -LICENSE 41.50 -------- 41.51 - 41.52 -Copyright (c) 2007 SliTaz GNU/Linux 41.53 - 41.54 -SliTaz is free software; you can redistribute it and/or modify 41.55 -it under the terms of the GNU General Public License as published by 41.56 -the Free Software Foundation; either version 3 of the License, or 41.57 -(at your option) any later version. 41.58 - 41.59 -SliTaz is distributed in the hope that it will be useful, 41.60 -but WITHOUT ANY WARRANTY; without even the implied warranty of 41.61 -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 41.62 -GNU General Public License for more details. 41.63 - 41.64 -You should have received a copy of the GNU General Public License 41.65 -along with SliTaz; if not, write to the Free Software 41.66 -Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA 41.67 - 41.68 - 41.69 -=============================================================================== 41.70 - http://www.slitaz.org/
42.1 Binary file desktop/rootcd/images/header.png has changed
43.1 --- a/desktop/rootcd/index.html Sat Dec 26 11:04:28 2009 +0100 43.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 43.3 @@ -1,64 +0,0 @@ 43.4 -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" 43.5 - "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> 43.6 -<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="fr" lang="fr"> 43.7 -<head> 43.8 - <title>SliTaz GNU/Linux - CD</title> 43.9 - <meta http-equiv="content-type" content="text/html; charset=ISO-8859-1" /> 43.10 - <meta name="description" content="SliTaz documentation book" /> 43.11 - <meta name="expires" content="never" /> 43.12 - <meta name="modified" content="2007-10-07 20:30:00" /> 43.13 - <meta name="publisher" content="www.slitaz.org" /> 43.14 - <meta name="author" content="Christophe Lincoln"/> 43.15 - <link rel="stylesheet" type="text/css" href="style.css" /> 43.16 -</head> 43.17 -<body bgcolor="#ffffff"> 43.18 -<!-- Header --> 43.19 -<div id="header"> 43.20 - <a name="top"></a> 43.21 - <h1>SliTaz GNU/Linux - CD</h1> 43.22 -</div> 43.23 - 43.24 -<!-- Content --> 43.25 -<div id="content"> 43.26 -<h2><font color="#DF8F06">LiveCD informations</font></h2> 43.27 - 43.28 -<h3><font color="#9c2424">Français</font></h3> 43.29 -<p> 43.30 -Bienvenue sur la page d'index d'un cdrom de SliTaz GNU/Linux. Lisez le 43.31 -fichier <a href="README">README</a> pour de plus amples informations, ou 43.32 -démarrez votre ordinateur avec le cdrom dans le lecteur CD ou DVD, pour 43.33 -lancer SliTaz en RAM et sans risques pour la machine hôte. 43.34 -</p> 43.35 - 43.36 -<h3><font color="#9c2424">English</font></h3> 43.37 -<p> 43.38 -Welcome on a SliTaz GNU/Linux cdrom, SliTaz is mostly documented in French, 43.39 -but the full system is available in English. To boot SliTaz from a cdrom, 43.40 -just burn the ISO image onto a blank disc. Then reboot your computer with 43.41 -the disc into your cdrom driver. 43.42 -</p> 43.43 -<p> 43.44 -Have fun!<br /> 43.45 -- SliTaz community 43.46 -</p> 43.47 - 43.48 -</div> 43.49 -<!-- End content --> 43.50 -<hr /> 43.51 -<!-- Footer --> 43.52 -<div align="center" id="footer"> 43.53 -<p> 43.54 -<font size="-1"> 43.55 - <a href="#top">Haut de la page</a> 43.56 -</font> 43.57 -</p> 43.58 -<p> 43.59 -<font size="-1"> 43.60 - Copyright © 2007 <a href="http://www.slitaz.org/">SliTaz</a> - 43.61 - <a href="http://www.gnu.org/licenses/gpl.html">GNU General Public License</a><br /> 43.62 - Code <a href="http://validator.w3.org/">XHTML 1.0 valide</a>. 43.63 -</font> 43.64 -</p> 43.65 -</div> 43.66 -</body> 43.67 -</html>
44.1 --- a/desktop/rootcd/style.css Sat Dec 26 11:04:28 2009 +0100 44.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 44.3 @@ -1,57 +0,0 @@ 44.4 -/* CSS style for SliTaz GNU/Linux generic xHTML files. */ 44.5 -body { 44.6 - font: 90% sans-serif, vernada, arial; 44.7 - margin: 0; 44.8 - } 44.9 -/* Header */ 44.10 -#header{ 44.11 - background: #BFB06B url(images/header.png) repeat-x top; 44.12 - color: black; 44.13 - width: 100%; 44.14 - height: 50px ; 44.15 - border-top: 1px solid black; 44.16 - border-bottom: 1px solid black; 44.17 - } 44.18 -#content { 44.19 - margin: 0px 50px 26px 50px; 44.20 - } 44.21 -#footer { 44.22 - border-top: 1px solid black; 44.23 - } 44.24 -a { 44.25 - text-decoration: underline; 44.26 - } 44.27 -a:hover { 44.28 - text-decoration: none; 44.29 - } 44.30 -h1 { 44.31 - margin: 10px 0px 0px 6px; 44.32 - } 44.33 -h2 { 44.34 - margin: 12px 0; 44.35 - } 44.36 -pre { 44.37 - padding: 5px; 44.38 - color: black; 44.39 - background: #e1e0b0; 44.40 - } 44.41 -pre.script { 44.42 - padding: 10px; 44.43 - color: black; 44.44 - background: #e8e8e8; 44.45 - border: 1px inset #333333; 44.46 -} 44.47 -li { 44.48 - line-height: 1.4em; 44.49 - } 44.50 -code { 44.51 - font-size: 100%; 44.52 - color: #669900; 44.53 - background: transparent; 44.54 - } 44.55 -hr { 44.56 - color: white; 44.57 - background-color: white; 44.58 - height: 1px; 44.59 - border: 0; 44.60 - }
45.1 --- a/dillo/packages.list Sat Dec 26 11:04:28 2009 +0100 45.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 45.3 @@ -1,122 +0,0 @@ 45.4 -attr 45.5 -busybox 45.6 -bzlib 45.7 -cairo 45.8 -cdrkit 45.9 -clex 45.10 -conspy 45.11 -dbus 45.12 -dbus-glib 45.13 -depmod 45.14 -dialog 45.15 -dillo 45.16 -dropbear 45.17 -e2fsprogs 45.18 -expat 45.19 -fltk-2.0.x 45.20 -fontconfig 45.21 -freetype 45.22 -gcc-lib-base 45.23 -glib 45.24 -glibc-base 45.25 -gpxe 45.26 -grub 45.27 -hal 45.28 -hsetroot 45.29 -htop 45.30 -imlib2 45.31 -isapnptools 45.32 -jpeg 45.33 -kbd-busybox 45.34 -libcap 45.35 -libcomerr 45.36 -libcrypto 45.37 -libdrm 45.38 -libgio 45.39 -libid3tag 45.40 -libpng 45.41 -libssl 45.42 -libxcb 45.43 -libxml2 45.44 -linux 45.45 -locale-de 45.46 -locale-es 45.47 -locale-fr 45.48 -locale-pt 45.49 -lzlib 45.50 -lzma 45.51 -mesa 45.52 -nano 45.53 -ncurses 45.54 -openbox 45.55 -openssl 45.56 -pango 45.57 -pciutils 45.58 -pcmciautils 45.59 -pcre 45.60 -pixman 45.61 -popt 45.62 -ppp 45.63 -rp-pppoe 45.64 -slim 45.65 -slitaz-base-files 45.66 -slitaz-boot-scripts 45.67 -slitaz-doc 45.68 -slitaz-polar-cursors 45.69 -slitaz-tools 45.70 -sqlite 45.71 -startup-notification 45.72 -sysfsutils 45.73 -syslinux 45.74 -syslinux-extra 45.75 -tazlito 45.76 -tazpkg 45.77 -tazusb 45.78 -tazwok 45.79 -tiff 45.80 -tint2 45.81 -ttf-dejavu 45.82 -udev 45.83 -util-linux-ng-blkid 45.84 -util-linux-ng-uuid 45.85 -xcb-util 45.86 -xorg 45.87 -xorg-base-fonts 45.88 -xorg-libfontenc 45.89 -xorg-libICE 45.90 -xorg-libpciaccess 45.91 -xorg-libSM 45.92 -xorg-libX11 45.93 -xorg-libXau 45.94 -xorg-libXaw 45.95 -xorg-libXcomposite 45.96 -xorg-libXcursor 45.97 -xorg-libXdamage 45.98 -xorg-libXdmcp 45.99 -xorg-libXext 45.100 -xorg-libXfixes 45.101 -xorg-libXfont 45.102 -xorg-libXft 45.103 -xorg-libXi 45.104 -xorg-libXinerama 45.105 -xorg-libxkbfile 45.106 -xorg-libXmu 45.107 -xorg-libXpm 45.108 -xorg-libXrandr 45.109 -xorg-libXrender 45.110 -xorg-libXt 45.111 -xorg-libXtst 45.112 -xorg-libXxf86vm 45.113 -xorg-rgb 45.114 -xorg-server 45.115 -xorg-setxkbmap 45.116 -xorg-xauth 45.117 -xorg-xf86-input-keyboard 45.118 -xorg-xf86-input-mouse 45.119 -xorg-xf86-video-vesa 45.120 -xorg-xkbcomp 45.121 -xorg-xkeyboard-config 45.122 -xorg-xrandr 45.123 -xorg-xsetroot 45.124 -xterm 45.125 -zlib
46.1 --- a/dillo/receipt Sat Dec 26 11:04:28 2009 +0100 46.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 46.3 @@ -1,11 +0,0 @@ 46.4 -# SliTaz flavor receipt. 46.5 - 46.6 -FLAVOR="dillo" 46.7 -SHORT_DESC="Very small desktop with the Dillo Web Browser only" 46.8 -VERSION="20091225" 46.9 -MAINTAINER="pankso@slitaz.org" 46.10 - 46.11 -FRUGAL_RAM="64M" 46.12 -ROOTFS_SIZE="46.9M" 46.13 -INITRAMFS_SIZE="12.8M" 46.14 -ISO_SIZE="16.0M"
47.1 --- a/dillo/rootcd/README Sat Dec 26 11:04:28 2009 +0100 47.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 47.3 @@ -1,67 +0,0 @@ 47.4 -README SliTaz GNU/Linux CD August 2007 47.5 -=============================================================================== 47.6 - 47.7 - 47.8 -Français 47.9 --------- 47.10 -Ce cdrom est un système autonome Live, il vous suffit de démarrer sur le CD 47.11 -(booter) et SliTaz se lance en mémoire vive (RAM), sans toucher à votre système 47.12 -actuel. SliTaz peut fonctionner des mois entiers sans redémarrer, le système 47.13 -peut fonctionner dans 128 Mb de mémoire vive et sur des machines sans disque dur. 47.14 -Mais SliTaz est aussi pleinement installable sur un disque dur et largement 47.15 -extensible via le gestionnaire de paquets et la compilation de nouvelles 47.16 -applications depuis les sources. 47.17 - 47.18 -Une fois le système lancé, vous disposez d'un shell ash, et vous pouvez retirer 47.19 -le cdrom, car SliTaz utilise la mémoire vive (RAM) de la machine. Le système 47.20 -fournit plus de 200 commandes Linux, un mini serveur web, navigateur web, 47.21 -client de chat IRC, support IDE, eth0, usb, le système X et bien plus {...}. 47.22 - 47.23 -SliTaz peut être utilisé pour réparer, et tester un disque dur avec fdisk, 47.24 -hdparm, ou les outils e2fsprogs. Le système et aussi pleinement installable, 47.25 -vous pouvez jetter un coup d'oeil au document install-guide.html. 47.26 - 47.27 -Slitaz GNU/Linux est distribué sans aucune garantie et publié car 47.28 -potentiellement utile. SliTaz n'as aucune prétention, nous ne sommes que des 47.29 -passionnés par l'informatique libre, qui aimons la liberté et le partage. Sur 47.30 -le système vous trouverez le manuel d'utilisateur et la documentation dans : 47.31 -/usr/share/doc, et les licences complète dans : /usr/share/licenses. 47.32 - 47.33 -Havefun! 47.34 - 47.35 - 47.36 -English 47.37 -------- 47.38 -SliTaz is a micro GNU/Linux distro using BusyBox, a Linux kernel, and GNU 47.39 -free software. SliTaz also use goodies from the Debian project. The goal of 47.40 -SliTaz is to have a GNU/Linux distro working all in memory (RAM). SliTaz boot 47.41 -with Syslinux, provide more than 200 Linux commands, LightTPD web serveur, 47.42 -SSH server/client powered by Dropbear, rescue tools, X system, and much more 47.43 -{...}. 47.44 - 47.45 -On the system you will find documentation in: /usr/share/doc, and the full 47.46 -GPL license in: /usr/share/licenses. 47.47 - 47.48 - 47.49 -LICENSE 47.50 -------- 47.51 - 47.52 -Copyright (c) 2007 SliTaz GNU/Linux 47.53 - 47.54 -SliTaz is free software; you can redistribute it and/or modify 47.55 -it under the terms of the GNU General Public License as published by 47.56 -the Free Software Foundation; either version 3 of the License, or 47.57 -(at your option) any later version. 47.58 - 47.59 -SliTaz is distributed in the hope that it will be useful, 47.60 -but WITHOUT ANY WARRANTY; without even the implied warranty of 47.61 -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 47.62 -GNU General Public License for more details. 47.63 - 47.64 -You should have received a copy of the GNU General Public License 47.65 -along with SliTaz; if not, write to the Free Software 47.66 -Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA 47.67 - 47.68 - 47.69 -=============================================================================== 47.70 - http://www.slitaz.org/
48.1 Binary file dillo/rootcd/images/header.png has changed
49.1 --- a/dillo/rootcd/index.html Sat Dec 26 11:04:28 2009 +0100 49.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 49.3 @@ -1,64 +0,0 @@ 49.4 -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" 49.5 - "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> 49.6 -<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="fr" lang="fr"> 49.7 -<head> 49.8 - <title>SliTaz GNU/Linux - CD</title> 49.9 - <meta http-equiv="content-type" content="text/html; charset=ISO-8859-1" /> 49.10 - <meta name="description" content="SliTaz documentation book" /> 49.11 - <meta name="expires" content="never" /> 49.12 - <meta name="modified" content="2007-10-07 20:30:00" /> 49.13 - <meta name="publisher" content="www.slitaz.org" /> 49.14 - <meta name="author" content="Christophe Lincoln"/> 49.15 - <link rel="stylesheet" type="text/css" href="style.css" /> 49.16 -</head> 49.17 -<body bgcolor="#ffffff"> 49.18 -<!-- Header --> 49.19 -<div id="header"> 49.20 - <a name="top"></a> 49.21 - <h1>SliTaz GNU/Linux - CD</h1> 49.22 -</div> 49.23 - 49.24 -<!-- Content --> 49.25 -<div id="content"> 49.26 -<h2><font color="#DF8F06">LiveCD informations</font></h2> 49.27 - 49.28 -<h3><font color="#9c2424">Français</font></h3> 49.29 -<p> 49.30 -Bienvenue sur la page d'index d'un cdrom de SliTaz GNU/Linux. Lisez le 49.31 -fichier <a href="README">README</a> pour de plus amples informations, ou 49.32 -démarrez votre ordinateur avec le cdrom dans le lecteur CD ou DVD, pour 49.33 -lancer SliTaz en RAM et sans risques pour la machine hôte. 49.34 -</p> 49.35 - 49.36 -<h3><font color="#9c2424">English</font></h3> 49.37 -<p> 49.38 -Welcome on a SliTaz GNU/Linux cdrom, SliTaz is mostly documented in French, 49.39 -but the full system is available in English. To boot SliTaz from a cdrom, 49.40 -just burn the ISO image onto a blank disc. Then reboot your computer with 49.41 -the disc into your cdrom driver. 49.42 -</p> 49.43 -<p> 49.44 -Have fun!<br /> 49.45 -- SliTaz community 49.46 -</p> 49.47 - 49.48 -</div> 49.49 -<!-- End content --> 49.50 -<hr /> 49.51 -<!-- Footer --> 49.52 -<div align="center" id="footer"> 49.53 -<p> 49.54 -<font size="-1"> 49.55 - <a href="#top">Haut de la page</a> 49.56 -</font> 49.57 -</p> 49.58 -<p> 49.59 -<font size="-1"> 49.60 - Copyright © 2007 <a href="http://www.slitaz.org/">SliTaz</a> - 49.61 - <a href="http://www.gnu.org/licenses/gpl.html">GNU General Public License</a><br /> 49.62 - Code <a href="http://validator.w3.org/">XHTML 1.0 valide</a>. 49.63 -</font> 49.64 -</p> 49.65 -</div> 49.66 -</body> 49.67 -</html>
50.1 --- a/dillo/rootcd/style.css Sat Dec 26 11:04:28 2009 +0100 50.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 50.3 @@ -1,57 +0,0 @@ 50.4 -/* CSS style for SliTaz GNU/Linux generic xHTML files. */ 50.5 -body { 50.6 - font: 90% sans-serif, vernada, arial; 50.7 - margin: 0; 50.8 - } 50.9 -/* Header */ 50.10 -#header{ 50.11 - background: #BFB06B url(images/header.png) repeat-x top; 50.12 - color: black; 50.13 - width: 100%; 50.14 - height: 50px ; 50.15 - border-top: 1px solid black; 50.16 - border-bottom: 1px solid black; 50.17 - } 50.18 -#content { 50.19 - margin: 0px 50px 26px 50px; 50.20 - } 50.21 -#footer { 50.22 - border-top: 1px solid black; 50.23 - } 50.24 -a { 50.25 - text-decoration: underline; 50.26 - } 50.27 -a:hover { 50.28 - text-decoration: none; 50.29 - } 50.30 -h1 { 50.31 - margin: 10px 0px 0px 6px; 50.32 - } 50.33 -h2 { 50.34 - margin: 12px 0; 50.35 - } 50.36 -pre { 50.37 - padding: 5px; 50.38 - color: black; 50.39 - background: #e1e0b0; 50.40 - } 50.41 -pre.script { 50.42 - padding: 10px; 50.43 - color: black; 50.44 - background: #e8e8e8; 50.45 - border: 1px inset #333333; 50.46 -} 50.47 -li { 50.48 - line-height: 1.4em; 50.49 - } 50.50 -code { 50.51 - font-size: 100%; 50.52 - color: #669900; 50.53 - background: transparent; 50.54 - } 50.55 -hr { 50.56 - color: white; 50.57 - background-color: white; 50.58 - height: 1px; 50.59 - border: 0; 50.60 - }
51.1 --- a/eeepc/packages.list Sat Dec 26 11:04:28 2009 +0100 51.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 51.3 @@ -1,194 +0,0 @@ 51.4 -915resolution 51.5 -acl 51.6 -alsa-lib 51.7 -alsaplayer 51.8 -alsa-utils 51.9 -asunder 51.10 -atk 51.11 -attr 51.12 -busybox 51.13 -bzlib 51.14 -cairo 51.15 -cairomm 51.16 -cdparanoia-III 51.17 -cdrkit 51.18 -clearlooks 51.19 -clex 51.20 -conspy 51.21 -curl 51.22 -dbus 51.23 -dbus-glib 51.24 -depmod 51.25 -desktop-file-utils 51.26 -dialog 51.27 -dmidecode 51.28 -dropbear 51.29 -e2fsprogs 51.30 -enchant 51.31 -expat 51.32 -file 51.33 -firefox 51.34 -fontconfig 51.35 -freetype 51.36 -fuse 51.37 -galculator 51.38 -gamin 51.39 -gcc-lib-base 51.40 -gcolor2 51.41 -geany 51.42 -get-dropbox 51.43 -get-dsl-firmware 51.44 -get-flash-plugin 51.45 -get-google-earth 51.46 -get-java6-jre 51.47 -get-OpenOffice3 51.48 -get-opera 51.49 -get-skype 51.50 -get-wifi-firmware 51.51 -gftp 51.52 -glib 51.53 -glibc-base 51.54 -glibmm 51.55 -gparted 51.56 -gpicview 51.57 -gpxe 51.58 -grsync 51.59 -grub 51.60 -gtk+ 51.61 -gtkdialog 51.62 -gtkmm 51.63 -gtkspell 51.64 -hal 51.65 -hardinfo 51.66 -hicolor-icon-theme 51.67 -isapnptools 51.68 -isomaster 51.69 -jpeg 51.70 -kbd-busybox 51.71 -leafpad 51.72 -libcap 51.73 -libcddb 51.74 -libcomerr 51.75 -libcrypto 51.76 -libcurl 51.77 -libgio 51.78 -libgiomm 51.79 -libglade 51.80 -libidn 51.81 -libmad 51.82 -libnotify 51.83 -libogg 51.84 -libpng 51.85 -libsigc++ 51.86 -libssl 51.87 -libvorbis 51.88 -libxml2 51.89 -linux 51.90 -linux-acpi 51.91 -linux-crypto 51.92 -linux-sound 51.93 -linux-wireless 51.94 -locale-de 51.95 -locale-es 51.96 -locale-pt 51.97 -lostirc 51.98 -lxappearance 51.99 -lxpanel 51.100 -lxtask 51.101 -lzlib 51.102 -lzma 51.103 -menu-cache 51.104 -mhwaveedit 51.105 -mtpaint 51.106 -nano 51.107 -ncurses 51.108 -ndiswrapper-driver 51.109 -notecase 51.110 -ntfs-3g 51.111 -ntfsprogs 51.112 -obconf 51.113 -openbox 51.114 -osmo 51.115 -pango 51.116 -pangomm 51.117 -parcellite 51.118 -parted 51.119 -pciutils 51.120 -pcmanfm 51.121 -pcmciautils 51.122 -pcre 51.123 -perl-core 51.124 -pixman 51.125 -popt 51.126 -ppp 51.127 -rp-pppoe 51.128 -rsync 51.129 -shared-mime-info 51.130 -slim 51.131 -slitaz-base-files 51.132 -slitaz-boot-scripts 51.133 -slitaz-configs 51.134 -slitaz-doc 51.135 -slitaz-eeepc 51.136 -slitaz-menus 51.137 -slitaz-polar-cursors 51.138 -slitaz-icon 51.139 -slitaz-tools 51.140 -slitaz-tools-boxes 51.141 -sqlite 51.142 -startup-notification 51.143 -sudoku-savant 51.144 -sysfsutils 51.145 -syslinux 51.146 -syslinux-extra 51.147 -tazlito 51.148 -tazndis 51.149 -tazpkg 51.150 -tazusb 51.151 -tazwok 51.152 -tiff 51.153 -transmission 51.154 -transset-df 51.155 -ttf-dejavu 51.156 -udev 51.157 -util-linux-ng-blkid 51.158 -util-linux-ng-getopt 51.159 -util-linux-ng-uuid 51.160 -vorbis-tools 51.161 -web-applications 51.162 -wireless_tools 51.163 -wpa_supplicant 51.164 -xarchive 51.165 -xcb-util 51.166 -xorg 51.167 -xorg-base-fonts 51.168 -xorg-libfontenc 51.169 -xorg-libICE 51.170 -xorg-libSM 51.171 -xorg-libX11 51.172 -xorg-libXau 51.173 -xorg-libXaw 51.174 -xorg-libXcomposite 51.175 -xorg-libXcursor 51.176 -xorg-libXdamage 51.177 -xorg-libXdmcp 51.178 -xorg-libXext 51.179 -xorg-libXfixes 51.180 -xorg-libXfont 51.181 -xorg-libXft 51.182 -xorg-libXi 51.183 -xorg-libXinerama 51.184 -xorg-libXmu 51.185 -xorg-libXpm 51.186 -xorg-libXrandr 51.187 -xorg-libXrender 51.188 -xorg-libXt 51.189 -xorg-libXtst 51.190 -xorg-rgb 51.191 -xorg-server-Xvesa 51.192 -xorg-xauth 51.193 -xorg-xcompmgr 51.194 -xorg-xrandr 51.195 -xpad 51.196 -xterm 51.197 -zlib
52.1 --- a/eeepc/receipt Sat Dec 26 11:04:28 2009 +0100 52.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 52.3 @@ -1,11 +0,0 @@ 52.4 -# SliTaz flavor receipt. 52.5 - 52.6 -FLAVOR="eeepc" 52.7 -SHORT_DESC="SliTaz eeepc system" 52.8 -VERSION="20091104" 52.9 -MAINTAINER="pankso@slitaz.org" 52.10 - 52.11 -FRUGAL_RAM="160M" 52.12 -ROOTFS_SIZE="105.4M" 52.13 -INITRAMFS_SIZE="28.4M" 52.14 -ISO_SIZE="31.2M"
53.1 --- a/eeepc/rootcd/README Sat Dec 26 11:04:28 2009 +0100 53.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 53.3 @@ -1,67 +0,0 @@ 53.4 -README SliTaz GNU/Linux CD August 2007 53.5 -=============================================================================== 53.6 - 53.7 - 53.8 -Français 53.9 --------- 53.10 -Ce cdrom est un système autonome Live, il vous suffit de démarrer sur le CD 53.11 -(booter) et SliTaz se lance en mémoire vive (RAM), sans toucher à votre système 53.12 -actuel. SliTaz peut fonctionner des mois entiers sans redémarrer, le système 53.13 -peut fonctionner dans 128 Mb de mémoire vive et sur des machines sans disque dur. 53.14 -Mais SliTaz est aussi pleinement installable sur un disque dur et largement 53.15 -extensible via le gestionnaire de paquets et la compilation de nouvelles 53.16 -applications depuis les sources. 53.17 - 53.18 -Une fois le système lancé, vous disposez d'un shell ash, et vous pouvez retirer 53.19 -le cdrom, car SliTaz utilise la mémoire vive (RAM) de la machine. Le système 53.20 -fournit plus de 200 commandes Linux, un mini serveur web, navigateur web, 53.21 -client de chat IRC, support IDE, eth0, usb, le système X et bien plus {...}. 53.22 - 53.23 -SliTaz peut être utilisé pour réparer, et tester un disque dur avec fdisk, 53.24 -hdparm, ou les outils e2fsprogs. Le système et aussi pleinement installable, 53.25 -vous pouvez jetter un coup d'oeil au document install-guide.html. 53.26 - 53.27 -Slitaz GNU/Linux est distribué sans aucune garantie et publié car 53.28 -potentiellement utile. SliTaz n'as aucune prétention, nous ne sommes que des 53.29 -passionnés par l'informatique libre, qui aimons la liberté et le partage. Sur 53.30 -le système vous trouverez le manuel d'utilisateur et la documentation dans : 53.31 -/usr/share/doc, et les licences complète dans : /usr/share/licenses. 53.32 - 53.33 -Havefun! 53.34 - 53.35 - 53.36 -English 53.37 -------- 53.38 -SliTaz is a micro GNU/Linux distro using BusyBox, a Linux kernel, and GNU 53.39 -free software. SliTaz also use goodies from the Debian project. The goal of 53.40 -SliTaz is to have a GNU/Linux distro working all in memory (RAM). SliTaz boot 53.41 -with Syslinux, provide more than 200 Linux commands, LightTPD web serveur, 53.42 -SSH server/client powered by Dropbear, rescue tools, X system, and much more 53.43 -{...}. 53.44 - 53.45 -On the system you will find documentation in: /usr/share/doc, and the full 53.46 -GPL license in: /usr/share/licenses. 53.47 - 53.48 - 53.49 -LICENSE 53.50 -------- 53.51 - 53.52 -Copyright (c) 2007 SliTaz GNU/Linux 53.53 - 53.54 -SliTaz is free software; you can redistribute it and/or modify 53.55 -it under the terms of the GNU General Public License as published by 53.56 -the Free Software Foundation; either version 3 of the License, or 53.57 -(at your option) any later version. 53.58 - 53.59 -SliTaz is distributed in the hope that it will be useful, 53.60 -but WITHOUT ANY WARRANTY; without even the implied warranty of 53.61 -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 53.62 -GNU General Public License for more details. 53.63 - 53.64 -You should have received a copy of the GNU General Public License 53.65 -along with SliTaz; if not, write to the Free Software 53.66 -Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA 53.67 - 53.68 - 53.69 -=============================================================================== 53.70 - http://www.slitaz.org/
54.1 Binary file eeepc/rootcd/images/header.png has changed
55.1 --- a/eeepc/rootcd/index.html Sat Dec 26 11:04:28 2009 +0100 55.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 55.3 @@ -1,64 +0,0 @@ 55.4 -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" 55.5 - "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> 55.6 -<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="fr" lang="fr"> 55.7 -<head> 55.8 - <title>SliTaz GNU/Linux - CD</title> 55.9 - <meta http-equiv="content-type" content="text/html; charset=ISO-8859-1" /> 55.10 - <meta name="description" content="SliTaz documentation book" /> 55.11 - <meta name="expires" content="never" /> 55.12 - <meta name="modified" content="2007-10-07 20:30:00" /> 55.13 - <meta name="publisher" content="www.slitaz.org" /> 55.14 - <meta name="author" content="Christophe Lincoln"/> 55.15 - <link rel="stylesheet" type="text/css" href="style.css" /> 55.16 -</head> 55.17 -<body bgcolor="#ffffff"> 55.18 -<!-- Header --> 55.19 -<div id="header"> 55.20 - <a name="top"></a> 55.21 - <h1>SliTaz GNU/Linux - CD</h1> 55.22 -</div> 55.23 - 55.24 -<!-- Content --> 55.25 -<div id="content"> 55.26 -<h2><font color="#DF8F06">LiveCD informations</font></h2> 55.27 - 55.28 -<h3><font color="#9c2424">Français</font></h3> 55.29 -<p> 55.30 -Bienvenue sur la page d'index d'un cdrom de SliTaz GNU/Linux. Lisez le 55.31 -fichier <a href="README">README</a> pour de plus amples informations, ou 55.32 -démarrez votre ordinateur avec le cdrom dans le lecteur CD ou DVD, pour 55.33 -lancer SliTaz en RAM et sans risques pour la machine hôte. 55.34 -</p> 55.35 - 55.36 -<h3><font color="#9c2424">English</font></h3> 55.37 -<p> 55.38 -Welcome on a SliTaz GNU/Linux cdrom, SliTaz is mostly documented in French, 55.39 -but the full system is available in English. To boot SliTaz from a cdrom, 55.40 -just burn the ISO image onto a blank disc. Then reboot your computer with 55.41 -the disc into your cdrom driver. 55.42 -</p> 55.43 -<p> 55.44 -Have fun!<br /> 55.45 -- SliTaz community 55.46 -</p> 55.47 - 55.48 -</div> 55.49 -<!-- End content --> 55.50 -<hr /> 55.51 -<!-- Footer --> 55.52 -<div align="center" id="footer"> 55.53 -<p> 55.54 -<font size="-1"> 55.55 - <a href="#top">Haut de la page</a> 55.56 -</font> 55.57 -</p> 55.58 -<p> 55.59 -<font size="-1"> 55.60 - Copyright © 2007 <a href="http://www.slitaz.org/">SliTaz</a> - 55.61 - <a href="http://www.gnu.org/licenses/gpl.html">GNU General Public License</a><br /> 55.62 - Code <a href="http://validator.w3.org/">XHTML 1.0 valide</a>. 55.63 -</font> 55.64 -</p> 55.65 -</div> 55.66 -</body> 55.67 -</html>
56.1 --- a/eeepc/rootcd/style.css Sat Dec 26 11:04:28 2009 +0100 56.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 56.3 @@ -1,57 +0,0 @@ 56.4 -/* CSS style for SliTaz GNU/Linux generic xHTML files. */ 56.5 -body { 56.6 - font: 90% sans-serif, vernada, arial; 56.7 - margin: 0; 56.8 - } 56.9 -/* Header */ 56.10 -#header{ 56.11 - background: #BFB06B url(images/header.png) repeat-x top; 56.12 - color: black; 56.13 - width: 100%; 56.14 - height: 50px ; 56.15 - border-top: 1px solid black; 56.16 - border-bottom: 1px solid black; 56.17 - } 56.18 -#content { 56.19 - margin: 0px 50px 26px 50px; 56.20 - } 56.21 -#footer { 56.22 - border-top: 1px solid black; 56.23 - } 56.24 -a { 56.25 - text-decoration: underline; 56.26 - } 56.27 -a:hover { 56.28 - text-decoration: none; 56.29 - } 56.30 -h1 { 56.31 - margin: 10px 0px 0px 6px; 56.32 - } 56.33 -h2 { 56.34 - margin: 12px 0; 56.35 - } 56.36 -pre { 56.37 - padding: 5px; 56.38 - color: black; 56.39 - background: #e1e0b0; 56.40 - } 56.41 -pre.script { 56.42 - padding: 10px; 56.43 - color: black; 56.44 - background: #e8e8e8; 56.45 - border: 1px inset #333333; 56.46 -} 56.47 -li { 56.48 - line-height: 1.4em; 56.49 - } 56.50 -code { 56.51 - font-size: 100%; 56.52 - color: #669900; 56.53 - background: transparent; 56.54 - } 56.55 -hr { 56.56 - color: white; 56.57 - background-color: white; 56.58 - height: 1px; 56.59 - border: 0; 56.60 - }
57.1 --- a/firefox/packages.list Sat Dec 26 11:04:28 2009 +0100 57.2 +++ b/firefox/packages.list Tue Feb 02 22:26:52 2010 +0100 57.3 @@ -76,7 +76,6 @@ 57.4 ntfsprogs 57.5 obconf 57.6 openbox 57.7 -openssl 57.8 pango 57.9 pciutils 57.10 pcmanfm
58.1 --- a/justX/packages.list Sat Dec 26 11:04:28 2009 +0100 58.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 58.3 @@ -1,123 +0,0 @@ 58.4 -atk 58.5 -busybox 58.6 -bzlib 58.7 -cairo 58.8 -cdrkit 58.9 -clearlooks 58.10 -clex 58.11 -conspy 58.12 -dbus 58.13 -dbus-glib 58.14 -depmod 58.15 -desktop-file-utils 58.16 -dialog 58.17 -dropbear 58.18 -e2fsprogs 58.19 -expat 58.20 -fontconfig 58.21 -freetype 58.22 -gamin 58.23 -gcc-lib-base 58.24 -get-google-earth 58.25 -get-skype 58.26 -get-wifi-firmware 58.27 -glib 58.28 -glibc-base 58.29 -gpxe 58.30 -grub 58.31 -gtk+ 58.32 -gtkdialog 58.33 -hal 58.34 -hardinfo 58.35 -hicolor-icon-theme 58.36 -isapnptools 58.37 -jpeg 58.38 -kbd-busybox 58.39 -leafpad 58.40 -libcap 58.41 -libcomerr 58.42 -libgio 58.43 -libglade 58.44 -libpng 58.45 -libxcb 58.46 -libxml2 58.47 -linux 58.48 -linux-acpi 58.49 -locale-de 58.50 -locale-es 58.51 -locale-pt 58.52 -lxappearance 58.53 -lxpanel 58.54 -lxtask 58.55 -lzlib 58.56 -lzma 58.57 -menu-cache 58.58 -nano 58.59 -ncurses 58.60 -obconf 58.61 -openbox 58.62 -pango 58.63 -pciutils 58.64 -pcmanfm 58.65 -pcmciautils 58.66 -pcre 58.67 -pixman 58.68 -popt 58.69 -ppp 58.70 -rp-pppoe 58.71 -shared-mime-info 58.72 -slim 58.73 -slitaz-base-files 58.74 -slitaz-boot-scripts 58.75 -slitaz-configs 58.76 -slitaz-doc 58.77 -slitaz-menus 58.78 -slitaz-polar-cursors 58.79 -slitaz-icon 58.80 -slitaz-tools 58.81 -slitaz-tools-boxes 58.82 -sqlite 58.83 -startup-notification 58.84 -sysfsutils 58.85 -syslinux 58.86 -syslinux-extra 58.87 -tazlito 58.88 -tazpkg 58.89 -tazusb 58.90 -tazwok 58.91 -tiff 58.92 -transset-df 58.93 -ttf-dejavu 58.94 -udev 58.95 -util-linux-ng-blkid 58.96 -util-linux-ng-uuid 58.97 -xcb-util 58.98 -xorg 58.99 -xorg-base-fonts 58.100 -xorg-libfontenc 58.101 -xorg-libICE 58.102 -xorg-libSM 58.103 -xorg-libX11 58.104 -xorg-libXau 58.105 -xorg-libXaw 58.106 -xorg-libXcomposite 58.107 -xorg-libXcursor 58.108 -xorg-libXdamage 58.109 -xorg-libXdmcp 58.110 -xorg-libXext 58.111 -xorg-libXfixes 58.112 -xorg-libXfont 58.113 -xorg-libXft 58.114 -xorg-libXi 58.115 -xorg-libXinerama 58.116 -xorg-libXmu 58.117 -xorg-libXpm 58.118 -xorg-libXrandr 58.119 -xorg-libXrender 58.120 -xorg-libXt 58.121 -xorg-rgb 58.122 -xorg-server-Xvesa 58.123 -xorg-xauth 58.124 -xorg-xcompmgr 58.125 -xterm 58.126 -zlib
59.1 --- a/justX/receipt Sat Dec 26 11:04:28 2009 +0100 59.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 59.3 @@ -1,11 +0,0 @@ 59.4 -# SliTaz flavor receipt. 59.5 - 59.6 -FLAVOR="justX" 59.7 -SHORT_DESC="SliTaz with a minimal X environnement" 59.8 -VERSION="20091104" 59.9 -MAINTAINER="pankso@slitaz.org" 59.10 - 59.11 -FRUGAL_RAM="96M" 59.12 -ROOTFS_SIZE="51.2M" 59.13 -INITRAMFS_SIZE="13.3M" 59.14 -ISO_SIZE="16.1M"
60.1 --- a/justX/rootcd/README Sat Dec 26 11:04:28 2009 +0100 60.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 60.3 @@ -1,67 +0,0 @@ 60.4 -README SliTaz GNU/Linux CD August 2007 60.5 -=============================================================================== 60.6 - 60.7 - 60.8 -Français 60.9 --------- 60.10 -Ce cdrom est un système autonome Live, il vous suffit de démarrer sur le CD 60.11 -(booter) et SliTaz se lance en mémoire vive (RAM), sans toucher à votre système 60.12 -actuel. SliTaz peut fonctionner des mois entiers sans redémarrer, le système 60.13 -peut fonctionner dans 128 Mb de mémoire vive et sur des machines sans disque dur. 60.14 -Mais SliTaz est aussi pleinement installable sur un disque dur et largement 60.15 -extensible via le gestionnaire de paquets et la compilation de nouvelles 60.16 -applications depuis les sources. 60.17 - 60.18 -Une fois le système lancé, vous disposez d'un shell ash, et vous pouvez retirer 60.19 -le cdrom, car SliTaz utilise la mémoire vive (RAM) de la machine. Le système 60.20 -fournit plus de 200 commandes Linux, un mini serveur web, navigateur web, 60.21 -client de chat IRC, support IDE, eth0, usb, le système X et bien plus {...}. 60.22 - 60.23 -SliTaz peut être utilisé pour réparer, et tester un disque dur avec fdisk, 60.24 -hdparm, ou les outils e2fsprogs. Le système et aussi pleinement installable, 60.25 -vous pouvez jetter un coup d'oeil au document install-guide.html. 60.26 - 60.27 -Slitaz GNU/Linux est distribué sans aucune garantie et publié car 60.28 -potentiellement utile. SliTaz n'as aucune prétention, nous ne sommes que des 60.29 -passionnés par l'informatique libre, qui aimons la liberté et le partage. Sur 60.30 -le système vous trouverez le manuel d'utilisateur et la documentation dans : 60.31 -/usr/share/doc, et les licences complète dans : /usr/share/licenses. 60.32 - 60.33 -Havefun! 60.34 - 60.35 - 60.36 -English 60.37 -------- 60.38 -SliTaz is a micro GNU/Linux distro using BusyBox, a Linux kernel, and GNU 60.39 -free software. SliTaz also use goodies from the Debian project. The goal of 60.40 -SliTaz is to have a GNU/Linux distro working all in memory (RAM). SliTaz boot 60.41 -with Syslinux, provide more than 200 Linux commands, LightTPD web serveur, 60.42 -SSH server/client powered by Dropbear, rescue tools, X system, and much more 60.43 -{...}. 60.44 - 60.45 -On the system you will find documentation in: /usr/share/doc, and the full 60.46 -GPL license in: /usr/share/licenses. 60.47 - 60.48 - 60.49 -LICENSE 60.50 -------- 60.51 - 60.52 -Copyright (c) 2007 SliTaz GNU/Linux 60.53 - 60.54 -SliTaz is free software; you can redistribute it and/or modify 60.55 -it under the terms of the GNU General Public License as published by 60.56 -the Free Software Foundation; either version 3 of the License, or 60.57 -(at your option) any later version. 60.58 - 60.59 -SliTaz is distributed in the hope that it will be useful, 60.60 -but WITHOUT ANY WARRANTY; without even the implied warranty of 60.61 -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 60.62 -GNU General Public License for more details. 60.63 - 60.64 -You should have received a copy of the GNU General Public License 60.65 -along with SliTaz; if not, write to the Free Software 60.66 -Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA 60.67 - 60.68 - 60.69 -=============================================================================== 60.70 - http://www.slitaz.org/
61.1 Binary file justX/rootcd/images/header.png has changed
62.1 --- a/justX/rootcd/index.html Sat Dec 26 11:04:28 2009 +0100 62.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 62.3 @@ -1,64 +0,0 @@ 62.4 -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" 62.5 - "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> 62.6 -<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="fr" lang="fr"> 62.7 -<head> 62.8 - <title>SliTaz GNU/Linux - CD</title> 62.9 - <meta http-equiv="content-type" content="text/html; charset=ISO-8859-1" /> 62.10 - <meta name="description" content="SliTaz documentation book" /> 62.11 - <meta name="expires" content="never" /> 62.12 - <meta name="modified" content="2007-10-07 20:30:00" /> 62.13 - <meta name="publisher" content="www.slitaz.org" /> 62.14 - <meta name="author" content="Christophe Lincoln"/> 62.15 - <link rel="stylesheet" type="text/css" href="style.css" /> 62.16 -</head> 62.17 -<body bgcolor="#ffffff"> 62.18 -<!-- Header --> 62.19 -<div id="header"> 62.20 - <a name="top"></a> 62.21 - <h1>SliTaz GNU/Linux - CD</h1> 62.22 -</div> 62.23 - 62.24 -<!-- Content --> 62.25 -<div id="content"> 62.26 -<h2><font color="#DF8F06">LiveCD informations</font></h2> 62.27 - 62.28 -<h3><font color="#9c2424">Français</font></h3> 62.29 -<p> 62.30 -Bienvenue sur la page d'index d'un cdrom de SliTaz GNU/Linux. Lisez le 62.31 -fichier <a href="README">README</a> pour de plus amples informations, ou 62.32 -démarrez votre ordinateur avec le cdrom dans le lecteur CD ou DVD, pour 62.33 -lancer SliTaz en RAM et sans risques pour la machine hôte. 62.34 -</p> 62.35 - 62.36 -<h3><font color="#9c2424">English</font></h3> 62.37 -<p> 62.38 -Welcome on a SliTaz GNU/Linux cdrom, SliTaz is mostly documented in French, 62.39 -but the full system is available in English. To boot SliTaz from a cdrom, 62.40 -just burn the ISO image onto a blank disc. Then reboot your computer with 62.41 -the disc into your cdrom driver. 62.42 -</p> 62.43 -<p> 62.44 -Have fun!<br /> 62.45 -- SliTaz community 62.46 -</p> 62.47 - 62.48 -</div> 62.49 -<!-- End content --> 62.50 -<hr /> 62.51 -<!-- Footer --> 62.52 -<div align="center" id="footer"> 62.53 -<p> 62.54 -<font size="-1"> 62.55 - <a href="#top">Haut de la page</a> 62.56 -</font> 62.57 -</p> 62.58 -<p> 62.59 -<font size="-1"> 62.60 - Copyright © 2007 <a href="http://www.slitaz.org/">SliTaz</a> - 62.61 - <a href="http://www.gnu.org/licenses/gpl.html">GNU General Public License</a><br /> 62.62 - Code <a href="http://validator.w3.org/">XHTML 1.0 valide</a>. 62.63 -</font> 62.64 -</p> 62.65 -</div> 62.66 -</body> 62.67 -</html>
63.1 --- a/justX/rootcd/style.css Sat Dec 26 11:04:28 2009 +0100 63.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 63.3 @@ -1,57 +0,0 @@ 63.4 -/* CSS style for SliTaz GNU/Linux generic xHTML files. */ 63.5 -body { 63.6 - font: 90% sans-serif, vernada, arial; 63.7 - margin: 0; 63.8 - } 63.9 -/* Header */ 63.10 -#header{ 63.11 - background: #BFB06B url(images/header.png) repeat-x top; 63.12 - color: black; 63.13 - width: 100%; 63.14 - height: 50px ; 63.15 - border-top: 1px solid black; 63.16 - border-bottom: 1px solid black; 63.17 - } 63.18 -#content { 63.19 - margin: 0px 50px 26px 50px; 63.20 - } 63.21 -#footer { 63.22 - border-top: 1px solid black; 63.23 - } 63.24 -a { 63.25 - text-decoration: underline; 63.26 - } 63.27 -a:hover { 63.28 - text-decoration: none; 63.29 - } 63.30 -h1 { 63.31 - margin: 10px 0px 0px 6px; 63.32 - } 63.33 -h2 { 63.34 - margin: 12px 0; 63.35 - } 63.36 -pre { 63.37 - padding: 5px; 63.38 - color: black; 63.39 - background: #e1e0b0; 63.40 - } 63.41 -pre.script { 63.42 - padding: 10px; 63.43 - color: black; 63.44 - background: #e8e8e8; 63.45 - border: 1px inset #333333; 63.46 -} 63.47 -li { 63.48 - line-height: 1.4em; 63.49 - } 63.50 -code { 63.51 - font-size: 100%; 63.52 - color: #669900; 63.53 - background: transparent; 63.54 - } 63.55 -hr { 63.56 - color: white; 63.57 - background-color: white; 63.58 - height: 1px; 63.59 - border: 0; 63.60 - }
64.1 --- a/justX/rootfs/etc/lxpanel/default/config Sat Dec 26 11:04:28 2009 +0100 64.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 64.3 @@ -1,4 +0,0 @@ 64.4 -[Command] 64.5 -FileManager=pcmanfm %s 64.6 -Terminal=xterm -e 64.7 -Logout=desktopbox logout
65.1 --- a/justX/rootfs/etc/lxpanel/default/panels/panel Sat Dec 26 11:04:28 2009 +0100 65.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 65.3 @@ -1,164 +0,0 @@ 65.4 -# lxpanel <profile> config file. Manually editing is not recommended. 65.5 -# Use preference dialog in lxpanel to adjust config when you can. 65.6 - 65.7 -Global { 65.8 - edge=bottom 65.9 - allign=center 65.10 - margin=0 65.11 - widthtype=percent 65.12 - width=100 65.13 - height=24 65.14 - transparent=0 65.15 - tintcolor=#000000 65.16 - alpha=0 65.17 - setdocktype=1 65.18 - setpartialstrut=1 65.19 - usefontcolor=0 65.20 - fontcolor=#ffffff 65.21 - background=0 65.22 - backgroundfile=/usr/share/lxpanel/images/background.png 65.23 -} 65.24 - 65.25 -Plugin { 65.26 - type = space 65.27 - Config { 65.28 - Size=2 65.29 - } 65.30 -} 65.31 - 65.32 -Plugin { 65.33 - type = menu 65.34 - Config { 65.35 - image=/usr/share/pixmaps/slitaz-menu.png 65.36 - system { 65.37 - } 65.38 - separator { 65.39 - } 65.40 - item { 65.41 - image=/usr/share/icons/Tango/16x16/categories/applications-system.png 65.42 - command=run 65.43 - } 65.44 - separator { 65.45 - } 65.46 - item { 65.47 - image=/usr/share/lxpanel/images/gnome-logout.png 65.48 - command=logout 65.49 - } 65.50 - } 65.51 -} 65.52 - 65.53 -Plugin { 65.54 - type = launchbar 65.55 - Config { 65.56 - Button { 65.57 - id=pcmanfm.desktop 65.58 - } 65.59 - Button { 65.60 - id=xterm.desktop 65.61 - } 65.62 - } 65.63 -} 65.64 - 65.65 -Plugin { 65.66 - type = wincmd 65.67 - Config { 65.68 - Button1=iconify 65.69 - Button2=shade 65.70 - } 65.71 -} 65.72 - 65.73 -Plugin { 65.74 - type = space 65.75 - Config { 65.76 - Size=4 65.77 - } 65.78 -} 65.79 - 65.80 -Plugin { 65.81 - type = pager 65.82 -} 65.83 - 65.84 -Plugin { 65.85 - type = taskbar 65.86 - expand=1 65.87 - Config { 65.88 - tooltips=1 65.89 - IconsOnly=0 65.90 - AcceptSkipPager=1 65.91 - ShowIconified=1 65.92 - ShowMapped=1 65.93 - ShowAllDesks=0 65.94 - UseMouseWheel=1 65.95 - UseUrgencyHint=1 65.96 - FlatButton=0 65.97 - MaxTaskWidth=200 65.98 - spacing=1 65.99 - } 65.100 -} 65.101 - 65.102 -Plugin { 65.103 - type = space 65.104 - Config { 65.105 - Size=4 65.106 - } 65.107 -} 65.108 - 65.109 -Plugin { 65.110 - type = tray 65.111 -} 65.112 - 65.113 -Plugin { 65.114 - type = volumealsa 65.115 -} 65.116 - 65.117 -Plugin { 65.118 - type = netstatus 65.119 - Config { 65.120 - iface=eth0 65.121 - configtool=subox netbox %i 65.122 - } 65.123 -} 65.124 - 65.125 -Plugin { 65.126 - type = space 65.127 - Config { 65.128 - Size=4 65.129 - } 65.130 -} 65.131 - 65.132 -Plugin { 65.133 - type = cpu 65.134 -} 65.135 - 65.136 -Plugin { 65.137 - type = space 65.138 - Config { 65.139 - Size=2 65.140 - } 65.141 -} 65.142 - 65.143 -Plugin { 65.144 - type = launchbar 65.145 - Config { 65.146 - Button { 65.147 - id=lxtask.desktop 65.148 - } 65.149 - Button { 65.150 - id=hardinfo.desktop 65.151 - } 65.152 - Button { 65.153 - id=tazpkgbox.desktop 65.154 - } 65.155 - } 65.156 -} 65.157 - 65.158 -Plugin { 65.159 - type = dclock 65.160 - Config { 65.161 - ClockFmt=%R 65.162 - TooltipFmt=%A %x 65.163 - Action=desktopbox calendar 65.164 - BoldFont=0 65.165 - } 65.166 -} 65.167 -
66.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 66.2 +++ b/justx/packages.list Tue Feb 02 22:26:52 2010 +0100 66.3 @@ -0,0 +1,119 @@ 66.4 +attr 66.5 +busybox 66.6 +bzlib 66.7 +cairo 66.8 +cdrkit 66.9 +clex 66.10 +conspy 66.11 +dbus 66.12 +dbus-glib 66.13 +depmod 66.14 +dialog 66.15 +dropbear 66.16 +e2fsprogs 66.17 +expat 66.18 +fontconfig 66.19 +freetype 66.20 +gcc-lib-base 66.21 +glib 66.22 +glibc-base 66.23 +gpxe 66.24 +grub 66.25 +hal 66.26 +hsetroot 66.27 +htop 66.28 +imlib2 66.29 +isapnptools 66.30 +jpeg 66.31 +kbd-busybox 66.32 +libcap 66.33 +libcomerr 66.34 +libcrypto 66.35 +libdrm 66.36 +libgio 66.37 +libid3tag 66.38 +libpng 66.39 +libssl 66.40 +libxcb 66.41 +libxml2 66.42 +linux 66.43 +locale-de 66.44 +locale-es 66.45 +locale-fr 66.46 +locale-pt 66.47 +lzlib 66.48 +lzma 66.49 +mesa 66.50 +nano 66.51 +ncurses 66.52 +openbox 66.53 +pango 66.54 +pciutils 66.55 +pcmciautils 66.56 +pcre 66.57 +pixman 66.58 +popt 66.59 +ppp 66.60 +rp-pppoe 66.61 +slim 66.62 +slitaz-base-files 66.63 +slitaz-boot-scripts 66.64 +slitaz-doc 66.65 +slitaz-polar-cursors 66.66 +slitaz-tools 66.67 +sqlite 66.68 +startup-notification 66.69 +sysfsutils 66.70 +syslinux 66.71 +syslinux-extra 66.72 +tazlito 66.73 +tazpkg 66.74 +tazusb 66.75 +tazwok 66.76 +tiff 66.77 +tint2 66.78 +ttf-dejavu 66.79 +udev 66.80 +util-linux-ng-blkid 66.81 +util-linux-ng-uuid 66.82 +xcb-util 66.83 +xorg 66.84 +xorg-base-fonts 66.85 +xorg-libfontenc 66.86 +xorg-libICE 66.87 +xorg-libpciaccess 66.88 +xorg-libSM 66.89 +xorg-libX11 66.90 +xorg-libXau 66.91 +xorg-libXaw 66.92 +xorg-libXcomposite 66.93 +xorg-libXcursor 66.94 +xorg-libXdamage 66.95 +xorg-libXdmcp 66.96 +xorg-libXext 66.97 +xorg-libXfixes 66.98 +xorg-libXfont 66.99 +xorg-libXft 66.100 +xorg-libXi 66.101 +xorg-libXinerama 66.102 +xorg-libxkbfile 66.103 +xorg-libXmu 66.104 +xorg-libXpm 66.105 +xorg-libXrandr 66.106 +xorg-libXrender 66.107 +xorg-libXt 66.108 +xorg-libXtst 66.109 +xorg-libXxf86vm 66.110 +xorg-rgb 66.111 +xorg-server 66.112 +xorg-setxkbmap 66.113 +xorg-xauth 66.114 +xorg-xf86-input-keyboard 66.115 +xorg-xf86-input-mouse 66.116 +xorg-xf86-video-vesa 66.117 +xorg-xkbcomp 66.118 +xorg-xkeyboard-config 66.119 +xorg-xrandr 66.120 +xorg-xsetroot 66.121 +xterm 66.122 +zlib
67.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 67.2 +++ b/justx/receipt Tue Feb 02 22:26:52 2010 +0100 67.3 @@ -0,0 +1,11 @@ 67.4 +# SliTaz flavor receipt. 67.5 + 67.6 +FLAVOR="justx" 67.7 +SHORT_DESC="Very small desktop with X only" 67.8 +VERSION="20100122" 67.9 +MAINTAINER="pankso@slitaz.org" 67.10 + 67.11 +FRUGAL_RAM="64M" 67.12 +ROOTFS_SIZE="46.9M" 67.13 +INITRAMFS_SIZE="12.8M" 67.14 +ISO_SIZE="16.0M"
68.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 68.2 +++ b/justx/rootcd/README Tue Feb 02 22:26:52 2010 +0100 68.3 @@ -0,0 +1,67 @@ 68.4 +README SliTaz GNU/Linux CD August 2007 68.5 +=============================================================================== 68.6 + 68.7 + 68.8 +Français 68.9 +-------- 68.10 +Ce cdrom est un système autonome Live, il vous suffit de démarrer sur le CD 68.11 +(booter) et SliTaz se lance en mémoire vive (RAM), sans toucher à votre système 68.12 +actuel. SliTaz peut fonctionner des mois entiers sans redémarrer, le système 68.13 +peut fonctionner dans 128 Mb de mémoire vive et sur des machines sans disque dur. 68.14 +Mais SliTaz est aussi pleinement installable sur un disque dur et largement 68.15 +extensible via le gestionnaire de paquets et la compilation de nouvelles 68.16 +applications depuis les sources. 68.17 + 68.18 +Une fois le système lancé, vous disposez d'un shell ash, et vous pouvez retirer 68.19 +le cdrom, car SliTaz utilise la mémoire vive (RAM) de la machine. Le système 68.20 +fournit plus de 200 commandes Linux, un mini serveur web, navigateur web, 68.21 +client de chat IRC, support IDE, eth0, usb, le système X et bien plus {...}. 68.22 + 68.23 +SliTaz peut être utilisé pour réparer, et tester un disque dur avec fdisk, 68.24 +hdparm, ou les outils e2fsprogs. Le système et aussi pleinement installable, 68.25 +vous pouvez jetter un coup d'oeil au document install-guide.html. 68.26 + 68.27 +Slitaz GNU/Linux est distribué sans aucune garantie et publié car 68.28 +potentiellement utile. SliTaz n'as aucune prétention, nous ne sommes que des 68.29 +passionnés par l'informatique libre, qui aimons la liberté et le partage. Sur 68.30 +le système vous trouverez le manuel d'utilisateur et la documentation dans : 68.31 +/usr/share/doc, et les licences complète dans : /usr/share/licenses. 68.32 + 68.33 +Havefun! 68.34 + 68.35 + 68.36 +English 68.37 +------- 68.38 +SliTaz is a micro GNU/Linux distro using BusyBox, a Linux kernel, and GNU 68.39 +free software. SliTaz also use goodies from the Debian project. The goal of 68.40 +SliTaz is to have a GNU/Linux distro working all in memory (RAM). SliTaz boot 68.41 +with Syslinux, provide more than 200 Linux commands, LightTPD web serveur, 68.42 +SSH server/client powered by Dropbear, rescue tools, X system, and much more 68.43 +{...}. 68.44 + 68.45 +On the system you will find documentation in: /usr/share/doc, and the full 68.46 +GPL license in: /usr/share/licenses. 68.47 + 68.48 + 68.49 +LICENSE 68.50 +------- 68.51 + 68.52 +Copyright (c) 2007 SliTaz GNU/Linux 68.53 + 68.54 +SliTaz is free software; you can redistribute it and/or modify 68.55 +it under the terms of the GNU General Public License as published by 68.56 +the Free Software Foundation; either version 3 of the License, or 68.57 +(at your option) any later version. 68.58 + 68.59 +SliTaz is distributed in the hope that it will be useful, 68.60 +but WITHOUT ANY WARRANTY; without even the implied warranty of 68.61 +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 68.62 +GNU General Public License for more details. 68.63 + 68.64 +You should have received a copy of the GNU General Public License 68.65 +along with SliTaz; if not, write to the Free Software 68.66 +Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA 68.67 + 68.68 + 68.69 +=============================================================================== 68.70 + http://www.slitaz.org/
69.1 Binary file justx/rootcd/images/header.png has changed
70.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 70.2 +++ b/justx/rootcd/index.html Tue Feb 02 22:26:52 2010 +0100 70.3 @@ -0,0 +1,64 @@ 70.4 +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" 70.5 + "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> 70.6 +<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="fr" lang="fr"> 70.7 +<head> 70.8 + <title>SliTaz GNU/Linux - CD</title> 70.9 + <meta http-equiv="content-type" content="text/html; charset=ISO-8859-1" /> 70.10 + <meta name="description" content="SliTaz documentation book" /> 70.11 + <meta name="expires" content="never" /> 70.12 + <meta name="modified" content="2007-10-07 20:30:00" /> 70.13 + <meta name="publisher" content="www.slitaz.org" /> 70.14 + <meta name="author" content="Christophe Lincoln"/> 70.15 + <link rel="stylesheet" type="text/css" href="style.css" /> 70.16 +</head> 70.17 +<body bgcolor="#ffffff"> 70.18 +<!-- Header --> 70.19 +<div id="header"> 70.20 + <a name="top"></a> 70.21 + <h1>SliTaz GNU/Linux - CD</h1> 70.22 +</div> 70.23 + 70.24 +<!-- Content --> 70.25 +<div id="content"> 70.26 +<h2><font color="#DF8F06">LiveCD informations</font></h2> 70.27 + 70.28 +<h3><font color="#9c2424">Français</font></h3> 70.29 +<p> 70.30 +Bienvenue sur la page d'index d'un cdrom de SliTaz GNU/Linux. Lisez le 70.31 +fichier <a href="README">README</a> pour de plus amples informations, ou 70.32 +démarrez votre ordinateur avec le cdrom dans le lecteur CD ou DVD, pour 70.33 +lancer SliTaz en RAM et sans risques pour la machine hôte. 70.34 +</p> 70.35 + 70.36 +<h3><font color="#9c2424">English</font></h3> 70.37 +<p> 70.38 +Welcome on a SliTaz GNU/Linux cdrom, SliTaz is mostly documented in French, 70.39 +but the full system is available in English. To boot SliTaz from a cdrom, 70.40 +just burn the ISO image onto a blank disc. Then reboot your computer with 70.41 +the disc into your cdrom driver. 70.42 +</p> 70.43 +<p> 70.44 +Have fun!<br /> 70.45 +- SliTaz community 70.46 +</p> 70.47 + 70.48 +</div> 70.49 +<!-- End content --> 70.50 +<hr /> 70.51 +<!-- Footer --> 70.52 +<div align="center" id="footer"> 70.53 +<p> 70.54 +<font size="-1"> 70.55 + <a href="#top">Haut de la page</a> 70.56 +</font> 70.57 +</p> 70.58 +<p> 70.59 +<font size="-1"> 70.60 + Copyright © 2007 <a href="http://www.slitaz.org/">SliTaz</a> - 70.61 + <a href="http://www.gnu.org/licenses/gpl.html">GNU General Public License</a><br /> 70.62 + Code <a href="http://validator.w3.org/">XHTML 1.0 valide</a>. 70.63 +</font> 70.64 +</p> 70.65 +</div> 70.66 +</body> 70.67 +</html>
71.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 71.2 +++ b/justx/rootcd/style.css Tue Feb 02 22:26:52 2010 +0100 71.3 @@ -0,0 +1,57 @@ 71.4 +/* CSS style for SliTaz GNU/Linux generic xHTML files. */ 71.5 +body { 71.6 + font: 90% sans-serif, vernada, arial; 71.7 + margin: 0; 71.8 + } 71.9 +/* Header */ 71.10 +#header{ 71.11 + background: #BFB06B url(images/header.png) repeat-x top; 71.12 + color: black; 71.13 + width: 100%; 71.14 + height: 50px ; 71.15 + border-top: 1px solid black; 71.16 + border-bottom: 1px solid black; 71.17 + } 71.18 +#content { 71.19 + margin: 0px 50px 26px 50px; 71.20 + } 71.21 +#footer { 71.22 + border-top: 1px solid black; 71.23 + } 71.24 +a { 71.25 + text-decoration: underline; 71.26 + } 71.27 +a:hover { 71.28 + text-decoration: none; 71.29 + } 71.30 +h1 { 71.31 + margin: 10px 0px 0px 6px; 71.32 + } 71.33 +h2 { 71.34 + margin: 12px 0; 71.35 + } 71.36 +pre { 71.37 + padding: 5px; 71.38 + color: black; 71.39 + background: #e1e0b0; 71.40 + } 71.41 +pre.script { 71.42 + padding: 10px; 71.43 + color: black; 71.44 + background: #e8e8e8; 71.45 + border: 1px inset #333333; 71.46 +} 71.47 +li { 71.48 + line-height: 1.4em; 71.49 + } 71.50 +code { 71.51 + font-size: 100%; 71.52 + color: #669900; 71.53 + background: transparent; 71.54 + } 71.55 +hr { 71.56 + color: white; 71.57 + background-color: white; 71.58 + height: 1px; 71.59 + border: 0; 71.60 + }
72.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 72.2 +++ b/justx/rootfs/etc/skel/.Xdefaults Tue Feb 02 22:26:52 2010 +0100 72.3 @@ -0,0 +1,20 @@ 72.4 +!~/.Xdefault: Control the behavior of x-clients. 72.5 +! 72.6 + 72.7 +! Xcursor theme (~/.icons). 72.8 +! 72.9 +Xcursor.theme: slitaz-polar 72.10 + 72.11 +! XTerm settings. 72.12 +! 72.13 +xterm*background: black 72.14 +xterm*foreground: white 72.15 +xterm*cursorColor: #6AA2D8 72.16 +xterm*scrollBar: off 72.17 +xterm*faceName: DejaVu Sans Mono 72.18 +xterm*faceSize: 9 72.19 + 72.20 +! Xload settings. 72.21 +! 72.22 +!xload*background: black 72.23 +!xload*foreground: lightblue
73.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 73.2 +++ b/justx/rootfs/etc/skel/.profile Tue Feb 02 22:26:52 2010 +0100 73.3 @@ -0,0 +1,42 @@ 73.4 +# ~/.profile: Executed by Bourne-compatible login SHells. 73.5 +# 73.6 + 73.7 +# Path to personal scripts and executables (~/.local/bin). 73.8 +# 73.9 +if [ -d "$HOME/.local/bin" ] ; then 73.10 + PATH=$HOME/.local/bin:$PATH 73.11 + export PATH 73.12 +fi 73.13 + 73.14 +# Java JRE (paths). 73.15 +# 73.16 +#JAVA_HOME=$HOME/.local/lib/jre1.6.0_03 73.17 +#JAVA_BINDIR=$JAVA_HOME/bin 73.18 +#if [ -d "$JAVA_BINDIR" ] ; then 73.19 +# export PATH=$JAVA_BINDIR:$PATH 73.20 +#fi 73.21 + 73.22 +# Environnement variables and prompt for Ash SHell 73.23 +# or Bash. Default is a classic prompt. 73.24 +# 73.25 +PS1='\u@\h:\w\$ ' 73.26 + 73.27 +EDITOR='nano' 73.28 +PAGER='less -EM' 73.29 + 73.30 +export PS1 EDITOR PAGER 73.31 + 73.32 +# Alias definitions. 73.33 +# 73.34 +alias df='df -h' 73.35 +alias du='du -h' 73.36 + 73.37 +alias ls='ls -p' 73.38 +alias ll='ls -l' 73.39 +alias la='ls -la' 73.40 + 73.41 +# Avoid errors... use -f to skip confirmation. 73.42 +alias rm='rm -i' 73.43 +alias mv='mv -i' 73.44 + 73.45 +umask 022
74.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 74.2 +++ b/justx/rootfs/etc/xdg/openbox/autostart.sh Tue Feb 02 22:26:52 2010 +0100 74.3 @@ -0,0 +1,35 @@ 74.4 +# This shell script is run before Openbox launches. 74.5 +# Environment variables set here are passed to the Openbox session. 74.6 + 74.7 +# DBUS message bus (automount removable devices) 74.8 +#dbus-launch --exit-with-session & 74.9 + 74.10 +# Handle Hal events with Ivman (notification with desktopbox). 74.11 +#ivman & 74.12 + 74.13 +# Start PCmanFM as daemon for Wallpaper and desktop icons. 74.14 +#pcmanfm -d & 74.15 + 74.16 +# Start the Freedesktop panel standard menu. 74.17 +#lxpanel & 74.18 + 74.19 +# Start Parcellite clipboard manager. 74.20 +#parcellite & 74.21 + 74.22 +# Launch Xpad desktop notes utility. 74.23 +#xpad & 74.24 + 74.25 +# Desktop effects composer. 74.26 +#xcompmgr -c -r 10 & 74.27 + 74.28 +# Set a background image using hsetroot (depends on imlib2). 74.29 +hsetroot -fill /usr/share/images/slitaz-background.jpg & 74.30 + 74.31 +# Start Tint2 desktop panel 74.32 +tint2 & 74.33 + 74.34 +# Background color with xsetroot. 74.35 +#xsetroot -solid "#222222" & 74.36 + 74.37 +# Wbar icons panel. 74.38 +#(sleep 2 && wbar -above-desk -pos top center -jumpf 0 -zoomf 1.5 -bpress -balfa 0) &
75.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 75.2 +++ b/justx/rootfs/etc/xdg/openbox/menu.en.xml Tue Feb 02 22:26:52 2010 +0100 75.3 @@ -0,0 +1,74 @@ 75.4 +<?xml version="1.0" encoding="UTF-8"?> 75.5 + 75.6 +<openbox_menu xmlns="http://openbox.org/3.4/menu"> 75.7 + 75.8 +<!-- Applications --> 75.9 +<menu id="applications-menu" label="Applications"> 75.10 + <item label="Clex File Manager"> 75.11 + <action name="Execute"><command>terminal -e clex</command></action> 75.12 + </item> 75.13 + <item label="XTerm Terminal"> 75.14 + <action name="Execute"><command>xterm</command></action> 75.15 + </item> 75.16 + <item label="Nano Text Editor"> 75.17 + <action name="Execute"><command>terminal -e nano</command></action> 75.18 + </item> 75.19 + <item label="Packages Manager"> 75.20 + <action name="Execute"><command>terminal -e "tazpkg shell"</command></action> 75.21 + </item> 75.22 + <item label="SQLite SQL Engine"> 75.23 + <action name="Execute"><command>terminal -e sqlite3</command></action> 75.24 + </item> 75.25 + <item label="Htop Processes Viewer"> 75.26 + <action name="Execute"><command>terminal -e htop</command></action> 75.27 + </item> 75.28 + <item label="Local ports scan"> 75.29 + <action name="Execute"><command>terminal -hold -e "pscan localhost"</command></action> 75.30 + </item> 75.31 + <item label="Show Boot Log"> 75.32 + <action name="Execute"><command>terminal -hold -e bootlog</command></action> 75.33 + </item> 75.34 + <item label="SliTaz Installer"> 75.35 + <action name="Execute"><command>terminal -e "su -c slitaz-installer"</command></action> 75.36 + </item> 75.37 +</menu> 75.38 + 75.39 +<!-- Openbox configuration --> 75.40 +<menu id="openbox-menu" label="Openbox"> 75.41 + <item label="Openbox Config"> 75.42 + <command>editor ~/.config/openbox/rc.xml</command> 75.43 + </item> 75.44 + <item label="Autostart Script"> 75.45 + <action name="Execute"> 75.46 + <command>editor ~/.config/openbox/autostart.sh</command> 75.47 + </action> 75.48 + </item> 75.49 + <item label="Openbox Menu"> 75.50 + <action name="Execute"> 75.51 + <command>editor ~/.config/openbox/menu.xml</command> 75.52 + </action> 75.53 + </item> 75.54 + <separator /> 75.55 + <item label="Reconfigure"> 75.56 + <action name="Reconfigure" /> 75.57 + </item> 75.58 + <item label="Restart"> 75.59 + <action name="Restart" /> 75.60 + </item> 75.61 +</menu> 75.62 + 75.63 +<menu id="root-menu" label="Openbox 3"> 75.64 + <!-- <separator label="SliTaz Openbox" /> --> 75.65 + <menu id="applications-menu" /> 75.66 + <menu id="client-list-menu" /> 75.67 + <menu id="openbox-menu" /> 75.68 + <separator /> 75.69 + <item label="Logout"> 75.70 + <action name="Execute"><command>openbox --exit</command></action> 75.71 + </item> 75.72 + <item label="Reboot"> 75.73 + <action name="Execute"><command>reboot</command></action> 75.74 + </item> 75.75 +</menu> 75.76 + 75.77 +</openbox_menu>
76.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 76.2 +++ b/justx/rootfs/etc/xdg/openbox/menu.xml Tue Feb 02 22:26:52 2010 +0100 76.3 @@ -0,0 +1,92 @@ 76.4 +menu.en.xml----------------------------------- 76.5 +# TINT2 CONFIG FILE 76.6 +#--------------------------------------------- 76.7 + 76.8 +#--------------------------------------------- 76.9 +# BACKGROUND AND BORDER 76.10 +#--------------------------------------------- 76.11 +rounded = 8 76.12 +border_width = 1 76.13 +background_color = #000000 60 76.14 +border_color = #ffffff 18 76.15 + 76.16 +rounded = 5 76.17 +border_width = 0 76.18 +background_color = #ffffff 40 76.19 +border_color = #ffffff 50 76.20 + 76.21 +rounded = 5 76.22 +border_width = 0 76.23 +background_color = #ffffff 18 76.24 +border_color = #ffffff 70 76.25 + 76.26 +#--------------------------------------------- 76.27 +# PANEL 76.28 +#--------------------------------------------- 76.29 +panel_monitor = all 76.30 +panel_position = bottom center 76.31 +panel_size = 92% 30 76.32 +panel_margin = 0 0 76.33 +panel_padding = 7 0 76.34 +font_shadow = 0 76.35 +panel_background_id = 1 76.36 + 76.37 +#--------------------------------------------- 76.38 +# TASKBAR 76.39 +#--------------------------------------------- 76.40 +taskbar_mode = single_monitor 76.41 +taskbar_padding = 2 3 2 76.42 +taskbar_background_id = 0 76.43 + 76.44 +#--------------------------------------------- 76.45 +# TASKS 76.46 +#--------------------------------------------- 76.47 +task_icon = 1 76.48 +task_text = 1 76.49 +task_width = 140 76.50 +task_centered = 1 76.51 +task_padding = 6 3 76.52 +task_font = sans 7 76.53 +task_font_color = #ffffff 70 76.54 +task_active_font_color = #ffffff 85 76.55 +task_background_id = 3 76.56 +task_active_background_id = 2 76.57 + 76.58 +#--------------------------------------------- 76.59 +# SYSTRAYBAR 76.60 +#--------------------------------------------- 76.61 +systray_padding = 0 4 5 76.62 +systray_background_id = 0 76.63 + 76.64 +#--------------------------------------------- 76.65 +# CLOCK 76.66 +#--------------------------------------------- 76.67 +time1_format = %H:%m 76.68 +time1_font = sans 9 76.69 +#time2_format = %A %d %B 76.70 +#time2_font = sans 8 76.71 +clock_font_color = #ffffff 96 76.72 +clock_padding = 1 0 76.73 +clock_background_id = 0 76.74 + 76.75 +#--------------------------------------------- 76.76 +# BATTERY 76.77 +#--------------------------------------------- 76.78 +battery = 0 76.79 +battery_low_status = 7 76.80 +battery_low_cmd = desktopbox notify "Battery low" 76.81 +bat1_font = sans 8 76.82 +bat2_font = sans 8 76.83 +battery_font_color = #ffffff 96 76.84 +battery_padding = 1 0 76.85 +battery_background_id = 0 76.86 + 76.87 + 76.88 +#--------------------------------------------- 76.89 +# MOUSE ACTION ON TASK 76.90 +#--------------------------------------------- 76.91 +mouse_middle = none 76.92 +mouse_right = close 76.93 +mouse_scroll_up = toggle 76.94 +mouse_scroll_down = iconify 76.95 +
77.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 77.2 +++ b/justx/rootfs/etc/xdg/openbox/rc.xml Tue Feb 02 22:26:52 2010 +0100 77.3 @@ -0,0 +1,699 @@ 77.4 +<?xml version="1.0" encoding="UTF-8"?> 77.5 +<!-- Do not edit this file, it will be overwritten on install. 77.6 + Copy the file to $HOME/.config/openbox/ instead. --> 77.7 +<openbox_config xmlns="http://openbox.org/3.4/rc"> 77.8 + <resistance> 77.9 + <strength>10</strength> 77.10 + <screen_edge_strength>20</screen_edge_strength> 77.11 + </resistance> 77.12 + <focus> 77.13 + <focusNew>yes</focusNew> 77.14 + <!-- always try to focus new windows when they appear. other rules do 77.15 + apply --> 77.16 + <followMouse>no</followMouse> 77.17 + <!-- move focus to a window when you move the mouse into it --> 77.18 + <focusLast>yes</focusLast> 77.19 + <!-- focus the last used window when changing desktops, instead of the one 77.20 + under the mouse pointer. when followMouse is enabled --> 77.21 + <underMouse>no</underMouse> 77.22 + <!-- move focus under the mouse, even when the mouse is not moving --> 77.23 + <focusDelay>200</focusDelay> 77.24 + <!-- when followMouse is enabled, the mouse must be inside the window for 77.25 + this many milliseconds (1000 = 1 sec) before moving focus to it --> 77.26 + <raiseOnFocus>no</raiseOnFocus> 77.27 + <!-- when followMouse is enabled, and a window is given focus by moving the 77.28 + mouse into it, also raise the window --> 77.29 + </focus> 77.30 + <placement> 77.31 + <policy>Smart</policy> 77.32 + <!-- 'Smart' or 'UnderMouse' --> 77.33 + <center>yes</center> 77.34 + <!-- whether to place windows in the center of the free area found or 77.35 + the top left corner --> 77.36 + <monitor>Any</monitor> 77.37 + <!-- with Smart placement on a multi-monitor system, try to place new windows 77.38 + on: 'Any' - any monitor, 'Mouse' - where the mouse is, 'Active' - where 77.39 + the active window is --> 77.40 + </placement> 77.41 + <theme> 77.42 + <name>SliTaz</name> 77.43 + <titleLayout>NLIMC</titleLayout> 77.44 + <!-- 77.45 + available characters are NDSLIMC, each can occur at most once. 77.46 + N: window icon 77.47 + L: window label (AKA title). 77.48 + I: iconify 77.49 + M: maximize 77.50 + C: close 77.51 + S: shade (roll up/down) 77.52 + D: omnipresent (on all desktops). 77.53 + --> 77.54 + <keepBorder>yes</keepBorder> 77.55 + <animateIconify>yes</animateIconify> 77.56 + <font place="ActiveWindow"> 77.57 + <name>Sans</name> 77.58 + <size>8</size> 77.59 + <!-- font size in points --> 77.60 + <weight>Bold</weight> 77.61 + <!-- 'bold' or 'normal' --> 77.62 + <slant>Normal</slant> 77.63 + <!-- 'italic' or 'normal' --> 77.64 + </font> 77.65 + <font place="InactiveWindow"> 77.66 + <name>Sans</name> 77.67 + <size>8</size> 77.68 + <!-- font size in points --> 77.69 + <weight>Bold</weight> 77.70 + <!-- 'bold' or 'normal' --> 77.71 + <slant>Normal</slant> 77.72 + <!-- 'italic' or 'normal' --> 77.73 + </font> 77.74 + <font place="MenuHeader"> 77.75 + <name>Sans</name> 77.76 + <size>10</size> 77.77 + <!-- font size in points --> 77.78 + <weight>Normal</weight> 77.79 + <!-- 'bold' or 'normal' --> 77.80 + <slant>Normal</slant> 77.81 + <!-- 'italic' or 'normal' --> 77.82 + </font> 77.83 + <font place="MenuItem"> 77.84 + <name>Sans</name> 77.85 + <size>9</size> 77.86 + <!-- font size in points --> 77.87 + <weight>Normal</weight> 77.88 + <!-- 'bold' or 'normal' --> 77.89 + <slant>Normal</slant> 77.90 + <!-- 'italic' or 'normal' --> 77.91 + </font> 77.92 + <font place="OnScreenDisplay"> 77.93 + <name>sans</name> 77.94 + <size>9</size> 77.95 + <!-- font size in points --> 77.96 + <weight>bold</weight> 77.97 + <!-- 'bold' or 'normal' --> 77.98 + <slant>normal</slant> 77.99 + <!-- 'italic' or 'normal' --> 77.100 + </font> 77.101 + </theme> 77.102 + <desktops> 77.103 + <!-- this stuff is only used at startup, pagers allow you to change them 77.104 + during a session 77.105 + 77.106 + these are default values to use when other ones are not already set 77.107 + by other applications, or saved in your session 77.108 + 77.109 + use obconf if you want to change these without having to log out 77.110 + and back in --> 77.111 + <number>2</number> 77.112 + <firstdesk>1</firstdesk> 77.113 + <names> 77.114 + <!-- set names up here if you want to, like this: 77.115 + <name>desktop 1</name> 77.116 + <name>desktop 2</name> 77.117 + --> 77.118 + </names> 77.119 + <popupTime>875</popupTime> 77.120 + <!-- The number of milliseconds to show the popup for when switching 77.121 + desktops. Set this to 0 to disable the popup. --> 77.122 + </desktops> 77.123 + <resize> 77.124 + <drawContents>yes</drawContents> 77.125 + <popupShow>Nonpixel</popupShow> 77.126 + <!-- 'Always', 'Never', or 'Nonpixel' (xterms and such) --> 77.127 + <popupPosition>Center</popupPosition> 77.128 + <!-- 'Center', 'Top', or 'Fixed' --> 77.129 + <popupFixedPosition> 77.130 + <!-- these are used if popupPosition is set to 'Fixed' --> 77.131 + <x>10</x> 77.132 + <!-- positive number for distance from left edge, negative number for 77.133 + distance from right edge, or 'Center' --> 77.134 + <y>10</y> 77.135 + <!-- positive number for distance from top edge, negative number for 77.136 + distance from bottom edge, or 'Center' --> 77.137 + </popupFixedPosition> 77.138 + </resize> 77.139 + <!-- You can reserve a portion of your screen where windows will not cover when 77.140 + they are maximized, or when they are initially placed. 77.141 + Many programs reserve space automatically, but you can use this in other 77.142 + cases. --> 77.143 + <margins> 77.144 + <top>0</top> 77.145 + <bottom>0</bottom> 77.146 + <left>0</left> 77.147 + <right>0</right> 77.148 + </margins> 77.149 + <dock> 77.150 + <position>TopLeft</position> 77.151 + <!-- (Top|Bottom)(Left|Right|)|Top|Bottom|Left|Right|Floating --> 77.152 + <floatingX>0</floatingX> 77.153 + <floatingY>0</floatingY> 77.154 + <noStrut>no</noStrut> 77.155 + <stacking>Above</stacking> 77.156 + <!-- 'Above', 'Normal', or 'Below' --> 77.157 + <direction>Vertical</direction> 77.158 + <!-- 'Vertical' or 'Horizontal' --> 77.159 + <autoHide>no</autoHide> 77.160 + <hideDelay>300</hideDelay> 77.161 + <!-- in milliseconds (1000 = 1 second) --> 77.162 + <showDelay>300</showDelay> 77.163 + <!-- in milliseconds (1000 = 1 second) --> 77.164 + <moveButton>Middle</moveButton> 77.165 + <!-- 'Left', 'Middle', 'Right' --> 77.166 + </dock> 77.167 + <keyboard> 77.168 + <chainQuitKey>C-g</chainQuitKey> 77.169 + <!-- Keybindings for desktop switching --> 77.170 + <keybind key="C-A-Left"> 77.171 + <action name="DesktopLeft"> 77.172 + <dialog>no</dialog> 77.173 + <wrap>no</wrap> 77.174 + </action> 77.175 + </keybind> 77.176 + <keybind key="C-A-Right"> 77.177 + <action name="DesktopRight"> 77.178 + <dialog>no</dialog> 77.179 + <wrap>no</wrap> 77.180 + </action> 77.181 + </keybind> 77.182 + <keybind key="C-A-Up"> 77.183 + <action name="DesktopUp"> 77.184 + <dialog>no</dialog> 77.185 + <wrap>no</wrap> 77.186 + </action> 77.187 + </keybind> 77.188 + <keybind key="C-A-Down"> 77.189 + <action name="DesktopDown"> 77.190 + <dialog>no</dialog> 77.191 + <wrap>no</wrap> 77.192 + </action> 77.193 + </keybind> 77.194 + <keybind key="S-A-Left"> 77.195 + <action name="SendToDesktopLeft"> 77.196 + <dialog>no</dialog> 77.197 + <wrap>no</wrap> 77.198 + </action> 77.199 + </keybind> 77.200 + <keybind key="S-A-Right"> 77.201 + <action name="SendToDesktopRight"> 77.202 + <dialog>no</dialog> 77.203 + <wrap>no</wrap> 77.204 + </action> 77.205 + </keybind> 77.206 + <keybind key="S-A-Up"> 77.207 + <action name="SendToDesktopUp"> 77.208 + <dialog>no</dialog> 77.209 + <wrap>no</wrap> 77.210 + </action> 77.211 + </keybind> 77.212 + <keybind key="S-A-Down"> 77.213 + <action name="SendToDesktopDown"> 77.214 + <dialog>no</dialog> 77.215 + <wrap>no</wrap> 77.216 + </action> 77.217 + </keybind> 77.218 + <keybind key="W-F1"> 77.219 + <action name="Desktop"> 77.220 + <desktop>1</desktop> 77.221 + </action> 77.222 + </keybind> 77.223 + <keybind key="W-F2"> 77.224 + <action name="Desktop"> 77.225 + <desktop>2</desktop> 77.226 + </action> 77.227 + </keybind> 77.228 + <keybind key="W-F3"> 77.229 + <action name="Desktop"> 77.230 + <desktop>3</desktop> 77.231 + </action> 77.232 + </keybind> 77.233 + <keybind key="W-F4"> 77.234 + <action name="Desktop"> 77.235 + <desktop>4</desktop> 77.236 + </action> 77.237 + </keybind> 77.238 + <keybind key="W-d"> 77.239 + <action name="ToggleShowDesktop"/> 77.240 + </keybind> 77.241 + <!-- Keybindings for windows --> 77.242 + <keybind key="A-F4"> 77.243 + <action name="Close"/> 77.244 + </keybind> 77.245 + <keybind key="A-Escape"> 77.246 + <action name="Lower"/> 77.247 + <action name="FocusToBottom"/> 77.248 + <action name="Unfocus"/> 77.249 + </keybind> 77.250 + <keybind key="A-space"> 77.251 + <action name="ShowMenu"> 77.252 + <menu>client-menu</menu> 77.253 + </action> 77.254 + </keybind> 77.255 + <!-- Keybindings for window switching --> 77.256 + <keybind key="A-Tab"> 77.257 + <action name="NextWindow"/> 77.258 + </keybind> 77.259 + <keybind key="A-S-Tab"> 77.260 + <action name="PreviousWindow"/> 77.261 + </keybind> 77.262 + <keybind key="C-A-Tab"> 77.263 + <action name="NextWindow"> 77.264 + <panels>yes</panels> 77.265 + <desktop>yes</desktop> 77.266 + </action> 77.267 + </keybind> 77.268 + <!-- Keybindings for running applications --> 77.269 + <keybind key="W-e"> 77.270 + <action name="Execute"> 77.271 + <startupnotify> 77.272 + <enabled>true</enabled> 77.273 + <name>App Launcher</name> 77.274 + </startupnotify> 77.275 + <command>lxpanelctl run</command> 77.276 + </action> 77.277 + </keybind> 77.278 + </keyboard> 77.279 + <mouse> 77.280 + <dragThreshold>8</dragThreshold> 77.281 + <!-- number of pixels the mouse must move before a drag begins --> 77.282 + <doubleClickTime>200</doubleClickTime> 77.283 + <!-- in milliseconds (1000 = 1 second) --> 77.284 + <screenEdgeWarpTime>400</screenEdgeWarpTime> 77.285 + <!-- Time before changing desktops when the pointer touches the edge of the 77.286 + screen while moving a window, in milliseconds (1000 = 1 second). 77.287 + Set this to 0 to disable warping --> 77.288 + <context name="Frame"> 77.289 + <mousebind button="A-Left" action="Press"> 77.290 + <action name="Focus"/> 77.291 + <action name="Raise"/> 77.292 + </mousebind> 77.293 + <mousebind button="A-Left" action="Click"> 77.294 + <action name="Unshade"/> 77.295 + </mousebind> 77.296 + <mousebind button="A-Left" action="Drag"> 77.297 + <action name="Move"/> 77.298 + </mousebind> 77.299 + <mousebind button="A-Right" action="Press"> 77.300 + <action name="Focus"/> 77.301 + <action name="Raise"/> 77.302 + <action name="Unshade"/> 77.303 + </mousebind> 77.304 + <mousebind button="A-Right" action="Drag"> 77.305 + <action name="Resize"/> 77.306 + </mousebind> 77.307 + <mousebind button="A-Middle" action="Press"> 77.308 + <action name="Lower"/> 77.309 + <action name="FocusToBottom"/> 77.310 + <action name="Unfocus"/> 77.311 + </mousebind> 77.312 + <mousebind button="A-Up" action="Click"> 77.313 + <action name="DesktopPrevious"/> 77.314 + </mousebind> 77.315 + <mousebind button="A-Down" action="Click"> 77.316 + <action name="DesktopNext"/> 77.317 + </mousebind> 77.318 + <mousebind button="C-A-Up" action="Click"> 77.319 + <action name="DesktopPrevious"/> 77.320 + </mousebind> 77.321 + <mousebind button="C-A-Down" action="Click"> 77.322 + <action name="DesktopNext"/> 77.323 + </mousebind> 77.324 + <mousebind button="A-S-Up" action="Click"> 77.325 + <action name="SendToDesktopPrevious"/> 77.326 + </mousebind> 77.327 + <mousebind button="A-S-Down" action="Click"> 77.328 + <action name="SendToDesktopNext"/> 77.329 + </mousebind> 77.330 + </context> 77.331 + <context name="Titlebar"> 77.332 + <mousebind button="Left" action="Press"> 77.333 + <action name="Focus"/> 77.334 + <action name="Raise"/> 77.335 + </mousebind> 77.336 + <mousebind button="Left" action="Drag"> 77.337 + <action name="Move"/> 77.338 + </mousebind> 77.339 + <mousebind button="Left" action="DoubleClick"> 77.340 + <action name="ToggleMaximizeFull"/> 77.341 + </mousebind> 77.342 + <mousebind button="Middle" action="Press"> 77.343 + <action name="Lower"/> 77.344 + <action name="FocusToBottom"/> 77.345 + <action name="Unfocus"/> 77.346 + </mousebind> 77.347 + <mousebind button="Up" action="Click"> 77.348 + <action name="Shade"/> 77.349 + <action name="FocusToBottom"/> 77.350 + <action name="Unfocus"/> 77.351 + <action name="Lower"/> 77.352 + </mousebind> 77.353 + <mousebind button="Down" action="Click"> 77.354 + <action name="Unshade"/> 77.355 + <action name="Raise"/> 77.356 + </mousebind> 77.357 + <mousebind button="Right" action="Press"> 77.358 + <action name="Focus"/> 77.359 + <action name="Raise"/> 77.360 + <action name="ShowMenu"> 77.361 + <menu>client-menu</menu> 77.362 + </action> 77.363 + </mousebind> 77.364 + </context> 77.365 + <context name="Top"> 77.366 + <mousebind button="Left" action="Press"> 77.367 + <action name="Focus"/> 77.368 + <action name="Raise"/> 77.369 + <action name="Unshade"/> 77.370 + </mousebind> 77.371 + <mousebind button="Left" action="Drag"> 77.372 + <action name="Resize"> 77.373 + <edge>top</edge> 77.374 + </action> 77.375 + </mousebind> 77.376 + </context> 77.377 + <context name="Left"> 77.378 + <mousebind button="Left" action="Press"> 77.379 + <action name="Focus"/> 77.380 + <action name="Raise"/> 77.381 + </mousebind> 77.382 + <mousebind button="Left" action="Drag"> 77.383 + <action name="Resize"> 77.384 + <edge>left</edge> 77.385 + </action> 77.386 + </mousebind> 77.387 + </context> 77.388 + <context name="Right"> 77.389 + <mousebind button="Left" action="Press"> 77.390 + <action name="Focus"/> 77.391 + <action name="Raise"/> 77.392 + </mousebind> 77.393 + <mousebind button="Left" action="Drag"> 77.394 + <action name="Resize"> 77.395 + <edge>right</edge> 77.396 + </action> 77.397 + </mousebind> 77.398 + </context> 77.399 + <context name="Bottom"> 77.400 + <mousebind button="Left" action="Press"> 77.401 + <action name="Focus"/> 77.402 + <action name="Raise"/> 77.403 + </mousebind> 77.404 + <mousebind button="Left" action="Drag"> 77.405 + <action name="Resize"> 77.406 + <edge>bottom</edge> 77.407 + </action> 77.408 + </mousebind> 77.409 + <mousebind button="Middle" action="Press"> 77.410 + <action name="Lower"/> 77.411 + <action name="FocusToBottom"/> 77.412 + <action name="Unfocus"/> 77.413 + </mousebind> 77.414 + <mousebind button="Right" action="Press"> 77.415 + <action name="Focus"/> 77.416 + <action name="Raise"/> 77.417 + <action name="ShowMenu"> 77.418 + <menu>client-menu</menu> 77.419 + </action> 77.420 + </mousebind> 77.421 + </context> 77.422 + <context name="BLCorner"> 77.423 + <mousebind button="Left" action="Press"> 77.424 + <action name="Focus"/> 77.425 + <action name="Raise"/> 77.426 + </mousebind> 77.427 + <mousebind button="Left" action="Drag"> 77.428 + <action name="Resize"/> 77.429 + </mousebind> 77.430 + </context> 77.431 + <context name="BRCorner"> 77.432 + <mousebind button="Left" action="Press"> 77.433 + <action name="Focus"/> 77.434 + <action name="Raise"/> 77.435 + </mousebind> 77.436 + <mousebind button="Left" action="Drag"> 77.437 + <action name="Resize"/> 77.438 + </mousebind> 77.439 + </context> 77.440 + <context name="TLCorner"> 77.441 + <mousebind button="Left" action="Press"> 77.442 + <action name="Focus"/> 77.443 + <action name="Raise"/> 77.444 + <action name="Unshade"/> 77.445 + </mousebind> 77.446 + <mousebind button="Left" action="Drag"> 77.447 + <action name="Resize"/> 77.448 + </mousebind> 77.449 + </context> 77.450 + <context name="TRCorner"> 77.451 + <mousebind button="Left" action="Press"> 77.452 + <action name="Focus"/> 77.453 + <action name="Raise"/> 77.454 + <action name="Unshade"/> 77.455 + </mousebind> 77.456 + <mousebind button="Left" action="Drag"> 77.457 + <action name="Resize"/> 77.458 + </mousebind> 77.459 + </context> 77.460 + <context name="Client"> 77.461 + <mousebind button="Left" action="Press"> 77.462 + <action name="Focus"/> 77.463 + <action name="Raise"/> 77.464 + </mousebind> 77.465 + <mousebind button="Middle" action="Press"> 77.466 + <action name="Focus"/> 77.467 + <action name="Raise"/> 77.468 + </mousebind> 77.469 + <mousebind button="Right" action="Press"> 77.470 + <action name="Focus"/> 77.471 + <action name="Raise"/> 77.472 + </mousebind> 77.473 + </context> 77.474 + <context name="Icon"> 77.475 + <mousebind button="Left" action="Press"> 77.476 + <action name="Focus"/> 77.477 + <action name="Raise"/> 77.478 + <action name="Unshade"/> 77.479 + <action name="ShowMenu"> 77.480 + <menu>client-menu</menu> 77.481 + </action> 77.482 + </mousebind> 77.483 + <mousebind button="Right" action="Press"> 77.484 + <action name="Focus"/> 77.485 + <action name="Raise"/> 77.486 + <action name="ShowMenu"> 77.487 + <menu>client-menu</menu> 77.488 + </action> 77.489 + </mousebind> 77.490 + </context> 77.491 + <context name="AllDesktops"> 77.492 + <mousebind button="Left" action="Press"> 77.493 + <action name="Focus"/> 77.494 + <action name="Raise"/> 77.495 + <action name="Unshade"/> 77.496 + </mousebind> 77.497 + <mousebind button="Left" action="Click"> 77.498 + <action name="ToggleOmnipresent"/> 77.499 + </mousebind> 77.500 + </context> 77.501 + <context name="Shade"> 77.502 + <mousebind button="Left" action="Press"> 77.503 + <action name="Focus"/> 77.504 + <action name="Raise"/> 77.505 + </mousebind> 77.506 + <mousebind button="Left" action="Click"> 77.507 + <action name="ToggleShade"/> 77.508 + </mousebind> 77.509 + </context> 77.510 + <context name="Iconify"> 77.511 + <mousebind button="Left" action="Press"> 77.512 + <action name="Focus"/> 77.513 + <action name="Raise"/> 77.514 + </mousebind> 77.515 + <mousebind button="Left" action="Click"> 77.516 + <action name="Iconify"/> 77.517 + </mousebind> 77.518 + </context> 77.519 + <context name="Maximize"> 77.520 + <mousebind button="Left" action="Press"> 77.521 + <action name="Focus"/> 77.522 + <action name="Raise"/> 77.523 + <action name="Unshade"/> 77.524 + </mousebind> 77.525 + <mousebind button="Middle" action="Press"> 77.526 + <action name="Focus"/> 77.527 + <action name="Raise"/> 77.528 + <action name="Unshade"/> 77.529 + </mousebind> 77.530 + <mousebind button="Right" action="Press"> 77.531 + <action name="Focus"/> 77.532 + <action name="Raise"/> 77.533 + <action name="Unshade"/> 77.534 + </mousebind> 77.535 + <mousebind button="Left" action="Click"> 77.536 + <action name="ToggleMaximizeFull"/> 77.537 + </mousebind> 77.538 + <mousebind button="Middle" action="Click"> 77.539 + <action name="ToggleMaximizeVert"/> 77.540 + </mousebind> 77.541 + <mousebind button="Right" action="Click"> 77.542 + <action name="ToggleMaximizeHorz"/> 77.543 + </mousebind> 77.544 + </context> 77.545 + <context name="Close"> 77.546 + <mousebind button="Left" action="Press"> 77.547 + <action name="Focus"/> 77.548 + <action name="Raise"/> 77.549 + <action name="Unshade"/> 77.550 + </mousebind> 77.551 + <mousebind button="Left" action="Click"> 77.552 + <action name="Close"/> 77.553 + </mousebind> 77.554 + </context> 77.555 + <context name="Desktop"> 77.556 + <mousebind button="Up" action="Click"> 77.557 + <action name="DesktopPrevious"/> 77.558 + </mousebind> 77.559 + <mousebind button="Down" action="Click"> 77.560 + <action name="DesktopNext"/> 77.561 + </mousebind> 77.562 + <mousebind button="A-Up" action="Click"> 77.563 + <action name="DesktopPrevious"/> 77.564 + </mousebind> 77.565 + <mousebind button="A-Down" action="Click"> 77.566 + <action name="DesktopNext"/> 77.567 + </mousebind> 77.568 + <mousebind button="C-A-Up" action="Click"> 77.569 + <action name="DesktopPrevious"/> 77.570 + </mousebind> 77.571 + <mousebind button="C-A-Down" action="Click"> 77.572 + <action name="DesktopNext"/> 77.573 + </mousebind> 77.574 + <mousebind button="Left" action="Press"> 77.575 + <action name="Focus"/> 77.576 + <action name="Raise"/> 77.577 + </mousebind> 77.578 + <mousebind button="Right" action="Press"> 77.579 + <action name="Focus"/> 77.580 + <action name="Raise"/> 77.581 + </mousebind> 77.582 + </context> 77.583 + <context name="Root"> 77.584 + <!-- Menus --> 77.585 + <mousebind button="Middle" action="Press"> 77.586 + <action name="ShowMenu"> 77.587 + <menu>client-list-combined-menu</menu> 77.588 + </action> 77.589 + </mousebind> 77.590 + <mousebind button="Right" action="Press"> 77.591 + <action name="ShowMenu"> 77.592 + <menu>root-menu</menu> 77.593 + </action> 77.594 + </mousebind> 77.595 + </context> 77.596 + <context name="MoveResize"> 77.597 + <mousebind button="Up" action="Click"> 77.598 + <action name="DesktopPrevious"/> 77.599 + </mousebind> 77.600 + <mousebind button="Down" action="Click"> 77.601 + <action name="DesktopNext"/> 77.602 + </mousebind> 77.603 + <mousebind button="A-Up" action="Click"> 77.604 + <action name="DesktopPrevious"/> 77.605 + </mousebind> 77.606 + <mousebind button="A-Down" action="Click"> 77.607 + <action name="DesktopNext"/> 77.608 + </mousebind> 77.609 + </context> 77.610 + </mouse> 77.611 + <menu> 77.612 + <!-- You can specify more than one menu file in here and they are all loaded, 77.613 + just don't make menu ids clash or, well, it'll be kind of pointless --> 77.614 + <!-- default menu file (or custom one in $HOME/.config/openbox/) --> 77.615 + <file>menu.xml</file> 77.616 + <hideDelay>200</hideDelay> 77.617 + <!-- if a press-release lasts longer than this setting (in milliseconds), the 77.618 + menu is hidden again --> 77.619 + <middle>no</middle> 77.620 + <!-- center submenus vertically about the parent entry --> 77.621 + <submenuShowDelay>100</submenuShowDelay> 77.622 + <!-- this one is easy, time to delay before showing a submenu after hovering 77.623 + over the parent entry --> 77.624 + <applicationIcons>yes</applicationIcons> 77.625 + <!-- controls if icons appear in the client-list-(combined-)menu --> 77.626 + <manageDesktops>yes</manageDesktops> 77.627 + <!-- show the manage desktops section in the client-list-(combined-)menu --> 77.628 + </menu> 77.629 + <applications> 77.630 + <!-- 77.631 + # this is an example with comments through out. use these to make your 77.632 + # own rules, but without the comments of course. 77.633 + 77.634 + <application name="first element of window's WM_CLASS property (see xprop)" 77.635 + class="second element of window's WM_CLASS property (see xprop)" 77.636 + role="the window's WM_WINDOW_ROLE property (see xprop)"> 77.637 + # the name or the class can be set, or both. this is used to match 77.638 + # windows when they appear. role can optionally be set as well, to 77.639 + # further restrict your matches. 77.640 + 77.641 + # the name, class, and role use simple wildcard matching such as those 77.642 + # used by a shell. you can use * to match any characters and ? to match 77.643 + # any single character. 77.644 + 77.645 + # when multiple rules match a window, they will all be applied, in the 77.646 + # order that they appear in this list 77.647 + 77.648 + 77.649 + # each element can be left out or set to 'default' to specify to not 77.650 + # change that attribute of the window 77.651 + 77.652 + <decor>yes</decor> 77.653 + # enable or disable window decorations 77.654 + 77.655 + <shade>no</shade> 77.656 + # make the window shaded when it appears, or not 77.657 + 77.658 + <position> 77.659 + # the position is only used if both an x and y coordinate are provided 77.660 + # (and not set to 'default') 77.661 + <x>center</x> 77.662 + # a number like 50, or 'center' to center on screen. use a negative number 77.663 + # to start from the right (or bottom for <y>), ie -50 is 50 pixels from the 77.664 + # right edge (or bottom). 77.665 + <y>200</y> 77.666 + <monitor>1</monitor> 77.667 + # specifies the monitor in a xinerama setup. 77.668 + # 1 is the first head, or 'mouse' for wherever the mouse is 77.669 + </position> 77.670 + 77.671 + <focus>yes</focus> 77.672 + # if the window should try be given focus when it appears. if this is set 77.673 + # to yes it doesn't guarantee the window will be given focus. some 77.674 + # restrictions may apply, but Openbox will try to 77.675 + 77.676 + <desktop>1</desktop> 77.677 + # 1 is the first desktop, 'all' for all desktops 77.678 + 77.679 + <layer>normal</layer> 77.680 + # 'above', 'normal', or 'below' 77.681 + 77.682 + <iconic>no</iconic> 77.683 + # make the window iconified when it appears, or not 77.684 + 77.685 + <skip_pager>no</skip_pager> 77.686 + # asks to not be shown in pagers 77.687 + 77.688 + <skip_taskbar>no</skip_taskbar> 77.689 + # asks to not be shown in taskbars. window cycling actions will also 77.690 + # skip past such windows 77.691 + 77.692 + <fullscreen>yes</fullscreen> 77.693 + # make the window in fullscreen mode when it appears 77.694 + 77.695 + <maximized>true</maximized> 77.696 + # 'Horizontal', 'Vertical' or boolean (yes/no) 77.697 + </application> 77.698 + 77.699 + # end of the example 77.700 +--> 77.701 + </applications> 77.702 +</openbox_config>
78.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 78.2 +++ b/justx/rootfs/etc/xdg/tint2/tint2rc Tue Feb 02 22:26:52 2010 +0100 78.3 @@ -0,0 +1,92 @@ 78.4 +#--------------------------------------------- 78.5 +# TINT2 CONFIG FILE 78.6 +#--------------------------------------------- 78.7 + 78.8 +#--------------------------------------------- 78.9 +# BACKGROUND AND BORDER 78.10 +#--------------------------------------------- 78.11 +rounded = 8 78.12 +border_width = 1 78.13 +background_color = #000000 60 78.14 +border_color = #ffffff 18 78.15 + 78.16 +rounded = 5 78.17 +border_width = 0 78.18 +background_color = #ffffff 40 78.19 +border_color = #ffffff 50 78.20 + 78.21 +rounded = 5 78.22 +border_width = 0 78.23 +background_color = #ffffff 18 78.24 +border_color = #ffffff 70 78.25 + 78.26 +#--------------------------------------------- 78.27 +# PANEL 78.28 +#--------------------------------------------- 78.29 +panel_monitor = all 78.30 +panel_position = bottom center 78.31 +panel_size = 92% 30 78.32 +panel_margin = 0 0 78.33 +panel_padding = 7 0 78.34 +font_shadow = 0 78.35 +panel_background_id = 1 78.36 + 78.37 +#--------------------------------------------- 78.38 +# TASKBAR 78.39 +#--------------------------------------------- 78.40 +taskbar_mode = single_monitor 78.41 +taskbar_padding = 2 3 2 78.42 +taskbar_background_id = 0 78.43 + 78.44 +#--------------------------------------------- 78.45 +# TASKS 78.46 +#--------------------------------------------- 78.47 +task_icon = 1 78.48 +task_text = 1 78.49 +task_width = 140 78.50 +task_centered = 1 78.51 +task_padding = 6 3 78.52 +task_font = sans 7 78.53 +task_font_color = #ffffff 70 78.54 +task_active_font_color = #ffffff 85 78.55 +task_background_id = 3 78.56 +task_active_background_id = 2 78.57 + 78.58 +#--------------------------------------------- 78.59 +# SYSTRAYBAR 78.60 +#--------------------------------------------- 78.61 +systray_padding = 0 4 5 78.62 +systray_background_id = 0 78.63 + 78.64 +#--------------------------------------------- 78.65 +# CLOCK 78.66 +#--------------------------------------------- 78.67 +time1_format = %H:%m 78.68 +time1_font = sans 9 78.69 +#time2_format = %A %d %B 78.70 +#time2_font = sans 8 78.71 +clock_font_color = #ffffff 96 78.72 +clock_padding = 1 0 78.73 +clock_background_id = 0 78.74 + 78.75 +#--------------------------------------------- 78.76 +# BATTERY 78.77 +#--------------------------------------------- 78.78 +battery = 0 78.79 +battery_low_status = 7 78.80 +battery_low_cmd = desktopbox notify "Battery low" 78.81 +bat1_font = sans 8 78.82 +bat2_font = sans 8 78.83 +battery_font_color = #ffffff 96 78.84 +battery_padding = 1 0 78.85 +battery_background_id = 0 78.86 + 78.87 + 78.88 +#--------------------------------------------- 78.89 +# MOUSE ACTION ON TASK 78.90 +#--------------------------------------------- 78.91 +mouse_middle = none 78.92 +mouse_right = close 78.93 +mouse_scroll_up = toggle 78.94 +mouse_scroll_down = iconify 78.95 +
79.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 79.2 +++ b/justx/rootfs/root/.Xdefaults Tue Feb 02 22:26:52 2010 +0100 79.3 @@ -0,0 +1,20 @@ 79.4 +!~/.Xdefault: Control the behavior of x-clients. 79.5 +! 79.6 + 79.7 +! Xcursor theme (~/.icons). 79.8 +! 79.9 +Xcursor.theme: slitaz-polar 79.10 + 79.11 +! XTerm settings. 79.12 +! 79.13 +xterm*background: black 79.14 +xterm*foreground: white 79.15 +xterm*cursorColor: #6AA2D8 79.16 +xterm*scrollBar: off 79.17 +xterm*faceName: DejaVu Sans Mono 79.18 +xterm*faceSize: 9 79.19 + 79.20 +! Xload settings. 79.21 +! 79.22 +!xload*background: black 79.23 +!xload*foreground: lightblue
80.1 --- a/office/packages.list Sat Dec 26 11:04:28 2009 +0100 80.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 80.3 @@ -1,187 +0,0 @@ 80.4 -abiword 80.5 -abiword-plugins 80.6 -alsa-lib 80.7 -alsaplayer 80.8 -alsa-utils 80.9 -atk 80.10 -attr 80.11 -busybox 80.12 -bzlib 80.13 -cairo 80.14 -cdrkit 80.15 -clearlooks 80.16 -conspy 80.17 -dbus 80.18 -dbus-glib 80.19 -depmod 80.20 -desktop-file-utils 80.21 -dialog 80.22 -dropbear 80.23 -e2fsprogs 80.24 -enchant 80.25 -expat 80.26 -fontconfig 80.27 -freetype 80.28 -fribidi 80.29 -fuse 80.30 -galculator 80.31 -gamin 80.32 -gcc-lib-base 80.33 -get-google-earth 80.34 -get-opera 80.35 -get-skype 80.36 -get-wifi-firmware 80.37 -glib 80.38 -glibc-base 80.39 -gnumeric 80.40 -goffice 80.41 -gpxe 80.42 -grub 80.43 -gtk+ 80.44 -gtkdialog 80.45 -hal 80.46 -hardinfo 80.47 -hicolor-icon-theme 80.48 -homebank 80.49 -hubbub 80.50 -isapnptools 80.51 -isomaster 80.52 -jpeg 80.53 -kbd-busybox 80.54 -lcms 80.55 -leafpad 80.56 -libart_lgpl 80.57 -libcap 80.58 -libcomerr 80.59 -libcroco 80.60 -libcrypto 80.61 -libcurl 80.62 -libdrm 80.63 -libgio 80.64 -libglade 80.65 -libgnomecanvas 80.66 -libgnomeprint 80.67 -libgnomeprintui 80.68 -libgsf 80.69 -libidn 80.70 -libmad 80.71 -libnsgif 80.72 -libogg 80.73 -libparserutils 80.74 -libpng 80.75 -librsvg 80.76 -libssl 80.77 -libvorbis 80.78 -libxcb 80.79 -libxml2 80.80 -linux 80.81 -linux-acpi 80.82 -linux-crypto 80.83 -linux-sound 80.84 -linux-wireless 80.85 -locale-de 80.86 -locale-es 80.87 -locale-fr 80.88 -locale-pt 80.89 -lxappearance 80.90 -lxpanel 80.91 -lxtask 80.92 -lzlib 80.93 -lzma 80.94 -menu-cache 80.95 -mesa 80.96 -nano 80.97 -ncurses 80.98 -netsurf 80.99 -notecase 80.100 -ntfs-3g 80.101 -ntfsprogs 80.102 -obconf 80.103 -openbox 80.104 -openssl 80.105 -osmo 80.106 -pango 80.107 -pciutils 80.108 -pcmanfm 80.109 -pcmciautils 80.110 -pcre 80.111 -pixman 80.112 -popt 80.113 -ppp 80.114 -readline 80.115 -rp-pppoe 80.116 -shared-mime-info 80.117 -slim 80.118 -slitaz-base-files 80.119 -slitaz-boot-scripts 80.120 -slitaz-configs 80.121 -slitaz-doc 80.122 -slitaz-icon 80.123 -slitaz-menus 80.124 -slitaz-polar-cursors 80.125 -slitaz-tools 80.126 -slitaz-tools-boxes 80.127 -sqlite 80.128 -startup-notification 80.129 -sudoku-savant 80.130 -sysfsutils 80.131 -syslinux 80.132 -syslinux-extra 80.133 -tazlito 80.134 -tazpkg 80.135 -tazusb 80.136 -tazwok 80.137 -tiff 80.138 -transset-df 80.139 -ttf-dejavu 80.140 -udev 80.141 -util-linux-ng-blkid 80.142 -util-linux-ng-cfdisk 80.143 -util-linux-ng-getopt 80.144 -util-linux-ng-uuid 80.145 -viewnior 80.146 -web-applications 80.147 -wireless_tools 80.148 -wpa_supplicant 80.149 -wv 80.150 -xcb-util 80.151 -xorg 80.152 -xorg-base-fonts 80.153 -xorg-libfontenc 80.154 -xorg-libICE 80.155 -xorg-libpciaccess 80.156 -xorg-libSM 80.157 -xorg-libX11 80.158 -xorg-libXau 80.159 -xorg-libXaw 80.160 -xorg-libXcomposite 80.161 -xorg-libXcursor 80.162 -xorg-libXdamage 80.163 -xorg-libXdmcp 80.164 -xorg-libXext 80.165 -xorg-libXfixes 80.166 -xorg-libXfont 80.167 -xorg-libXft 80.168 -xorg-libXi 80.169 -xorg-libXinerama 80.170 -xorg-libxkbfile 80.171 -xorg-libXmu 80.172 -xorg-libXpm 80.173 -xorg-libXrandr 80.174 -xorg-libXrender 80.175 -xorg-libXt 80.176 -xorg-libXtst 80.177 -xorg-libXxf86vm 80.178 -xorg-rgb 80.179 -xorg-server 80.180 -xorg-setxkbmap 80.181 -xorg-xauth 80.182 -xorg-xcompmgr 80.183 -xorg-xf86-input-keyboard 80.184 -xorg-xf86-input-mouse 80.185 -xorg-xf86-video-vesa 80.186 -xorg-xkbcomp 80.187 -xorg-xkeyboard-config 80.188 -xorg-xrandr 80.189 -xterm 80.190 -zlib
81.1 --- a/office/receipt Sat Dec 26 11:04:28 2009 +0100 81.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 81.3 @@ -1,11 +0,0 @@ 81.4 -# SliTaz flavor receipt. 81.5 - 81.6 -FLAVOR="office" 81.7 -SHORT_DESC="Small desktop with Abiword, Gnumeric and Homebank" 81.8 -VERSION="20091225" 81.9 -MAINTAINER="pankso@slitaz.org" 81.10 - 81.11 -FRUGAL_RAM="128M" 81.12 -ROOTFS_SIZE="97.8M" 81.13 -INITRAMFS_SIZE="25.8M" 81.14 -ISO_SIZE="29.0M"
82.1 --- a/office/rootcd/README Sat Dec 26 11:04:28 2009 +0100 82.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 82.3 @@ -1,67 +0,0 @@ 82.4 -README SliTaz GNU/Linux CD August 2007 82.5 -=============================================================================== 82.6 - 82.7 - 82.8 -Français 82.9 --------- 82.10 -Ce cdrom est un système autonome Live, il vous suffit de démarrer sur le CD 82.11 -(booter) et SliTaz se lance en mémoire vive (RAM), sans toucher à votre système 82.12 -actuel. SliTaz peut fonctionner des mois entiers sans redémarrer, le système 82.13 -peut fonctionner dans 128 Mb de mémoire vive et sur des machines sans disque dur. 82.14 -Mais SliTaz est aussi pleinement installable sur un disque dur et largement 82.15 -extensible via le gestionnaire de paquets et la compilation de nouvelles 82.16 -applications depuis les sources. 82.17 - 82.18 -Une fois le système lancé, vous disposez d'un shell ash, et vous pouvez retirer 82.19 -le cdrom, car SliTaz utilise la mémoire vive (RAM) de la machine. Le système 82.20 -fournit plus de 200 commandes Linux, un mini serveur web, navigateur web, 82.21 -client de chat IRC, support IDE, eth0, usb, le système X et bien plus {...}. 82.22 - 82.23 -SliTaz peut être utilisé pour réparer, et tester un disque dur avec fdisk, 82.24 -hdparm, ou les outils e2fsprogs. Le système et aussi pleinement installable, 82.25 -vous pouvez jetter un coup d'oeil au document install-guide.html. 82.26 - 82.27 -Slitaz GNU/Linux est distribué sans aucune garantie et publié car 82.28 -potentiellement utile. SliTaz n'as aucune prétention, nous ne sommes que des 82.29 -passionnés par l'informatique libre, qui aimons la liberté et le partage. Sur 82.30 -le système vous trouverez le manuel d'utilisateur et la documentation dans : 82.31 -/usr/share/doc, et les licences complète dans : /usr/share/licenses. 82.32 - 82.33 -Havefun! 82.34 - 82.35 - 82.36 -English 82.37 -------- 82.38 -SliTaz is a micro GNU/Linux distro using BusyBox, a Linux kernel, and GNU 82.39 -free software. SliTaz also use goodies from the Debian project. The goal of 82.40 -SliTaz is to have a GNU/Linux distro working all in memory (RAM). SliTaz boot 82.41 -with Syslinux, provide more than 200 Linux commands, LightTPD web serveur, 82.42 -SSH server/client powered by Dropbear, rescue tools, X system, and much more 82.43 -{...}. 82.44 - 82.45 -On the system you will find documentation in: /usr/share/doc, and the full 82.46 -GPL license in: /usr/share/licenses. 82.47 - 82.48 - 82.49 -LICENSE 82.50 -------- 82.51 - 82.52 -Copyright (c) 2007 SliTaz GNU/Linux 82.53 - 82.54 -SliTaz is free software; you can redistribute it and/or modify 82.55 -it under the terms of the GNU General Public License as published by 82.56 -the Free Software Foundation; either version 3 of the License, or 82.57 -(at your option) any later version. 82.58 - 82.59 -SliTaz is distributed in the hope that it will be useful, 82.60 -but WITHOUT ANY WARRANTY; without even the implied warranty of 82.61 -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 82.62 -GNU General Public License for more details. 82.63 - 82.64 -You should have received a copy of the GNU General Public License 82.65 -along with SliTaz; if not, write to the Free Software 82.66 -Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA 82.67 - 82.68 - 82.69 -=============================================================================== 82.70 - http://www.slitaz.org/
83.1 Binary file office/rootcd/images/header.png has changed
84.1 --- a/office/rootcd/index.html Sat Dec 26 11:04:28 2009 +0100 84.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 84.3 @@ -1,64 +0,0 @@ 84.4 -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" 84.5 - "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> 84.6 -<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="fr" lang="fr"> 84.7 -<head> 84.8 - <title>SliTaz GNU/Linux - CD</title> 84.9 - <meta http-equiv="content-type" content="text/html; charset=ISO-8859-1" /> 84.10 - <meta name="description" content="SliTaz documentation book" /> 84.11 - <meta name="expires" content="never" /> 84.12 - <meta name="modified" content="2007-10-07 20:30:00" /> 84.13 - <meta name="publisher" content="www.slitaz.org" /> 84.14 - <meta name="author" content="Christophe Lincoln"/> 84.15 - <link rel="stylesheet" type="text/css" href="style.css" /> 84.16 -</head> 84.17 -<body bgcolor="#ffffff"> 84.18 -<!-- Header --> 84.19 -<div id="header"> 84.20 - <a name="top"></a> 84.21 - <h1>SliTaz GNU/Linux - CD</h1> 84.22 -</div> 84.23 - 84.24 -<!-- Content --> 84.25 -<div id="content"> 84.26 -<h2><font color="#DF8F06">LiveCD informations</font></h2> 84.27 - 84.28 -<h3><font color="#9c2424">Français</font></h3> 84.29 -<p> 84.30 -Bienvenue sur la page d'index d'un cdrom de SliTaz GNU/Linux. Lisez le 84.31 -fichier <a href="README">README</a> pour de plus amples informations, ou 84.32 -démarrez votre ordinateur avec le cdrom dans le lecteur CD ou DVD, pour 84.33 -lancer SliTaz en RAM et sans risques pour la machine hôte. 84.34 -</p> 84.35 - 84.36 -<h3><font color="#9c2424">English</font></h3> 84.37 -<p> 84.38 -Welcome on a SliTaz GNU/Linux cdrom, SliTaz is mostly documented in French, 84.39 -but the full system is available in English. To boot SliTaz from a cdrom, 84.40 -just burn the ISO image onto a blank disc. Then reboot your computer with 84.41 -the disc into your cdrom driver. 84.42 -</p> 84.43 -<p> 84.44 -Have fun!<br /> 84.45 -- SliTaz community 84.46 -</p> 84.47 - 84.48 -</div> 84.49 -<!-- End content --> 84.50 -<hr /> 84.51 -<!-- Footer --> 84.52 -<div align="center" id="footer"> 84.53 -<p> 84.54 -<font size="-1"> 84.55 - <a href="#top">Haut de la page</a> 84.56 -</font> 84.57 -</p> 84.58 -<p> 84.59 -<font size="-1"> 84.60 - Copyright © 2007 <a href="http://www.slitaz.org/">SliTaz</a> - 84.61 - <a href="http://www.gnu.org/licenses/gpl.html">GNU General Public License</a><br /> 84.62 - Code <a href="http://validator.w3.org/">XHTML 1.0 valide</a>. 84.63 -</font> 84.64 -</p> 84.65 -</div> 84.66 -</body> 84.67 -</html>
85.1 --- a/office/rootcd/style.css Sat Dec 26 11:04:28 2009 +0100 85.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 85.3 @@ -1,57 +0,0 @@ 85.4 -/* CSS style for SliTaz GNU/Linux generic xHTML files. */ 85.5 -body { 85.6 - font: 90% sans-serif, vernada, arial; 85.7 - margin: 0; 85.8 - } 85.9 -/* Header */ 85.10 -#header{ 85.11 - background: #BFB06B url(images/header.png) repeat-x top; 85.12 - color: black; 85.13 - width: 100%; 85.14 - height: 50px ; 85.15 - border-top: 1px solid black; 85.16 - border-bottom: 1px solid black; 85.17 - } 85.18 -#content { 85.19 - margin: 0px 50px 26px 50px; 85.20 - } 85.21 -#footer { 85.22 - border-top: 1px solid black; 85.23 - } 85.24 -a { 85.25 - text-decoration: underline; 85.26 - } 85.27 -a:hover { 85.28 - text-decoration: none; 85.29 - } 85.30 -h1 { 85.31 - margin: 10px 0px 0px 6px; 85.32 - } 85.33 -h2 { 85.34 - margin: 12px 0; 85.35 - } 85.36 -pre { 85.37 - padding: 5px; 85.38 - color: black; 85.39 - background: #e1e0b0; 85.40 - } 85.41 -pre.script { 85.42 - padding: 10px; 85.43 - color: black; 85.44 - background: #e8e8e8; 85.45 - border: 1px inset #333333; 85.46 -} 85.47 -li { 85.48 - line-height: 1.4em; 85.49 - } 85.50 -code { 85.51 - font-size: 100%; 85.52 - color: #669900; 85.53 - background: transparent; 85.54 - } 85.55 -hr { 85.56 - color: white; 85.57 - background-color: white; 85.58 - height: 1px; 85.59 - border: 0; 85.60 - }
86.1 --- a/xorg/packages.list Sat Dec 26 11:04:28 2009 +0100 86.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 86.3 @@ -1,184 +0,0 @@ 86.4 -alsa-lib 86.5 -alsaplayer 86.6 -alsa-utils 86.7 -asunder 86.8 -atk 86.9 -attr 86.10 -busybox 86.11 -bzlib 86.12 -cairo 86.13 -cdparanoia-III 86.14 -cdrkit 86.15 -clearlooks 86.16 -conspy 86.17 -dbus 86.18 -dbus-glib 86.19 -depmod 86.20 -desktop-file-utils 86.21 -dialog 86.22 -dropbear 86.23 -e2fsprogs 86.24 -expat 86.25 -fontconfig 86.26 -freetype 86.27 -fuse 86.28 -galculator 86.29 -gamin 86.30 -gcc-lib-base 86.31 -gcolor2 86.32 -geany 86.33 -get-google-earth 86.34 -get-opera 86.35 -get-skype 86.36 -get-wifi-firmware 86.37 -glib 86.38 -glibc-base 86.39 -gpxe 86.40 -grub 86.41 -gtk+ 86.42 -gtkdialog 86.43 -hal 86.44 -hardinfo 86.45 -hicolor-icon-theme 86.46 -hubbub 86.47 -isapnptools 86.48 -isomaster 86.49 -jpeg 86.50 -kbd-busybox 86.51 -lcms 86.52 -leafpad 86.53 -libcap 86.54 -libcddb 86.55 -libcomerr 86.56 -libcroco 86.57 -libcrypto 86.58 -libcurl 86.59 -libdrm 86.60 -libgio 86.61 -libglade 86.62 -libgsf 86.63 -libidn 86.64 -libmad 86.65 -libnotify 86.66 -libnsgif 86.67 -libogg 86.68 -libparserutils 86.69 -libpng 86.70 -librsvg 86.71 -libssl 86.72 -libvorbis 86.73 -libxcb 86.74 -libxml2 86.75 -linux 86.76 -linux-acpi 86.77 -linux-crypto 86.78 -linux-sound 86.79 -linux-wireless 86.80 -locale-de 86.81 -locale-es 86.82 -locale-fr 86.83 -locale-pt 86.84 -lxappearance 86.85 -lxpanel 86.86 -lxtask 86.87 -lzlib 86.88 -lzma 86.89 -menu-cache 86.90 -mesa 86.91 -mhwaveedit 86.92 -mtpaint 86.93 -nano 86.94 -ncurses 86.95 -netsurf 86.96 -notecase 86.97 -ntfs-3g 86.98 -ntfsprogs 86.99 -obconf 86.100 -openbox 86.101 -openssl 86.102 -osmo 86.103 -pango 86.104 -pciutils 86.105 -pcmanfm 86.106 -pcmciautils 86.107 -pcre 86.108 -pixman 86.109 -popt 86.110 -ppp 86.111 -rhapsody 86.112 -rp-pppoe 86.113 -shared-mime-info 86.114 -slim 86.115 -slitaz-base-files 86.116 -slitaz-boot-scripts 86.117 -slitaz-configs 86.118 -slitaz-doc 86.119 -slitaz-icon 86.120 -slitaz-menus 86.121 -slitaz-polar-cursors 86.122 -slitaz-tools 86.123 -slitaz-tools-boxes 86.124 -sqlite 86.125 -startup-notification 86.126 -sudoku-savant 86.127 -sysfsutils 86.128 -syslinux 86.129 -syslinux-extra 86.130 -tazlito 86.131 -tazpkg 86.132 -tazusb 86.133 -tazwok 86.134 -tiff 86.135 -transmission 86.136 -transset-df 86.137 -ttf-dejavu 86.138 -udev 86.139 -util-linux-ng-blkid 86.140 -util-linux-ng-cfdisk 86.141 -util-linux-ng-getopt 86.142 -util-linux-ng-uuid 86.143 -viewnior 86.144 -web-applications 86.145 -wireless_tools 86.146 -wpa_supplicant 86.147 -xcb-util 86.148 -xorg 86.149 -xorg-base-fonts 86.150 -xorg-libfontenc 86.151 -xorg-libICE 86.152 -xorg-libpciaccess 86.153 -xorg-libSM 86.154 -xorg-libX11 86.155 -xorg-libXau 86.156 -xorg-libXaw 86.157 -xorg-libXcomposite 86.158 -xorg-libXcursor 86.159 -xorg-libXdamage 86.160 -xorg-libXdmcp 86.161 -xorg-libXext 86.162 -xorg-libXfixes 86.163 -xorg-libXfont 86.164 -xorg-libXft 86.165 -xorg-libXi 86.166 -xorg-libXinerama 86.167 -xorg-libxkbfile 86.168 -xorg-libXmu 86.169 -xorg-libXpm 86.170 -xorg-libXrandr 86.171 -xorg-libXrender 86.172 -xorg-libXt 86.173 -xorg-libXtst 86.174 -xorg-libXxf86vm 86.175 -xorg-rgb 86.176 -xorg-server 86.177 -xorg-setxkbmap 86.178 -xorg-xauth 86.179 -xorg-xcompmgr 86.180 -xorg-xf86-input-keyboard 86.181 -xorg-xf86-input-mouse 86.182 -xorg-xf86-video-vesa 86.183 -xorg-xkbcomp 86.184 -xorg-xkeyboard-config 86.185 -xorg-xrandr 86.186 -xterm 86.187 -zlib
87.1 --- a/xorg/receipt Sat Dec 26 11:04:28 2009 +0100 87.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 87.3 @@ -1,11 +0,0 @@ 87.4 -# SliTaz flavor receipt. 87.5 - 87.6 -FLAVOR="xorg" 87.7 -SHORT_DESC="Full featured desktop using Xorg server" 87.8 -VERSION="20091225" 87.9 -MAINTAINER="pankso@slitaz.org" 87.10 - 87.11 -FRUGAL_RAM="128M" 87.12 -ROOTFS_SIZE="78.6M" 87.13 -INITRAMFS_SIZE="22.0M" 87.14 -ISO_SIZE="25.0M"
88.1 --- a/xorg/rootcd/README Sat Dec 26 11:04:28 2009 +0100 88.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 88.3 @@ -1,67 +0,0 @@ 88.4 -README SliTaz GNU/Linux CD August 2007 88.5 -=============================================================================== 88.6 - 88.7 - 88.8 -Français 88.9 --------- 88.10 -Ce cdrom est un système autonome Live, il vous suffit de démarrer sur le CD 88.11 -(booter) et SliTaz se lance en mémoire vive (RAM), sans toucher à votre système 88.12 -actuel. SliTaz peut fonctionner des mois entiers sans redémarrer, le système 88.13 -peut fonctionner dans 128 Mb de mémoire vive et sur des machines sans disque dur. 88.14 -Mais SliTaz est aussi pleinement installable sur un disque dur et largement 88.15 -extensible via le gestionnaire de paquets et la compilation de nouvelles 88.16 -applications depuis les sources. 88.17 - 88.18 -Une fois le système lancé, vous disposez d'un shell ash, et vous pouvez retirer 88.19 -le cdrom, car SliTaz utilise la mémoire vive (RAM) de la machine. Le système 88.20 -fournit plus de 200 commandes Linux, un mini serveur web, navigateur web, 88.21 -client de chat IRC, support IDE, eth0, usb, le système X et bien plus {...}. 88.22 - 88.23 -SliTaz peut être utilisé pour réparer, et tester un disque dur avec fdisk, 88.24 -hdparm, ou les outils e2fsprogs. Le système et aussi pleinement installable, 88.25 -vous pouvez jetter un coup d'oeil au document install-guide.html. 88.26 - 88.27 -Slitaz GNU/Linux est distribué sans aucune garantie et publié car 88.28 -potentiellement utile. SliTaz n'as aucune prétention, nous ne sommes que des 88.29 -passionnés par l'informatique libre, qui aimons la liberté et le partage. Sur 88.30 -le système vous trouverez le manuel d'utilisateur et la documentation dans : 88.31 -/usr/share/doc, et les licences complète dans : /usr/share/licenses. 88.32 - 88.33 -Havefun! 88.34 - 88.35 - 88.36 -English 88.37 -------- 88.38 -SliTaz is a micro GNU/Linux distro using BusyBox, a Linux kernel, and GNU 88.39 -free software. SliTaz also use goodies from the Debian project. The goal of 88.40 -SliTaz is to have a GNU/Linux distro working all in memory (RAM). SliTaz boot 88.41 -with Syslinux, provide more than 200 Linux commands, LightTPD web serveur, 88.42 -SSH server/client powered by Dropbear, rescue tools, X system, and much more 88.43 -{...}. 88.44 - 88.45 -On the system you will find documentation in: /usr/share/doc, and the full 88.46 -GPL license in: /usr/share/licenses. 88.47 - 88.48 - 88.49 -LICENSE 88.50 -------- 88.51 - 88.52 -Copyright (c) 2007 SliTaz GNU/Linux 88.53 - 88.54 -SliTaz is free software; you can redistribute it and/or modify 88.55 -it under the terms of the GNU General Public License as published by 88.56 -the Free Software Foundation; either version 3 of the License, or 88.57 -(at your option) any later version. 88.58 - 88.59 -SliTaz is distributed in the hope that it will be useful, 88.60 -but WITHOUT ANY WARRANTY; without even the implied warranty of 88.61 -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 88.62 -GNU General Public License for more details. 88.63 - 88.64 -You should have received a copy of the GNU General Public License 88.65 -along with SliTaz; if not, write to the Free Software 88.66 -Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA 88.67 - 88.68 - 88.69 -=============================================================================== 88.70 - http://www.slitaz.org/
89.1 Binary file xorg/rootcd/images/header.png has changed
90.1 --- a/xorg/rootcd/index.html Sat Dec 26 11:04:28 2009 +0100 90.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 90.3 @@ -1,64 +0,0 @@ 90.4 -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" 90.5 - "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> 90.6 -<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="fr" lang="fr"> 90.7 -<head> 90.8 - <title>SliTaz GNU/Linux - CD</title> 90.9 - <meta http-equiv="content-type" content="text/html; charset=ISO-8859-1" /> 90.10 - <meta name="description" content="SliTaz documentation book" /> 90.11 - <meta name="expires" content="never" /> 90.12 - <meta name="modified" content="2007-10-07 20:30:00" /> 90.13 - <meta name="publisher" content="www.slitaz.org" /> 90.14 - <meta name="author" content="Christophe Lincoln"/> 90.15 - <link rel="stylesheet" type="text/css" href="style.css" /> 90.16 -</head> 90.17 -<body bgcolor="#ffffff"> 90.18 -<!-- Header --> 90.19 -<div id="header"> 90.20 - <a name="top"></a> 90.21 - <h1>SliTaz GNU/Linux - CD</h1> 90.22 -</div> 90.23 - 90.24 -<!-- Content --> 90.25 -<div id="content"> 90.26 -<h2><font color="#DF8F06">LiveCD informations</font></h2> 90.27 - 90.28 -<h3><font color="#9c2424">Français</font></h3> 90.29 -<p> 90.30 -Bienvenue sur la page d'index d'un cdrom de SliTaz GNU/Linux. Lisez le 90.31 -fichier <a href="README">README</a> pour de plus amples informations, ou 90.32 -démarrez votre ordinateur avec le cdrom dans le lecteur CD ou DVD, pour 90.33 -lancer SliTaz en RAM et sans risques pour la machine hôte. 90.34 -</p> 90.35 - 90.36 -<h3><font color="#9c2424">English</font></h3> 90.37 -<p> 90.38 -Welcome on a SliTaz GNU/Linux cdrom, SliTaz is mostly documented in French, 90.39 -but the full system is available in English. To boot SliTaz from a cdrom, 90.40 -just burn the ISO image onto a blank disc. Then reboot your computer with 90.41 -the disc into your cdrom driver. 90.42 -</p> 90.43 -<p> 90.44 -Have fun!<br /> 90.45 -- SliTaz community 90.46 -</p> 90.47 - 90.48 -</div> 90.49 -<!-- End content --> 90.50 -<hr /> 90.51 -<!-- Footer --> 90.52 -<div align="center" id="footer"> 90.53 -<p> 90.54 -<font size="-1"> 90.55 - <a href="#top">Haut de la page</a> 90.56 -</font> 90.57 -</p> 90.58 -<p> 90.59 -<font size="-1"> 90.60 - Copyright © 2007 <a href="http://www.slitaz.org/">SliTaz</a> - 90.61 - <a href="http://www.gnu.org/licenses/gpl.html">GNU General Public License</a><br /> 90.62 - Code <a href="http://validator.w3.org/">XHTML 1.0 valide</a>. 90.63 -</font> 90.64 -</p> 90.65 -</div> 90.66 -</body> 90.67 -</html>
91.1 --- a/xorg/rootcd/style.css Sat Dec 26 11:04:28 2009 +0100 91.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 91.3 @@ -1,57 +0,0 @@ 91.4 -/* CSS style for SliTaz GNU/Linux generic xHTML files. */ 91.5 -body { 91.6 - font: 90% sans-serif, vernada, arial; 91.7 - margin: 0; 91.8 - } 91.9 -/* Header */ 91.10 -#header{ 91.11 - background: #BFB06B url(images/header.png) repeat-x top; 91.12 - color: black; 91.13 - width: 100%; 91.14 - height: 50px ; 91.15 - border-top: 1px solid black; 91.16 - border-bottom: 1px solid black; 91.17 - } 91.18 -#content { 91.19 - margin: 0px 50px 26px 50px; 91.20 - } 91.21 -#footer { 91.22 - border-top: 1px solid black; 91.23 - } 91.24 -a { 91.25 - text-decoration: underline; 91.26 - } 91.27 -a:hover { 91.28 - text-decoration: none; 91.29 - } 91.30 -h1 { 91.31 - margin: 10px 0px 0px 6px; 91.32 - } 91.33 -h2 { 91.34 - margin: 12px 0; 91.35 - } 91.36 -pre { 91.37 - padding: 5px; 91.38 - color: black; 91.39 - background: #e1e0b0; 91.40 - } 91.41 -pre.script { 91.42 - padding: 10px; 91.43 - color: black; 91.44 - background: #e8e8e8; 91.45 - border: 1px inset #333333; 91.46 -} 91.47 -li { 91.48 - line-height: 1.4em; 91.49 - } 91.50 -code { 91.51 - font-size: 100%; 91.52 - color: #669900; 91.53 - background: transparent; 91.54 - } 91.55 -hr { 91.56 - color: white; 91.57 - background-color: white; 91.58 - height: 1px; 91.59 - border: 0; 91.60 - }