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

Attachment: signature.asc
Description: Dies ist ein digital signierter Nachrichtenteil

-- 
edubuntu-users mailing list
[email protected]
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/edubuntu-users

Reply via email to