Tiny Core Linux
Tiny Core Extensions => TCE Bugs => Topic started by: samedirection on July 17, 2009, 11:27:44 AM
-
I think it's down to the script in /usr/local/bin/openbox_initmenu, which contains this line:
rsync -a /etc/skel/.config/openbox /home/$USER/.config
(may not be exact. I'm copying from paper notes). It doesn't check for an existing set of config files first, and overwrites them every time. This means my modifications to the menu and keyboard configs don't persist.
Also, it leaves the /home/tc/.config/openbox owned by root.root.
Thanks.
-
I'm away for 4 days, so I won't be able to respond to anyone who answers this thread for a while. I thought that I should add, in case it's relevant, that I'm using a persistant /home/tc directory.
-
It doesn't check for an existing set of config files first, and overwrites them every time.
That sounds like a bad thing to me. Is that script part of the original openbox package, or something added for the TC extension? If it's the latter I'd definitely suggest the packager fix it...overwritng files without asking or checking can be seen as being very rude.
-
it's added for tc extension.
just follow the example from hackedbox.tce
i will check it again, or maybe add some checking before overwrite in near time.
-
junan, thanks very much for yesterday's fresh update of openbox. Unless I'm wrong, however, it doesn't seem to have fixed this particular problem. My $HOME/.config/openbox/ files are still overwritten each time the extension loads.
(By the way did you mean that I should just follow the example in hackedbox, or that you did to make the extension?)
-
how do you know it is still overwrite the files ?
when i test it , i can change the theme , and after reboot the changes still remains.
that means after reboot, the files not overwritten (file = /home/$USER/.config/openbox/rc.xml)