Slitaz -- conky

root@slitaz:~# cat /tmp/gz-weather
白天 多雲 微風小於3級 最高氣溫:17℃
晚間 陣雨 微風小於3級 最低氣溫:25℃
白天 陰 微風小於3級 最高氣溫:16℃
晚間 陰 微風小於3級 最低氣溫:23℃




Slitaz -- dropbox

tux@slitaz:~$ tazpkg info dropbox

Tazpkg information
Package : dropbox
Version : 0.7.97
Category : non-free
Short desc : Dropbox daemon and client fro online storage.
Maintainer :
Depends : python
Web site : http://www.getdropbox.com/

tux@slitaz:~$ tail -n 26 /usr/bin/get-dropbox | head -6
# Symling to have Dropbox in PATH and fake nautilus
cd $PACKAGE-$VERSION/fs/usr/bin
rm -f dropboxd nautilus
ln -s ../lib/dropbox/dropboxd .
ln -s /usr/bin/pcmanfm nautilus

tux@slitaz:~$ ls -l Dropbox
-rw-r--r-- 1 tux tux 1268 Jan 9 14:47 Getting Started.rtf
drwxr-xr-x 3 tux tux 4096 Jan 31 10:31 Photos/
drwxr-xr-x 2 tux tux 4096 Jan 31 11:00 pic/
drwxr-xr-x 2 tux tux 4096 Jan 31 10:31 Public/
drwxr-xr-x 2 tux tux 4096 Jan 31 10:31 slitaz/
drwxr-xr-x 2 tux tux 4096 Jan 31 10:59 新資料夾/

tux@slitaz:~$ python dbreadconfig.py
email = ****@****
host_id =****

tux@slitaz:~$ cd Dropbox/
tux@slitaz:~/Dropbox$ python ~/dropbox.py
Dropbox command-line interface


status get current status of the dropboxd
help provide help
puburl get public url of a file in your dropbox
stop stop dropboxd
start start dropboxd
filestatus get current sync status of one or more files
ls list directory contents with current sync status

tux@slitaz:~/Dropbox$ python ~/dropbox.py status
tux@slitaz:~/Dropbox$ python ~/dropbox.py filestatus
slitaz: up to date
Public: up to date
Getting Started.rtf: up to date
.dropbox: unwatched
Photos: up to date
pic: up to date

tux@slitaz:~/Dropbox$ python ~/dropbox.py ls -l
Getting Started.rtf


How To Install Dropbox In An Entirely Text Based Linux Environment

--ImportError: No module named sqlite--


Slitaz -- stats

Statistics for www.slitaz.org (2009)

Advanced Web Statistics 6.9 (build 1.925) - Created by awstats (plugins: geoipfree)

awstats-6.95.tazpkg 30-Jan-2010 12:29 530K

AWStats logfile analyzer Documentation
This is a fast tip to install Geo-IPfree perl module to be used by AWStats ...



Slitaz 3.0

