[Fedora-livecd-list] gsettings not working in kickstart

James Heather j.heather at surrey.ac.uk
Fri Jul 1 11:23:40 UTC 2011


Isn't this a per-user setting? If so, running it like that in your
kickstart file won't help: it gets run as root, so it'll just change
root's settings.

You'd need to run this as the right user. So you'd want

  su liveuser gsettings ...

(or whatever the right user is). But this also might run into trouble if
that user's home directory hasn't yet been created. I think it gets
created in a script called livesys (or similar) that's written out by
the kickstart file. So you'd probably want to add that line to the end
of the livesys script.

James

On Fri, 2011-07-01 at 12:18 +0100, mammar wrote:

> Hi All,
> 
> 
> 
> 
> 
> I am building a custom Fedora 15 spin and using fedora-live-mini.ks as
> base kickstart for my own custom kickstart.
> 
> 
> I don't want to see gnome panels when my spin show the desktop and for
> this purpose i am using the following command in fedora-live-mini.ks
> file but no effect.
> 
> 
> gsettings set org.gnome.gnome-panel.layout toplevel-id-list []
> 
> 
> The command works perfectly if run from shell without root.
> 
> 
> Can anyone please shed some light on this issue?
> 
> 
> 
> 
> Regards,

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.fedoraproject.org/pipermail/livecd/attachments/20110701/9e7e7f08/attachment.html 


More information about the livecd mailing list