Setting gconf/dconf keys in kickstart
Tim Mooney
Tim.Mooney at ndsu.edu
Wed Aug 3 18:33:26 UTC 2011
In regard to: Re: Setting gconf/dconf keys in kickstart, Patrick Lists said...:
> ----8<---
> su - gdm -s /bin/bash --command='
> for line in `dbus-launch`; do export "$line"; done;
> /usr/libexec/dconf-service &
> GSETTINGS_BACKEND=dconf gsettings set org.gnome.desktop.sound event-sounds
> false;
> exit' 2> /dev/null
> ----8<---
>
> But once %post is finished the installer never jumps to the final reboot
> screen. Only with ctrl-c will it end and reboot. Without the script it jumps
> to the final reboot screen fine. No idea what in the script is causing that
> but I assume I need to use the proper su or sudo incantation. Hints most
> appreciated.
Try killing dconf-service after you've run gsettings.
Tim
--
Tim Mooney Tim.Mooney at ndsu.edu
Enterprise Computing & Infrastructure 701-231-1076 (Voice)
Room 242-J6, IACC Building 701-231-8541 (Fax)
North Dakota State University, Fargo, ND 58105-5164
More information about the Kickstart-list
mailing list