Roadmap [http://labs.slitaz.org/projects/roadmap/distro]

Due in 58 days (03/20/2010)

SliTaz GNU/Linux 3.0

38 closed (73%) 14 open (27%)

Roadmap 3.0
SliTaz roadmap to Stable Version 3.0 - Release Schedule: Spring 2010

* April 2009 –> September 2009: Massively add new features and packages
* May 2009: Toolchain freeze (glibc, gcc, binutils)
* September 2009 –> December 2009: Finalize package integration, bug squashing session, stabilize new features
* December 2009: Freeze all main package versions (Alsa, GTK, lib*)
* December 2009 –> January 2009: Final tests and integration. Prepare and massively test system upgrade (2.0 to 3.0)
* February 2010: Write the Release Notes to enable translators to do the job
* February-March 2010: Prepare the Website, announce, tag repositories and release 3.0

ISO size and minimal hardware
The core ISO of SliTaz 3.0 will be under 35 Mb and will need 256 Mb to boot and be operable. The project will also continue to improve the loram ISOs and provide some flavors which will boot and still be usable with less than 128 Mb of memory.

Historically the ISO size was around 20 Mb to boot with 128 MB. With 2.0 the minimal RAM to load the core was 160 MB and we provide official flavors or web boot to use SliTaz with less memory. So the goal is always reached: provide a fully featured, fast, light and compact OS for modern hardware, but also usable on older machines.

Increasing the core ISO size will let us have support for UTF-8 and more hardware, we may also include a few more applications.

Toolchain & Kernel
SliTaz 3.0 will have a new toolchain and Kernel. The toolchain will include binutils 2.19.x, glibc 2.9 or 2.10.x and GCC 4.3.x or 4.4.x. The Kernel will include all the new and latest wireless drivers, ethernet drivers, drm modules, LZMA patches and much more.

SliTaz 3.0 will have better internationalization support, the goal is to translate all the slitaz tools, utilities and boxes using GNU gettext standards. Contributors will be able to use graphical tools such as poedit to make translations. The labs also have a i18n project to easily upload files to be included in the distribution. The locale packs will also have more translated application(s) messages for the core system and some extra packages for applications such as Gimp, Abiword, Gnumeric, etc.

SliTaz 3.0 will have full UTF-8 support and will use standard PO files for the translation of all SliTaz related tools, boxes and utilities.

We may also provide an official Asian (at least Chinese) LiveCD flavor. The SliTaz web site is now translated to Chinese and the translation team does a really good job. But including Chinese fonts into the core is not possible if we want to stay under 30 Mb, so having a flavor is the best solution.

Update Xorg to 7.4 or 7.5 if the stable release is published in time for 3.0. Updating Xorg is a huge task and a lot of testing is needed, so we will have packages ready as soon as possible in the cooking repos. With the new version we'll provide support for DRI and more graphics cards. The SliTaz utility to configure a X session (tazx) will be adapted and radically improved. We will also have a new boot option to install Xorg (screen=xorg)

SliTaz boxes
Improve all the SliTaz GTK boxes (wifibox, tazusbbox, mountbox, etc) and code more interfaces to improve desktop user experience. SliTaz 3.0 will ship a box to configure: wbar (wbarbox), crond (new tab in tazctrlbox), ssh-scp (sshbox will replace scpbox and include more features) and more...
Packages integration

SliTaz 3.0 will have the packages database frozen much earlier than 2.0, so more testing can be done and more bugs can be fixed. Packages must also follow the SliTaz philosophy: stripped down, following FHS, no files in /usr/libexec --> /usr/lib/$PACKAGE, provide desktop files and custom configuration files. We must also update the documentation and write howtos. The TAGS variable can (must) also be used, so we can improve search results.

Related issues
* Feature #33: Package for mono
* Feature #53: libungif package needed
* Feature #59: Add more and improve locale pack
* Feature #69: Synaptics touchpsd
* Feature #77: Improve boot scripts
* Feature #84: Add gnomad2 and deps
* Feature #88: Auto detect wireless card
* Feature #90: (Re)enable jpeg support into Gimp
* Feature #96: Readline : New version 6.0 available with mulitbyte supports
* Feature #99: Application par défaut pour compte ROOT ou user créer
* Feature #100: slitaz-installer : home déplacé et source
* Feature #123: Full UTF-8 support
* Feature #128: Add OpenERP
* Feature #149: Add drivers for dialup devices
* Feature #150: Adding unique SliTaz version signature to packages
* Feature #158: clavier virtuel pour Tablet (xvkbd)
* Task #57: Build a new toolchain
* Task #68: hungarian locale pack
* Task #104: Have all SliTaz config in /etc/slitaz
* Task #105: Update Xorg
* Task #134: usb device /dev/bus/usb/*/* only accessible to root
* Task #135: many pkgs, which worked well, will now fail to compile with glibc 2.10


Slitaz -- xterm / gcin

*faceNameDoublesize:WenQuanYi Bitmap Song-9

root@slitaz:~# diff -U0 XTerm XTerm-cn
--- XTerm Wed Sep 23 13:24:39 2009
+++ XTerm-cn Sat Jan 16 15:04:02 2010
@@ -4 +4 @@
+*faceNameDoublesize:WenQuanYi Bitmap Song-9
root@slitaz:~# head XTerm-cn
! $XTermId: XTerm.ad,v 1.88 2009/02/13 00:14:13 tom Exp $

*saveLines: 1024
*faceNameDoublesize:WenQuanYi Bitmap Song-9
*SimpleMenu*BackingStore: NotUseful
*SimpleMenu*menuLabel.font: -adobe-helvetica-bold-r-normal--*-120-*-*-*-*-iso8859-*
*SimpleMenu*menuLabel.vertSpace: 100
*SimpleMenu*HorizontalMargins: 16
*SimpleMenu*Sme.height: 16


GCIN official homepage

gcin 是 Edward Liu 開發的新一代中文輸入引擎,支援詞音(智慧注音、智能拼音)、倉頡、注音、大易、行列、嘸蝦米、大新倉頡、帶調粵拼、內碼等輸入法,可在 GNU/Linux、BSD、Mac OS X 等作業系統使用,是目前台灣最受歡迎的輸入引擎之一。

GCIN is an input method server developed by Edward Liu. It supports various input methods and all Unix-like operating systems.

root@slitaz:~# date
二 1月 19 23:46:04 UTC 2010
root@slitaz:~# uname -a
Linux slitaz #1 SMP Fri Sep 25 23:24:33 CEST 2009 i686 unknown
root@slitaz:~# fc-list
WenQuanYi Bitmap Song:style=Regular
DejaVu Sans:style=Bold
DejaVu Sans:style=Book
DejaVu Sans Mono:style=Book
root@slitaz:~# /lib/libc.so.6
GNU C Library stable release version 2.10.1, by Roland McGrath et al.
Copyright (C) 2009 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.
There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A
Compiled by GNU CC version 4.4.1.
Compiled on a Linux >><< system on 2009-09-20.
Available extensions:
crypt add-on version 2.1 by Michael Glad and others
Native POSIX Threads Library by Ulrich Drepper et al
For bug reporting instructions, please see:

root@slitaz:~# tazpkg info gcin

Tazpkg information
Package : gcin
Version : 1.4.2
Category : utilities
Short desc : a GTK+ based input method platform for Chinese users
Maintainer : alanyih
Depends : xorg-libXtst bash
Web site : http://cle.linux.org.tw/trac

root@slitaz:~# head -10 /usr/share/doc/gcin-1.4.2/Changelog
** UTF-8 encoding **
- 詞音空白鍵選項設定成輸入空白時,選字會選錯的問題。
- 詞音使用 CapsLock 切換中英時,大小寫不對的問題。

- 現在可以用 mouse 在預選詞的視窗點選,主要給小朋友用。
- 中文輸入狀態按 Shfit + abc 改成輸入大寫。
- tray 上面的選單現在可以切換是否要念出發音 & 也可以切換小鍵盤。
- firefox 3.0/gnome-terminal 關閉 coredump 的問題。


Slitaz -- xorg / intel

root@slitaz:~# tazpkg get-install xorg-xf86-video-intel

root@slitaz:~# tazpkg get-install linux-agp

root@slitaz:~# modprobe intel-agp

root@slitaz:~# lsmod | grep intel_agp
intel_agp 23032 1
agpgart 25980 2 intel_agp

root@slitaz:~# X -configure
Your xorg.conf file is /root/xorg.conf.new

To test the server, run 'X -config /root/xorg.conf.new'

root@slitaz:~# X -config /root/xorg.conf.new

root@slitaz:~# cp /root/xorg.conf.new /etc/X11/xorg.conf

root@slitaz:~# /etc/init.d/slim start

root@slitaz:~# tazx

xorg Install Xorg ---> intel-driver

root@slitaz:~# head -5 /usr/bin/tazx
# Tazx - Ncurses X configuration for SliTaz GNU/Linux using Dialog boxes.
# This tinyutils is part of slitaz-tools. Tazx can configure Xvesa kdrive
# and Xorg with several Window Manager.

Slitaz -- kernel_thread_helper

SliTaz Snow LiveCD flavors [http://mirror.switch.ch/ftp/mirror/slitaz/iso/cooking-snow/]

Except the desktop flavor all flavors use Xorg as graphical server with adapted boot scripts, Tiny Xvesa server as been dropped upstream so it means we will have to switch to Xorg one day. With Xorg, screen size is autodetected at boot and can be modified on the fly, keyboard can also be changed on the fly with setxkbmap.
* slitaz-xorg.iso [25.0M] - Full featured desktop environment using Xorg server and providing a nice range of software for daily tasks.

Re: Tazlito with Kernel from latest cooking
[(c016080c)] ? alloc_vmap_area+0x168/0x197
[(c0114df4)] bad_area_nosemaphore+0xd/0x10
[(c011500a)] do_page_fault+0xe1/0x1de
[(c0114f29)] ? do_page_fault+0x0/0x1de
[(c0423b4d)] error_code+0x6d/0x74
[(c05v9342)] ? unlzma+x0xcfa/0xe8e
[(c0101546)] ? fill_buffer+0x0/0xa9
[(c05a2cf2)] unpack_to_rootfs+0x1ee/0x303
[(c05a2830)] ? cpio_flush_buffer+0x0/0x8a
[(c05a2659)] ? error+0x0/0x13
[(c05a2e07)] ? populate_rootfs+0x0/0x229
[(c05a2e5e)] populate_rootfs+0x57/0x229
[(c05c8067)] ? af_unix_init+0x0/0x47
[(c019a4a2)] ? proc_net_fops_create+0x1a/0x1f
[(c03e9645)] ? unix_net_init+0x31/0x4b
[(c039c6fa)] ? register_pernet_operations+0x13/0x15
[(c039c7d3)] ? register_pernet_subsys+0x28/0x2d
[(c0101139)] do_one_initcall+0x4c/0x13a
[(c05a12db)] kernel_init+0x106/0x157
[(c05a11d5)] ? kernel_init+0x0/0x157
[(c01038e7)] kernel_thread_helper+0x7/0x10


Slitaz -- pcsc_scan / perl

undefined symbol: Perl_Gthr_key_ptr

Can't locate Chipcard/PCSC/Card.pm in @INC (@INC contains: /usr/lib/perl5/5.10.0/i686-linux /usr/lib/perl5/5.10.0 /usr/lib/perl5/site_perl/5.10.0/i686-linux /usr/lib/perl5/site_perl/5.10.0 .) at /usr/bin/ATR_analysis line 47.
BEGIN failed--compilation aborted at /usr/bin/ATR_analysis line 47.

perl: symbol lookup error: /usr/lib/perl5/5.10.0/i686-linux/auto/Chipcard/PCSC/PCSC.so: undefined symbol: Perl_Gthr_key_ptr

root@slitaz:/usr/src/pcsc-perl-1.4.8# perl Makefile.PL

root@slitaz:/usr/src/pcsc-perl-1.4.8# make

root@slitaz:/usr/src/pcsc-perl-1.4.8# make install
make[1]: Entering directory `/usr/src/pcsc-perl-1.4.8/Card'
make[1]: Leaving directory `/usr/src/pcsc-perl-1.4.8/Card'
Files found in blib/arch: installing files in blib/lib into architecture dependent library tree
Installing /usr/lib/perl5/site_perl/5.10.0/i686-linux/auto/Chipcard/PCSC/PCSC.so
Installing /usr/lib/perl5/site_perl/5.10.0/i686-linux/auto/Chipcard/PCSC/PCSC.bs
Installing /usr/lib/perl5/site_perl/5.10.0/i686-linux/Chipcard/PCSC.pod
Installing /usr/lib/perl5/site_perl/5.10.0/i686-linux/Chipcard/PCSC.pm
Installing /usr/lib/perl5/site_perl/5.10.0/i686-linux/Chipcard/PCSC/Card.pm
Installing /usr/lib/perl5/site_perl/5.10.0/i686-linux/Chipcard/PCSC/Card.pod
Writing /usr/lib/perl5/site_perl/5.10.0/i686-linux/auto/Chipcard/PCSC/.packlist
Appending installation info to /usr/lib/perl5/5.10.0/i686-linux/perllocal.pod

root@slitaz:~# tazpkg list-files libpcsc-perl

Installed files with : libpcsc-perl
18 files installed with libpcsc-perl.




Slitaz -- bootlog

root@slitaz:~# uname -a
Linux slitaz #1 SMP Mon Nov 30 14:16:13 CET 2009 i686 unknown
root@slitaz:~# cat /var/log/boot.log | sed "s/.\[3g.*\]R//" | tail
Restoring last alsa configuration... [ OK ]
Starting local startup commands...
Starting all daemons specified in /etc/rcS.conf...
Starting message bus daemon: DBUS... [ OK ]
Starting Hardware Abstraction Layer: HAL... [ OK ]
Setting up kernel security rules... [ OK ]
Iptables rules are disabled in: /etc/firewall.conf...
Starting slim login manager: Slim... [ OK ]
Welcome to your box.
SliTaz boot time: 6s

changeset 187:c9296cbaaafa
rcS: log execution time for slitaz boot scripts
author Christophe Lincoln
date Tue Dec 22 12:10:13 2009 +0100 (2 months ago)
parents c9e9d25f04a3
children 7512d6d48538
files etc/init.d/rcS
line diff

1.1 --- a/etc/init.d/rcS Tue Dec 22 12:07:43 2009 +0100
1.2 +++ b/etc/init.d/rcS Tue Dec 22 12:10:13 2009 +0100
1.3 @@ -8,6 +8,9 @@
1.4 . /etc/init.d/rc.functions
1.5 . /etc/rcS.conf
1.7 +# Boot time.
1.8 +bootdate=`date +%s`
1.9 +
1.10 if [ "$1" != "logged" ]; then # logged
1.12 echo "Processing /etc/init.d/rcS..."
1.13 @@ -244,4 +247,9 @@
1.14 echo -e "\033[1m$MESSAGE\033[0m"
1.15 fi
1.17 +# Display and log boot time.
1.18 +time=$((`date +%s` - $bootdate))
1.19 +echo $time > /var/log/boot-time
1.20 +echo "SliTaz boot time: ${time}s"
1.21 +
1.22 fi # logged