If you're creating a Fedora Remix, you might want to give a nice customized desktop wallpaper. This can be done easily using the %post section of the kickstart file.
Firstly, make sure that you go to the directory that houses our own background images.
cd /usr/share/backgrounds/images
Next we want to fetch a background image and bring it into the created filesystem. Note that resolv.config, at the time that the post script executes, is not yet set up, so there's no DNS lookup going on. We need to use the ip. Be sure to also have wget included in the %package section of the kickstart file.
wget --header="Host: www.someplace.com/wherever/your/image/is.jpg" http://123.45.67.89/wherever/your/image/is.jpg
Finally, all that's left is to configure the background image by calling the gsettings command. Previously, in Fedora 14 and previous, you would use gconftool-2 to edit the background image schema, but gnome3 uses a slightly different command:
gsettings set org.gnome.desktop.background picture-uri "file:///usr/share/backgrounds/images/yourimage.jpg"
There are many other settings that can be altered using the gsettings command, so you have a lot of freedom in customizing the look and feel of your Fedora 15 remix.
No comments:
Post a Comment