Good day, I use livecd-creator to make custom spins. I import settings the following way in my .ks file:
Code:
gconftool-2 --direct --config-source=xml:readwrite:/etc/gconf/gconf.xml.defaults -s -t list --list-type string /apps/panel/applets/clock/prefs/cities '[<location name="Москва" timezone="Europe/Moscow" latitude="55.650002" longitude="37.266666" code="UUWW" current="true"/>]' >/dev/null
(This one configures the weather applet for instance).
Everything's fine when I run the LiveCD itself, but I lose all the settings after the installer copies the LiveCD contents on my hard disk. Please help! Thanks in advance!
---------- Post added at 11:31 PM CDT ---------- Previous post was at 08:41 PM CDT ----------
I tried the following method:
Code:
%post --nochroot
cp -r /path/to/saved/folder/.gconf $INSTALL_ROOT/etc/skel
%end
The 'gconf' folder was copied from a LiveCD session and put into /var/skel again. Hope this works.
But I can't get two things:
1. Why the /etc/gconf/gconf.xml.defaults data is not applied to the hard disk installations and where the 'default' hard disk installation settings are from then?
2. I'm absolutely sure there should be a less sophisticated way to solve my problem.
Any ideas?