 rubiki
|
xbmc in geexbox seems to store settings in guisettings.xml,
but can not find this file in geexbox.iso (extractd)
just want to change some settings , like language, in the iso, permanently
not using casper-rw.
is this file generated at the startup of xbmc?
or where to put one default setting file?
-
This reply was modified 3 days ago by
rubiki.
-
This reply was modified 3 days ago by
rubiki.
-
This reply was modified 3 days ago by
rubiki.
-
This reply was modified 15 hours ago by
tomlohave.
|
 tomlohave
|
yes this file is generated at the first boot if it doesn’t exist.
it’s possible via initrd (you need to rework it)
you boot from usb or cd ?
|
 rubiki
|
boot from cd. (and usb and hdd)
where should I put the file guisettings.xml?
I tried to add this line in initrd/init:
mkdir -p /squashfs/root/.xbmc/userdata
cp /guisettings.xml /squashfs/root/.xbmc/userdata
———————
add this 
GBK
Chinese (Simple)
Arial
)
————————————-
but there’s no effect. seems that it’s been replaced by blank settings at the first boot .
where should I put the file guisettings.xml?
|
 rubiki
|
solved.
should put it into the rootfs , not the initrd.
|
 tomlohave
|
where is your file guisettings.xml ?
you should add this (assuming your file is located at the root of your stick)
—-add at line 236
mkdir -p /newroot/root/.xbmc/userdata
cp /newroot/.root/guisettings.xml /newroot/root/.xbmc/userdata
—- end add
if ! exec /bin/busybox switch_root /newroot $INIT $INIT_ARGS; then
echo “Failed, dropping to shell”
/bin/busybox mount -t proc none /proc
/bin/busybox mount -t sysfs none /sys
exec sh
fi
|