
The background is a Dolphin picture.
Moderators: b1o, jkerr82508



rvause wrote:Wow, some of those are really great. I never have time to tweak things up really, I even have a python script that chooses my wallpaper for me.
http://rickvause.com/images/Screenshot-2.png
Code: Select all
import os, random, time
WALLPAPER_DIR = '/path/to/wallpapers'
walls = os.listdir(WALLPAPER_DIR)
while(1):
wallpaper = os.path.join(WALLPAPER_DIR, walls[random.randint(0, len(walls)-1)])
if os.path.exists(wallpaper):
os.system('gconftool-2 -s -t string /desktop/gnome/background/picture_filename "%s"' % wallpaper)
time.sleep(30)
Code: Select all
python wp.py &