Notices


Reply
Thread Tools
Posts: 8 | Thanked: 4 times | Joined on Sep 2010
#1
Hi there,
I would like to request an application, that allows the desktop wallpapers slideshow. I remember times, when I had nokia 5800, there was the function:
you choose several wallpapers, wallpapers change period and you have a desktop wallpapers slideshow.
Usefull for those who don't like the same wallpaper every few hours, days, weeks, months, etc...
 
Changegames's Avatar
Posts: 277 | Thanked: 69 times | Joined on Jul 2010
#2
i think theyre gonna implement this on the next version of live wallpaper...
 
Posts: 992 | Thanked: 738 times | Joined on Jun 2010 @ Low Earth Orbit
#3
I have just recently perfected my auto desktop wallpaper changer. It runs off QBW.

Here's the python script that does the heavy lifting:

Code:
#!/usr/bin/python

import glob, random, shlex, subprocess
debug = 0

desktops = [1, 2, 3, 4]
file_extensions = ['jpg', 'tif', 'png']
image_dir = "/media/mmc1/DCIM/"

images = []
for current_file_extension in file_extensions:
        images = images + glob.glob(image_dir + '*.' + current_file_extension)
        images = images + glob.glob(image_dir + '*/*.' + current_file_extension)
if debug:
        print images
for current_desktop in desktops:
        new_image = images[random.randint(1, len(images)) - 1]
        cmd = "gconftool-2 --type string --set /apps/osso/hildon-desktop/views/%d/bg-image '%s'" % (current_desktop, new_image)
        if debug:
                print cmd
        args = shlex.split(cmd)
        if debug:
                print args
        subprocess.Popen(args)
The things that you can set are highlighted above:

desktops = list of desktops that you want to change
image_dir = the full path to a directory where your images are stored
file_extensions = extensions which indicate an image file (note it's case-sensitive)
 

The Following 6 Users Say Thank You to kureyon For This Useful Post:
Posts: 8 | Thanked: 4 times | Joined on Sep 2010
#4
kureyon, nice one.
One more thing you could add to this app is the time thingy... the period of how often the image will be randomly changed settable time
I cant imagine why live wallpaper is still without the function.
 
Posts: 992 | Thanked: 738 times | Joined on Jun 2010 @ Low Earth Orbit
#5
How often the wallpaper changes is determined by your QBW settings.
 
Posts: 1,137 | Thanked: 1,903 times | Joined on Apr 2007 @ Belarus
#6
Livewallpaper has this feature.

Vlad.
 

The Following User Says Thank You to vasvlad For This Useful Post:
Posts: 8 | Thanked: 4 times | Joined on Sep 2010
#7
Vlad, I love you for this!!! It would be awesome to have a custom choice of minutes the wallpaper will be changed,
THANK YOU VERY MUCH FOR YOUR APPLICATION!!!
 
Posts: 1,137 | Thanked: 1,903 times | Joined on Apr 2007 @ Belarus
#8
Originally Posted by Martini View Post
Vlad, I love you for this!!! It would be awesome to have a custom choice of minutes the wallpaper will be changed,
THANK YOU VERY MUCH FOR YOUR APPLICATION!!!
What are the periods you want to add?
Vlad
 
Posts: 8 | Thanked: 4 times | Joined on Sep 2010
#9
I dont know 1day, 12 hours etc. There are some problems with the wallpaper change... It changes not on the right time... Sometimes few times after I unlock the device. Something is wrong with the timing.
Thanks again, Vlad
 
Posts: 1,179 | Thanked: 770 times | Joined on Nov 2009
#10
How do I use this script in QBW? The add command option only allows one line commands and under advanced when I paste the command in I get an error message when I run the command.
 
Reply


 
Forum Jump


All times are GMT. The time now is 06:58.