I have set up puppet (Central Management Server). Can anyone tell me how to change wallpapers of all clients from this puppet server?
|
To set the wallpaper image from command line (without puppet), you can use something like this:
which obviously needs to be run as the user you're changing the background for. In terms of puppet, I believe you would be able to upload the file to the controlled machines using
then, to run a command, there's
which you can execute for each of your users:
Also, you may want to restrict user's choice of backgrounds only to the one you're setting with Puppet. For that, you need to modify
The rule to upload it would look like:
Also, note that the default Ubuntu background is in the file |
||||
|
|
|
On Oneiric : Wallpaper settings have been moved to dconf ; all settings must be changed with D-Bus calls. Therefore to achieve this with puppet you'll need a puppet D-Bus module, and to use it to send calls as described below. You can gather information on which D-Bus calls to use, using the See also How to modify the system default background image for detail on how to configure the default available wallpaper.
|
|||
|
