[ solved ] change default setting in guisettings.xml

December 7th, 2011

Home › Forums › GeeXboX for PC › [ solved ] change default setting in guisettings.xml

Tagged: 

This topic has 2 voices, contains 5 replies, and was last updated by  tomlohave 15 hours ago.

Viewing 6 posts - 1 through 6 (of 6 total)
Author Posts
Author Posts
December 5, 2011 at 03:55 #1978

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.
December 7, 2011 at 00:53 #1997

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 ?

December 7, 2011 at 07:20 #2001

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?

December 7, 2011 at 07:48 #2002

rubiki

solved.

should put it into the rootfs , not the initrd.

December 7, 2011 at 07:56 #2003

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

December 7, 2011 at 07:58 #2004

tomlohave

ok
Closed

Viewing 6 posts - 1 through 6 (of 6 total)

You must be logged in to reply to this topic.