Real-time Webcam Wallpaper and Eiffel Tower Wallpaper
My previous flat had a view on the Eiffel Tower. But I had to leave it for another in Courbevoie, near La Défense.
But because I still want my view on the Eiffel Tower, I created this tiny program in Python to show the Eiffel Tower webcam (powered by ParisRama.com) on my (future) TV. And I think some people would enjoy it.
Actually this program is a generic real-time wallpaper refresher for Gnome (so Ubuntu, Fedora with Gnome, …) : you can splash what webcam you want on your desktop wallpaper.
Here’s the source code. Save this file in the folder you want, open a shell, and write :
python wallweb.py -l 5 -r http://www.parisrama.com/webcam1.jpg
to show the Eiffel Tower. Tadaaa ! Your desktop now looks like like this.
“5″ means the program will refresh every 5 seconds. You can of course increase this value if you want to save your network bandwith. Also, you can configure Gnome to launch my program automatically when Gnome is starting.
If you do not want to write every time this previous shell line, you can also download this shell file which makes the job for you. Do not forget to write
chmod +x eiffel.sh
to make it runnable. Then write
./eiffel.sh
to launch it.
Enjoy. Feel free to modify my source code (but please do not remove my name). Think about me when you’ll use it
See you.

No comments yet.