Updated to set the background the correct way. Thanks to the guys at the GNOME Foundation booth at LWE for the hint.

svn path=/trunk/; revision=192
This commit is contained in:
Chris Gianelloni 2006-08-17 19:20:36 +00:00
parent 055b6a09f4
commit 2d5c5bebd7

View file

@ -1,9 +1,14 @@
#!/bin/bash
if [ -e /etc/X11/gdm/custom.conf ]
then
sed -e '/^[^#]\+=.\+$/d' /etc/X11/gdm/custom.conf > \
/etc/X11/gdm/custom.conf.old
/etc/X11/gdm/custom.conf.old
sed -i -e 's/gentoo-emergence/gentoo-livecd-2006.1/' \
/etc/X11/gdm/custom.conf
/etc/X11/gdm/custom.conf
fi
gconftool-2 --direct \
--config-source xml:readwrite:/usr/livecd/gconf/gconf.xml.defaults \
--type string --set /desktop/gnome/background/picture_filename \
/usr/share/pixmaps/gentoo-livecd-2006.1/gentoo-livecd-2006.1-1024x768.png