ldd :
LD_TRACE_LOADED_OBJECTS=1 /lib/ld*.so $@
root@slitaz:~# which ldd
/usr/bin/ldd
root@slitaz:~# cat /usr/bin/ldd
#!/bin/sh
#
# Tiny ldd fake.
# (c) 2010 SliTaz GNU/Linux.
#
echo ""
LD_TRACE_LOADED_OBJECTS=1 /lib/ld*.so $@
echo ""
root@slitaz:~# tazpkg search-pkgname ldd
Search result for file : ldd
================================================================================
asterisk
catalyst
glibc-dev
slitaz-base-files
zsh
================================================================================
5 pkg(s) found with file : ldd
root@slitaz:~# tazpkg list-files slitaz-base-files | grep ldd
/usr/bin/ldd
root@slitaz:~#
root@slitaz:~# ldd /bin/cpio
linux-gate.so.1 => (0xffffe000)
librt.so.1 => /lib/librt.so.1 (0xb8022000)
libc.so.6 => /lib/libc.so.6 (0xb7ebc000)
libpthread.so.0 => /lib/libpthread.so.0 (0xb7ea3000)
/lib/ld-linux.so.2 => /lib/ld-2.10.1.so (0xb802c000)
root@slitaz:~# LD_TRACE_LOADED_OBJECTS=1 /lib/ld*.so $@ /bin/cpio
linux-gate.so.1 => (0xffffe000)
librt.so.1 => /lib/librt.so.1 (0xb7f55000)
libc.so.6 => /lib/libc.so.6 (0xb7def000)
libpthread.so.0 => /lib/libpthread.so.0 (0xb7dd6000)
/lib/ld-linux.so.2 => /lib/ld-2.10.1.so (0xb7f5f000)
root@slitaz:~# LD_TRACE_LOADED_OBJECTS=1 /lib/ld*.so $@
Usage: ld.so [OPTION]... EXECUTABLE-FILE [ARGS-FOR-PROGRAM...]
You have invoked `ld.so', the helper program for shared library executables.
This program usually lives in the file `/lib/ld.so', and special directives
in executable files using ELF shared libraries tell the system's program
loader to load the helper program from this file. This helper program loads
the shared libraries needed by the program executable, prepares the program
to run, and runs it. You may invoke this helper program directly from the
command line to load and run an ELF executable file; this is like executing
that file itself, but always uses this helper program from the file you
specified, instead of the helper program file specified in the executable
file you run. This is mostly of use for maintainers to test new versions
of this helper program; chances are you did not intend to run this program.
--list list all dependencies and how they are resolved
--verify verify that given object really is a dynamically linked
object we can handle
--library-path PATH use given PATH instead of content of the environment
variable LD_LIBRARY_PATH
--inhibit-rpath LIST ignore RUNPATH and RPATH information in object names
in LIST
--audit LIST use objects named in LIST as auditors
root@slitaz:~#
2010-05-10
2010-05-09
Slitaz -- Desktop Wallpaper


Desktop Wallpaper
A.
menu --> preferences --> Desktop Wallpaper
B.
default:
root@slitaz:~# tail -5 ~/.config/openbox/autostart.sh
# Set a background image using hsetroot (depends on imlib2).
#hsetroot -fill /usr/share/images/slitaz-background.png &
# Background color with xsetroot.
#xsetroot -solid "#222222" &
root@slitaz-3:~# ls /usr/share/images/slitaz*
/usr/share/images/slitaz-background.jpg
root@slitaz:~#
1. enable hsetroot
vi ~/.config/openbox/autostart.sh
hsetroot -fill /usr/share/images/heron.jpg &
2. tazpkg get-install hsetroot
.
Slitaz -- numlock
numlock
vi /etc/slim.conf
numlock on
root@slitaz:~# cat /etc/slim.conf | grep numlock
# Activate numlock when slim starts. Valid values: on|off
# numlock on
root@slitaz:~#
.
vi /etc/slim.conf
numlock on
root@slitaz:~# cat /etc/slim.conf | grep numlock
# Activate numlock when slim starts. Valid values: on|off
# numlock on
root@slitaz:~#
.
Slitaz -- lighttpd
Lighttpd Enhanced Directory Listing Script
Env: packages-3.0.iso
lighttpd-1.4.26
php-5.2.11
root@slitaz:/var/www/packages/3.0# head index.php
$VERSION = "0.2-slitaz";
/* Lighttpd Enhanced Directory Listing Script
* ------------------------------------------
* Authors: Evan Fosmark
* Pascal Bellard
*
*
root@slitaz:/var/www/packages/3.0# tail -14 index.php
// Print ending stuff
print "