Tiny Core Linux
Tiny Core Extensions => TCE Talk => Topic started by: RYTCL on November 29, 2020, 05:33:09 PM
-
During BOOTUP, ICEWM display 4-6 error messages
/tmp/tcloop/icewm/..../preferences
/tmp/tcloop/icewm/..../taskbar
& others
I did delete all of the following ICEWM packages through APPS and added them back using tce-ab utility.
- icewm-doc.tcz
- icewm-help.tcz
- icewm-list.tcz
- icewm-locale.tcz
- icewm-themes.tcz
- icewm.tcz
I am unable to change the desktop look & feel due to the missing files.
-
At bootup ICEWM complains about missing files. Exact error message, I cannot capture.
-
ERROR messages reproduced using my my Phone to take a snapshot...
cp: can't stat '/tmp/tcloop/icewm/usr/local/share/icewm/preferences'; No such file or directory
cp: can't stat '/tmp/tcloop/icewm/usr/local/share/icewm/toolbar'; No such file or directory
cp: can't stat '/tmp/tcloop/icewm/usr/local/share/icewm/keys'; No such file or directory
cp: can't stat '/tmp/tcloop/icewm-list/usr/local/share/icewm-list/icewm.lst'; No such file or directory
-
Hi RYTCL
I think I see what the problem is.
What does this command return:
ls -l /etc/sysconfig/tcedir | grep copy2fs
-
I have enabled persistent HOME & OPT
menuentry ' 0. TinyCore 11.1 - SDA9 ' {
set root=(hd0,gpt9)
echo 'A..... Loading TinyCore VMLINUZ64 .....'
linux /tce/boot/vmlinuz64 waitusb:15=LABEL=TinyCore \
tce=LABEL=TinyCore loglevel=3 showapps pause \
noswap laptop home=sda9 opt=sda9
# debug
echo 'B..... Loading TinyCore COREPURE64.gz .....'
initrd /tce/boot/corepure64.gz
echo 'C..... Booting TinyCore 11.1 .....'
}
TCEDIR is linked to /mnt/sda9/tce
/etc/sysconfig/tcedir -> /mnt/sda9/tce
$> ls -l /etc/sysconfig/tcedir | grep copy2fs
Result : No Output
There is a copy2fs.flg file with 0 Bytes
/mnt/sda9/tce> ls -al /mnt/sda9/tce
total 17552
drwxrwxr-x 5 tc staff 4096 Nov 29 16:04 .
drwxr-xr-x 6 root root 4096 Nov 28 14:36 ..
drwxrwxr-x 3 tc staff 4096 Nov 25 00:26 boot
-rw-rw-r-- 1 tc staff 0 Nov 25 14:35 copy2fs.flg
-rw-rw---- 1 tc staff 0 Nov 25 01:32 firstrun
-rw-rw-r-- 1 tc staff 1737 Nov 29 19:37 mydata.tgz
-rw-rw-r-- 1 tc staff 500 Nov 29 19:38 onboot.lst
drwxrwxr-x 2 tc staff 4096 Nov 25 00:32 ondemand
drwxrwxr-x 3 tc staff 20480 Nov 29 19:08 optional
-rw--w---- 1 tc staff 17927535 Nov 29 09:28 provides.db
-rw-rw-r-- 1 tc staff 0 Nov 25 00:44 xwbar.lst
-
Hi RYTCL
... There is a copy2fs.flg file with 0 Bytes ...
That's what I figured. I'll fix the extensions.
-
Hi RYTCL
... TCEDIR is linked to /mnt/sda9/tce
/etc/sysconfig/tcedir -> /mnt/sda9/tce
$> ls -l /etc/sysconfig/tcedir | grep copy2fs
Result : No Output ...
Shame on me. That should have been:
ls -l /etc/sysconfig/tcedir/ | grep copy2fs
Then it would have shown up.
-
Hi RYTCL
I fixed icewm.tcz and icewm-list.tcz. Update your extensions and let me know how it goes.
The issue was the tce.installed scripts contained paths in this format:
/tmp/tcloop/icewm/usr/local/share/icewm/
There is no /tmp/tcloop/ for extensions loaded using one of the copy2fs files. The path should look like this:
/usr/local/share/icewm/
-
Thanks - that worked.
My current ICEWM-> Themes : WIn95
Questions:
1. I can pick the Date/Time format on the Taskbar to 'Date". But, setting disappears on reboot or Restart-ICEWM.
2. I see ERROR message during BOOT : sleep: Invalid Number 'LABEL=TinyCore'
3. Is there an extension to control Screen BRIGHTNESS ?
-
Hi, RYTCL!
2. I see ERROR message during BOOT : sleep: Invalid Number 'LABEL=TinyCore'
Probably You make some mistakes in Your waitusb= definition in Your bootloder config file. My guess is that You've missed immediate delay value, or maybe some delimiters.
-
I was able to change the CLOCK FORMAT by setting it in ~/.icewm/preferences ::
TimeFormat="%a %b %Y-%m-%d %H:%M:%S"
-
Is there an extension to control Screen BRIGHTNESS ?
You may be able to do someting analagous to this: $ echo 500 | sudo tee /sys/class/backlight/intel_backlight/brightness
Where the maximum allowable brightness can be found at: $ cat /sys/class/backlight/intel_backlight/max_brightness
937
Some window managers (gnome-session) might offer a gui widget.
-
jazzbiker, Thanks for pointing it out.
SLEEP - Invalid Number FIX :: waitusb:15=LABEL=TinyCore ==>> waitusb=15:LABEL=TinyCore
What can we say... TinyCore is very picky with characters :)
Juanito, regarding BRIGHTNESS control, folder "/sys/class/backlight/" is empty. Do I need to install additional extensions ?
-
Hi RYTCL
... What can we say... TinyCore is very picky with characters :) ...
Hey, this is Linux, not high school. Spelling, punctuation, and capitalization all count. :o
-
Juanito, regarding BRIGHTNESS control, folder "/sys/class/backlight/" is empty. Do I need to install additional extensions ?
You could try exiting to the console prompt and loading either graphics-KERNEL and/or xf86-video-*, where * is your graphics hardware.
-
Juanito - Thanks. I am now able to control screen brightness.