Do you upgrade your chroot?

Oliver Grawert ogra at ubuntu.com
Wed Jan 6 08:51:06 GMT 2010


hi,
Am Dienstag, den 05.01.2010, 20:46 -0800 schrieb Steve Rippl:
> We edit gconf directly to adjust some other things...
>         gconftool-2 --direct --config-source
>         xml:readwrite:/etc/gconf/gconf.xml.mandatory --type bool
>         --set /desktop/gnome/file_views/show_backup_files False
>         gconftool-2 --direct --config-source
>         xml:readwrite:/etc/gconf/gconf.xml.mandatory --type bool
>         --set /desktop/gnome/file_views/show_hidden_files False
>         gconftool-2 --direct --config-source
>         xml:readwrite:/etc/gconf/gconf.xml.mandatory --type string
>         --set /apps/nautilus/preferences/executable_text_activation
>         display
>         gconftool-2 --direct --config-source
>         xml:readwrite:/etc/gconf/gconf.xml.mandatory --type bool
>         --set /apps/nautilus/preferences/start_with_location_bar False
>         gconftool-2 --direct --config-source
>         xml:readwrite:/etc/gconf/gconf.xml.mandatory --type bool
>         --set /desktop/gnome/lockdown/disable_user_switching True
>         gconftool-2 --direct --config-source
>         xml:readwrite:/etc/gconf/gconf.xml.mandatory --set --type list
>         --list-type string /apps/panel/global/disabled_applets
>         "[OAFIID:GNOME_FastUserSwitchApplet]" 
>         gconftool-2 --direct --config-source
>         xml:readwrite:/etc/gconf/gconf.xml.mandatory --set --type list
>         --list-type
>         string /desktop/gnome/peripherals/keyboard/kbd/layouts "[us]"
>         gconftool-2 --direct --config-source
>         xml:readwrite:/etc/gconf/gconf.xml.mandatory --type string
>         --set /desktop/gnome/background/picture_filename /usr/share/backgrounds/edubuntu_default.png
instead of calling gconftool over and over, you should take a look
at /usr/share/gconf/defaults/ add a file there with the keys and values
you want to have set by default, if you pick a high enough sequence
number for the filename (i.e. 99_foo_bar) it will always set the values
as overrides... thats a bit more elegant and surely a lot easier to
maintiain ;)

(note after putting the file in place you need to run 
sudo update-gconf-defaults once)

ciao
	oli
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: Dies ist ein digital signierter Nachrichtenteil
Url : https://lists.ubuntu.com/archives/edubuntu-users/attachments/20100106/a8f0524f/attachment.pgp 


More information about the edubuntu-users mailing list