Re: Setting gconf/dconf keys in kickstart

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 





On 08/03/2011 10:08 AM, Patrick Lists wrote:
On 08/02/2011 04:40 PM, Hugh Brown wrote:
I've done similar things in a script that gets called from %post and
they were successfully set.

As previously reported your script worked like a charm. Thanks again.
I'm still struggling with one thing: to turn off that "klunk" sound when
GDM starts. the lines below directly in the %post section all did not work.

sudo -u gdm gconftool-2 --direct
--config-source=xml:readwrite:/etc/gconf/gconf.xml.defaults -s -t bool
/desktop/gnome/sound/event_sounds false

sudo -u gdm gconftool-2 --direct
--config-source=xml:readwrite:/etc/gconf/gconf.xml.mandatory -s -t bool
/desktop/gnome/sound/event_sounds false


The gdm user doesn't have write access to /etc/gconf, you can probably leave off the --direct --config-source...

sudo -u gdm gconftool-2 -s -t bool /desktop/gnome/sound/event_sounds false

should do it.


Hugh

_______________________________________________
Kickstart-list mailing list
Kickstart-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/kickstart-list


[Index of Archives]     [Red Hat General]     [CentOS Users]     [Fedora Users]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]

  Powered by Linux