2016-02-24

hidden file/directory


hidden file/directory

if [ ! -d /home/$USER ]; then
mkdir -p /home/$USER
cp -a /etc/skel/* /home/$USER

chown -R $USER:users /home/$USER
fi


should be "cp -a /etc/skel /home/$USER"


1.
root@slitaz:~ # mkdir -p /home/test

root@slitaz:~ # cp -a /etc/skel/* /home/test

root@slitaz:~ # ls -a /home/test
. Desktop Downloads Music Templates
.. Documents Images Public Videos


2.
root@slitaz:~ # ls -a /etc/skel
. Documents .isomaster Templates
.. Downloads .local Videos
.bashrc .gtk-bookmarks .mhwaveedit .Xdefaults
.cache .gtkrc-2.0 Music .xinitrc
.config .gtkrc-2.0.mine .profile .Xresources
Desktop Images Public .xsession


3.
root@slitaz:~ # cp -a /etc/skel /home/temp

root@slitaz:~ # ls -a /home/temp
. Documents .isomaster Templates
.. Downloads .local Videos
.bashrc .gtk-bookmarks .mhwaveedit .Xdefaults
.cache .gtkrc-2.0 Music .xinitrc
.config .gtkrc-2.0.mine .profile .Xresources
Desktop Images Public .xsession
root@slitaz:~ #

SliTaz Live USB - Version: 186

SliTaz Live USB - Version: 186



slitaz-rolling-core64.iso 2016-Feb-21 02:11:19

the same as before
Failed to execute login command
login: can't change directory to '/home/tux/'
ls: /home/tux: No such file or directory
tux@slitaz:/$ tazusb | head -1
SliTaz Live USB - Version: 186

2016-02-19

tazusb writefs lzma


Failed to execute login command

login: can't change directory to '/home/tux/'

ls: /home/tux: No such file or directory



1. boot from slitaz-rolling-core64.iso (2016-Feb-14 20:42:57)


2. rootfs.gz: # tazusb writefs lzma
bzImage64: extract from slitaz-rolling-core64.iso


3. autologin gui mode
Failed to execute login command



4. login text mode
login: can't change directory to '/home/tux/'

tux@slitaz:/$ ls -l /home/tux
ls: /home/tux: No such file or directory



2016-02-16

slitaz-rolling-core64.iso 2016-Feb-14 20:42:57



slitaz-rolling-core64.iso 2016-Feb-14 20:42:57


1.
Activity
http://cook.slitaz.org/cookiso.cgi

2016-02-14 19:30 : Building rolling core64
2016-02-14 19:20 : Building rolling core
2016-02-14 19:04 : Building rolling core-4in1
2016-02-14 19:02 : Building rolling preinit
2016-02-14 19:02 : Rolling tracking for changes
2016-02-14 01:59 : Building rolling core64
2016-02-14 01:48 : Building rolling core
2016-02-14 00:57 : Building rolling core-4in1
2016-02-14 00:51 : Building rolling preinit
2016-02-14 00:51 : Rolling tracking for changes

+58969a5001f853de176b30b3edf1ab53  linux64-3.2.71.tazpkg

2.
tux@slitaz:~$ uname -a
Linux slitaz 3.2.71-slitaz64 #2 SMP Sat Feb 13 22:41:08 Europe 2016 x86_64 GNU/Linux


3.
tux@slitaz:~$ lsmod
Module Size Used by Not tainted
ipv6 226481 13
ppdev 4870 0
floppy 49327 0
parport_pc 17570 0
parport 26967 2 ppdev,parport_pc
e1000 86267 0
button 4167 0

tux@slitaz:~$ ls -l /lib/modules/3.2.71-slitaz64/modules.dep
-rw-r--r-- 1 root root 75825 Feb 14 19:35 /lib/modules/3.2.71-slitaz64/modules.dep


4.
tux@slitaz:~$ lspci -v | tail -9
00:03.0 Ethernet controller: Intel Corporation 82540EM Gigabit Ethernet Controller (rev 03)
Subsystem: Red Hat, Inc QEMU Virtual Machine
Flags: bus master, fast devsel, latency 0, IRQ 11
Memory at febc0000 (32-bit, non-prefetchable) [size=128K]
I/O ports at c000 [size=64]
Expansion ROM at feb80000 [disabled] [size=256K]
Kernel driver in use: e1000

tux@slitaz:~$


5.
Setup aufs chroot...
http://cook.slitaz.org/cooker.cgi?pkg=linux

Cook: linux64 3.2.71
================================================================================
QA: checking package receipt...
Disabling -pipe compile flag: 332888 RAM free
================================================================================


Pack: linux64 3.2.71
================================================================================
Executing: genpkg_rules

Checking for modules selected in .config but not in linux-* pkgs
======================================================================
Orphan module: virtio.ko.xz
Orphan module: virtio_ring.ko.xz
Orphan module: virtio_console.ko.xz
Orphan module: i2c-dev.ko.xz
Orphan module: cpuid.ko.xz
======================================================================
Check linux/tmp/unpackaged-modules-3.2.71.list for mod path

Copying "receipt"... Done
Executing strip on all files... Done
Creating the list of files... Done
Creating md5sum of files... Done
Compressing the FS... Done
Updating receipt sizes... Done
Creating full cpio archive... Done
Restoring original package tree... Done
QA: checking for empty package... Done
Removing old package "linux64-3.2.71.tazpkg" Done
================================================================================
Package "linux64-3.2.71.tazpkg" created

Summary for: linux64 3.2.71
================================================================================
Source dir : 20.0K
Packed : 9.0M
Compressed : 6.2M
Files : 309
Cook time : 335s ~ 6m
Cook date : 2016-02-14 02:08
Host arch : i486
================================================================================

Leaving aufs chroot...

2016-02-14

ifconfig: SIOCGIFFLAGS: No such device -- core64


ifconfig: SIOCGIFFLAGS: No such device

slitaz-rolling-core64.iso 2016-Feb-14


1.
Loading network settings from /etc/network.conf
[0;33mSetting hostname to: slitaz [0m[ Done
[0;33mConfiguring loopback... [0m[ Done
ifconfig: SIOCGIFFLAGS: No such device
Starting udhcpc client on: eth0...
udhcpc: SIOCGIFINDEX: No such device

Processing: /etc/init.d/local.sh
Starting X environment...
Starting message bus daemon: DBUS... [ Done
Starting all daemons...
Setting up kernel security rules... [ Done
WARNING: IPtables rules are disabled
Starting inetd deamon: inetd... [ Done
Starting ntpd deamon: ntpd... ntpd: bad address 'pool.ntp.org'
[ Done

Welcome to your box


2.
tux@slitaz:~$ grep RC4 /media/cdrom/boot/isolinux/isolinux.cfg
MENU TITLE SliTaz GNU/Linux - 5.0-RC4 20160214


3.
tux@slitaz:~$ ifconfig eth0
ifconfig: eth0: error fetching interface information: Device not found


tux@slitaz:~$ lspci -v | grep -A7 Ethernet
00:03.0 Ethernet controller: Intel Corporation 82540EM Gigabit Ethernet Controller (rev 03)
Subsystem: Red Hat, Inc QEMU Virtual Machine
Flags: fast devsel, IRQ 11
Memory at febc0000 (32-bit, non-prefetchable) [size=128K]
I/O ports at c000 [size=64]
Expansion ROM at feb80000 [disabled] [size=256K]


4.
tux@slitaz:~$ lsmod
Module Size Used by Not tainted

tux@slitaz:~$ ls -l /lib/modules/3.2.71-slitaz64/modules.dep
-rw-r--r-- 1 root root 0 Feb 14 01:59 /lib/modules/3.2.71-slitaz64/modules.dep
tux@slitaz:~$

2016-02-13

MSM8916-OTG


MSM8916-OTG

1. Vodafone VF-895N
http://specdevice.com/showspec.php?id=6b28-515b-ffff-ffffb104159b

Communications
Phone GSM; Net: HSPA
WiFi wlan; IEEE 802.11 b/g/n; Qualcomm 8916 Snapdragon 410; AP Mode
USB Host Yes
Bluetooth Bluetooth 4.0
GPS Yes


2. UtorCase for Vodafone Smart prime 6 and Xbox or Playstation controller
http://utorcase.com/devices/vodafone-smart-prime-6#.VrKsj8u2FFQ

Device Image:

Dimensions:
141.7 x 71.9 x 9 mm (5.58 x 2.83 x 0.35 in)
Brand:
Vodafone
USB On-The-Go or USB Host Enabled:
Yes

Keyword:
SMART
Prime
6
Short Name:
VSp6
Sold on SW:
No
Weight (g):
155


3. ASUS ZE500KL / Z00E

Linux localhost 3.10.49-perf-gd1c5ee8 #1 SMP PREEMPT Mon Oct 26 16:13:26 CST 2015 aarch64 GNU/Linux


2016-02-03

lxpanel - Solid color (with opacity)



Solid color (with opacity)

Solution: install "clearlooks-colors" package:
1. Use background AND font color:
2. Don't use background AND don't use font color:
http://forum.slitaz.org/topic/slitaz-next/page/3#post-41493

Try:

1. Download and boot slitaz-rolling-core64-20160124.iso 2016-Jan-24
https://goo.gl/jyJHOX

2. CLICk ‘Solid color (with opacity)’




----

Distro: rolling-core64
http://cook.slitaz.org/cookiso.cgi?distro=rolling-core64

Description: 64 bits kernel with a fully featured 32 bits desktop.

Summary

Build time : 738s ~ 12m
Build date : 20160131
Packages : 291

Rootfs size : 188.4M
ISO image size : 52.0M

Cookiso log

Cookiso started: 2016-01-30 23:57
Creating flavor core64.. Done ]
[..]
Installing package: gtk+-2.24.24.tazpk Done ]
Installing package: gtk-clearlooks-2.20.2.tazpkgsed: /home/slitaz/distro/rootfs/usr/share/themes/SliTaz*/gtk-2.0/gtkrc: No such file or directory
sed: /home/slitaz/distro/rootfs/usr/share/themes/SliTaz*/gtk-2.0/gtkrc: No such file or directory
sed: /home/slitaz/distro/rootfs/usr/share/themes/SliTaz*/gtk-2.0/gtkrc: No such file or directory
sed: /home/slitaz/distro/rootfs/usr/share/themes/SliTaz*/gtk-2.0/gtkrc: No such file or directory
[ Done ]
Installing package: clearlooks-colors-2.22.tazpk Done ]
Installing package: clearlooks-compact-1.5.tazpk Done ]

Installing package: gtkdialog-0.8.2.tazpk Done ]
Installing package: gtkmm-2.24.4.tazpk Done ]