WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: tcwbarconf changes are not permanent  (Read 6800 times)

Offline emninger

  • Sr. Member
  • ****
  • Posts: 267
tcwbarconf changes are not permanent
« on: November 06, 2015, 03:32:22 PM »
When i change something in ControlPanel > tcwbarconf the changes are instantanely effective but after the next reboot they disappear. How can i make them permanent?

TIA

Offline curaga

  • Administrator
  • Hero Member
  • *****
  • Posts: 11021
Re: tcwbarconf changes are not permanent
« Reply #1 on: November 06, 2015, 04:16:03 PM »
They change a hidden file in your home dir, so do a backup.
The only barriers that can stop you are the ones you create yourself.

Offline emninger

  • Sr. Member
  • ****
  • Posts: 267
Re: tcwbarconf changes are not permanent
« Reply #2 on: November 06, 2015, 04:35:05 PM »
They change a hidden file in your home dir, so do a backup.

I do on any shutdown/reboot a backup!

The involved hidden file is ".wbar" which in reality is a symlink to /usr/local/tce.icons. Might it be that way that the original file keeps its settings (since not included in the backup scheme) and there after the next restart "overrules" the changes in ".wbar"?

Offline curaga

  • Administrator
  • Hero Member
  • *****
  • Posts: 11021
Re: tcwbarconf changes are not permanent
« Reply #3 on: November 07, 2015, 07:25:12 AM »
The settings are stored in ~/.wbarconf, and applied on reboot to the non-persistent tce.icons file.
The only barriers that can stop you are the ones you create yourself.

Offline emninger

  • Sr. Member
  • ****
  • Posts: 267
Re: tcwbarconf changes are not permanent
« Reply #4 on: November 10, 2015, 03:56:15 PM »
The settings are stored in ~/.wbarconf, and applied on reboot to the non-persistent tce.icons file.

Turning back to this issue:$HOME/.wbarconf looks like this:
Code: [Select]
c: wbar --bpress --pos bottom --zoomf 2 --isize 32

Which seems to me the basic configuration (how wbar behaves).

.wbar is a symbolic link to /usr/local/tce.icons which looks like this:
Code: [Select]
# The Bar && Font && Font size (11)
i: /usr/local/share/wbar/osxbarback.png
t: /usr//share/fonts/luxisr/11
c: wbar --bpress --pos bottom --zoomf 2 --isize 32
i: /usr/local/share/pixmaps/exittc.png
t: Exit
c: exec exittc
i: /usr/local/share/pixmaps/editor.png
t: Editor
c: exec editor
i: /usr/local/share/pixmaps/cpanel.png
t: ControlPanel
c: exec cpanel
i: /usr/local/share/pixmaps/apps.png
t: Apps
c: exec apps
i: /usr/local/share/pixmaps/flrun.png
t: RunProgram
c: exec flrun
i: /usr/local/share/pixmaps/mnttool.png
t: MountTool
c: exec mnttool
i: /usr/local/share/pixmaps/xfe.png
t: Xfe
c: exec xfe
i: /usr/local/share/pixmaps/aterm.png
t: Terminal
c: exec aterm
i: /usr/local/share/pixmaps/ezremaster.png
t: ezremaster
c: exec ezremaster
i: /usr/local/share/pixmaps/firefox.png
t: firefox-ESR
c: exec /usr/local/firefox-ESR/firefox
i: /usr/local/share/pixmaps/firefox.png
t: firefox
c: exec /usr/local/firefox/firefox
i: /usr/local/share/pixmaps/galculator.png
t: galculator
c: exec /usr/local/bin/galculator
i: /usr/local/share/pixmaps/htop.png
t: Htop
c: exec aterm +tr +sb -T "Htop" -e htop
i: /usr/local/share/pixmaps/lxrandr.png
t: MonitorSettings
c: exec lxrandr
i: /usr/local/share/pixmaps/core.png
t: TC_Install
c: exec tc-install
i: /usr/local/share/icons/hicolor/48x48/apps/viewnior.png
t: Viewnior
c: exec viewnior
i: /usr/local/share/pixmaps/wifi.png
t: Wifi
c: exec cliorx sudo wifi.sh
i: /usr/local/share/icons/hicolor/24x24/apps/xarchiver.png
t: Xarchiver
c: exec xarchiver
i: /usr/local/share/icons/hicolor/64x64/apps/flaxpdf.png
t: FlaxPDF
c: exec flaxpdf

This seems to be the file, where the applications and respective icons which are shown in wbar are listed. And here go the changes made by tcwbarconf in the controlpanel. And this changes are NOT permanent. And yes, i do a backup of /home

Offline curaga

  • Administrator
  • Hero Member
  • *****
  • Posts: 11021
