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

mammar mammar at gmail.com
Fri Jul 1 12:52:21 UTC 2011


Thanks for reply James.

the gsettings.... present in livesys but no effect. I add the line in
fedora-live-mini.ks
but it is also present in livesys.

Any other thought?

Regards,

On Fri, Jul 1, 2011 at 4:23 PM, James Heather <j.heather at surrey.ac.uk>wrote:

> **
> 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,
>
>
>
> --
> livecd mailing list
> livecd at lists.fedoraproject.org
> https://admin.fedoraproject.org/mailman/listinfo/livecd
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.fedoraproject.org/pipermail/livecd/attachments/20110701/10418780/attachment.html 


More information about the livecd mailing list