Re: Setting gconf/dconf keys in kickstart

Tim Mooney <[email protected]>
Newsgroups gmane.linux.redhat.kickstart.general
Message-ID <[email protected]>
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                                             [email protected]
Enterprise Computing & Infrastructure                  701-231-1076 (Voice)
Room 242-J6, IACC Building                             701-231-8541 (Fax)
North Dakota State University, Fargo, ND 58105-5164
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.