Re: tcwbarconf changes are not permanent
« Reply #5 on: November 10, 2015, 04:02:00 PM »
I cannot reproduce on a clean install. The changes correctly persist.
The only barriers that can stop you are the ones you create yourself.

Offline gerald_clark

  • TinyCore Moderator
  • Hero Member
  • *****
  • Posts: 4254
Re: tcwbarconf changes are not permanent
« Reply #6 on: November 10, 2015, 05:28:29 PM »
Emninger need to start over clean.
The onboot.lst and .filetool.lst previously shown are a mess, causing many of the problems reported and yet to be reported.

Offline emninger

  • Sr. Member
  • ****
  • Posts: 267
Re: tcwbarconf changes are not permanent
« Reply #7 on: November 11, 2015, 01:59:44 AM »
Emninger need to start over clean.
The onboot.lst and .filetool.lst previously shown are a mess, causing many of the problems reported and yet to be reported.

I did.

But, i do NOT see, how to exclude e.g. /usr/local/etc/fonts from being backuped because otherwise i'd loose all settings i did in fontconfig (and other settings are also done there, or in /etc/ , which as far as i know cannot be transferred to $HOME .

Just a question: The existence of this 2 files:
$HOME/.wbar and $HOME/.wbarconf is correct?
And also, that .wbar is a symbolic link to /usr/local/tce.icons ?

Offline gerald_clark

  • TinyCore Moderator
  • Hero Member
  • *****
  • Posts: 4254
Re: tcwbarconf changes are not permanent
« Reply #8 on: November 11, 2015, 08:54:03 AM »
Yes, and yes, but changes to wbar are stored in ~/.wbarconf and in wbar.lst in the tce directory.

Offline emninger

  • Sr. Member
  • ****
  • Posts: 267
Re: tcwbarconf changes are not permanent
« Reply #9 on: November 11, 2015, 09:45:03 AM »
Yes, and yes, but changes to wbar are stored in ~/.wbarconf and in wbar.lst in the tce directory.

So, ~/.wbarconf is a symbolic link pointing to wbar.lst? In which tce directory? /tmp/tce or /mnt/sda1/... ?

Offline gerald_clark

  • TinyCore Moderator
  • Hero Member
  • *****
  • Posts: 4254
Re: tcwbarconf changes are not permanent
« Reply #10 on: November 11, 2015, 09:59:34 AM »
No. ~/.wbarconf is not a symlink.
look in /etc/sysconfig/tcedir for wbar.lst.
Are you sure /etc/sysconfig/tcedir points to persistent storage?

Offline emninger

  • Sr. Member
  • ****
  • Posts: 267
Re: tcwbarconf changes are not permanent
« Reply #11 on: November 11, 2015, 10:15:38 AM »
No. ~/.wbarconf is not a symlink.
Same here.

look in /etc/sysconfig/tcedir for wbar.lst.
Are you sure /etc/sysconfig/tcedir points to persistent storage?

1. There is no wbar.lst? Should i create one?
2. /etc/sysconfig/tcedir is a symlink to /mnt/sda1/tce


Offline gerald_clark

  • TinyCore Moderator
  • Hero Member
  • *****
  • Posts: 4254
Re: tcwbarconf changes are not permanent
« Reply #12 on: November 11, 2015, 10:27:26 AM »
I suspect your tce directory permissions are wrong.
Do the following and post results:

ce
ls -la

Offline emninger

  • Sr. Member
  • ****
  • Posts: 267
Re: tcwbarconf changes are not permanent
« Reply #13 on: November 11, 2015, 11:03:11 AM »
Code: [Select]
tc@box:~$ ce
tc@box:/mnt/sdb1/tce$ ls -la
total 392
drwxrwxr-x    5 tc       staff         4096 Nov 11 00:40 ./
drwxr-xr-x    6 root     root          4096 Nov 11 00:05 ../
drwxrwxr-x    3 tc       staff         4096 Nov 10 23:56 boot/
-rw-rw-r--    1 tc       staff            0 Oct 27 15:37 copy2fs.lst
-rw-rw----    1 tc       staff            0 Oct 26 23:22 firstrun
-rw-rw-r--    1 tc       staff       332016 Oct 27 01:45 mydata.tgz
-rw-rw-r--    1 tc       staff         2003 Nov 11 07:07 onboot.lst
drwxrwxr-x    2 tc       staff         4096 Nov 11 00:38 ondemand/
drwxrwxr-x    2 tc       staff        40960 Nov 11 00:39 optional/
-rw-rw-r--    1 tc       staff          155 Nov 11 15:32 xwbar.lst

Offline gerald_clark

  • TinyCore Moderator
  • Hero Member
  • *****
  • Posts: 4254
Re: tcwbarconf changes are not permanent
« Reply #14 on: November 11, 2015, 11:15:06 AM »
OK, xwbar.lst