As said before we are running more than 500 ubuntu PC's in our company. Often we used to set our company ads as a wallpaper in clients machine. It is difficult for us to change wallpapers in all these machines one by one & also it is difficult for us to execute script in every machine through SSH to change the wallpaper. Is there a way to setup a server like if we change the wallpaper in the server it should be effected in all clients machine. If it is possible, it will save our time and effort. Can anyone help? Thanks in advance..
Set up a cron job on all machines that executes a script where you check 1 specific place for new images. Sample (untested) script with wget and ftp:
Basically the 2nd line needs to be altered to the method you use to manually load the image to the machines. And then set up
You could even set it up to fetch a script where that script gets excecuted on the client machine and it then fetches the images and changes the background with gconftool-2. This would allow you to execute more than changing a background.
You can create a cron job with
(m minutes, h hour, dom day of month, mon month, dow day of week) and underneath it you could add ...
Otherwise you need to make sure your script uses full path names to execute commands. More info on cron can be found on the Ubuntu wiki.
You can also use the
It may be worth it to install a remote admin framework like puppet. It usually takes some time to properly install and configure it for your network, but once it's there it's quite easy to copy files to all the machines (or just a subset of them), run scripts on them and such.
You can make the wallpaper setting mandatory, meaning that users will not be able to customize their background.
In Ubuntu 11.04 and earlier, this command should work:
In Ubuntu 11.10 (or any GNOME 3 system), you should be able to do this with:
Combine this solution with something like puppet to propogate this setting to all the computers in your company!
here is my solution for ubuntu 11.10 (or any GNOME 3 system):
there is two logical parts. first get wallpaper, second set wallpaper from downloaded location. simple!