Setting gconf/dconf keys in kickstart

Patrick Lists ks-list at puzzled.xs4all.nl
Tue Aug 2 14:15:52 UTC 2011


Hi,

Not sure if this is considered OT. If so my apologies.

I had a nicely working kickstart setup for rolling out F14 to my laptop. 
Even setting gconf keys worked (after many late nights fighting with 
it). Setting those gconf keys no longer works with F15. Does anyone have 
any snippets where they use gconf & dconf to tweak some GNOME 3 desktop 
settings?

For example, here are some snippets from the kickstart file in the %post 
section that do not work:

# Show weekdays in the calendar
gsettings set org.gnome.shell.calendar show-weekdate true

# Show the date in the panel
gsettings set org.gnome.shell.clock show-date true

# Enable min,max,close buttons
gconftool-2 --direct --config-source 
xml:readwrite:/etc/gconf/gconf.xml.defaults --set 
"/desktop/gnome/shell/windows/button_layout" --type string 
":minimize,maximize,close"

After the kickstart install has finished and I log in, none of these 
settings are active. But when I issue those commands manually as user 
patrick they have the desired result (only for that user).

What am I doing wrong? How can I set those keys in %post, preferably for 
all users?

Thanks!
Patrick




More information about the Kickstart-list mailing list