WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: icewm - missing config files  (Read 4646 times)

Offline RYTCL

  • Jr. Member
  • **
  • Posts: 55
icewm - missing config files
« 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.
“Success is not the key to happiness, happiness is the key to success.  If you love what you are doing, you will be successful.”

Offline RYTCL

  • Jr. Member
  • **
  • Posts: 55
Re: icewm - missing config files
« Reply #1 on: November 29, 2020, 05:37:03 PM »
At bootup ICEWM complains about missing files.   Exact error message,  I cannot capture.   
“Success is not the key to happiness, happiness is the key to success.  If you love what you are doing, you will be successful.”

Offline RYTCL

  • Jr. Member
  • **
  • Posts: 55
Re: icewm - missing config files
« Reply #2 on: November 29, 2020, 05:57:32 PM »
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

 
“Success is not the key to happiness, happiness is the key to success.  If you love what you are doing, you will be successful.”

Offline Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11619
Re: icewm - missing config files
« Reply #3 on: November 29, 2020, 10:00:53 PM »
Hi RYTCL
I think I see what the problem is.

What does this command return:
Code: [Select]
ls -l /etc/sysconfig/tcedir | grep copy2fs

Offline RYTCL

  • Jr. Member
  • **
  • Posts: 55
Re: icewm - missing config files
« Reply #4 on: November 29, 2020, 10:15:01 PM »
I have enabled persistent HOME & OPT

Code: [Select]
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

Code: [Select]
/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

Code: [Select]
/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


“Success is not the key to happiness, happiness is the key to success.  If you love what you are doing, you will be successful.”

Offline Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11619
Re: icewm - missing config files
« Reply #5 on: November 29, 2020, 10:19:14 PM »
Hi RYTCL
... There is a copy2fs.flg file with 0 Bytes ...
That's what I figured. I'll fix the extensions.

Offline Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11619
Re: icewm - missing config files
« Reply #6 on: November 29, 2020, 10:24:18 PM »
Hi RYTCL
... TCEDIR is linked to /mnt/sda9/tce

Code: [Select]
/etc/sysconfig/tcedir -> /mnt/sda9/tce
$>  ls -l /etc/sysconfig/tcedir | grep copy2fs

Result : No Output ...
Shame on me. That should have been:
Code: [Select]
ls -l /etc/sysconfig/tcedir/ | grep copy2fsThen it would have shown up.

Offline Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11619
Re: icewm - missing config files
« Reply #7 on: November 29, 2020, 11:50:06 PM »
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:
Code: [Select]
/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:
Code: [Select]
/usr/local/share/icewm/

Offline RYTCL

  • Jr. Member
  • **
  • Posts: 55
Re: icewm - missing config files
« Reply #8 on: November 30, 2020, 04:25:42 AM »
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 ?

“Success is not the key to happiness, happiness is the key to success.  If you love what you are doing, you will be successful.”

Offline jazzbiker

  • Hero Member
  • *****
  • Posts: 934
Re: icewm - missing config files
« Reply #9 on: November 30, 2020, 04:41:53 AM »
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.

Offline RYTCL

  • Jr. Member
  • **
  • Posts: 55
Re: icewm - missing config files
« Reply #10 on: November 30, 2020, 04:45:56 AM »
I was able to change the CLOCK FORMAT by setting it in ~/.icewm/preferences  ::
TimeFormat="%a %b %Y-%m-%d %H:%M:%S"

“Success is not the key to happiness, happiness is the key to success.  If you love what you are doing, you will be successful.”

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14815
Re: icewm - missing config files
« Reply #11 on: November 30, 2020, 06:03:15 AM »
Is there an extension to control Screen BRIGHTNESS ?

You may be able to do someting analagous to this:
Code: [Select]
$ echo 500 | sudo tee /sys/class/backlight/intel_backlight/brightness
Where the maximum allowable brightness can be found at:
Code: [Select]
$ cat /sys/class/backlight/intel_backlight/max_brightness
937

Some window managers (gnome-session) might offer a gui widget.

Offline RYTCL

  • Jr. Member
  • **
  • Posts: 55
Re: icewm - missing config files
« Reply #12 on: November 30, 2020, 08:08:53 AM »
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 ?

“Success is not the key to happiness, happiness is the key to success.  If you love what you are doing, you will be successful.”

Offline Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11619
Re: icewm - missing config files
« Reply #13 on: November 30, 2020, 08:38:34 AM »
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

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14815
Re: icewm - missing config files
« Reply #14 on: November 30, 2020, 12:04:21 PM »
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.