|
2010-09-30
, 14:49
|
|
Posts: 277 |
Thanked: 69 times |
Joined on Jul 2010
|
#2
|
|
2010-09-30
, 16:15
|
Posts: 992 |
Thanked: 738 times |
Joined on Jun 2010
@ Low Earth Orbit
|
#3
|
#!/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)
|
2010-09-30
, 20:34
|
Posts: 8 |
Thanked: 4 times |
Joined on Sep 2010
|
#4
|
|
2010-09-30
, 21:41
|
Posts: 992 |
Thanked: 738 times |
Joined on Jun 2010
@ Low Earth Orbit
|
#5
|
|
2010-10-06
, 13:26
|
Posts: 1,137 |
Thanked: 1,903 times |
Joined on Apr 2007
@ Belarus
|
#6
|
The Following User Says Thank You to vasvlad For This Useful Post: | ||
|
2010-10-07
, 15:07
|
Posts: 8 |
Thanked: 4 times |
Joined on Sep 2010
|
#7
|
|
2010-10-07
, 17:43
|
Posts: 1,137 |
Thanked: 1,903 times |
Joined on Apr 2007
@ Belarus
|
#8
|
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!!!
|
2010-10-08
, 12:34
|
Posts: 8 |
Thanked: 4 times |
Joined on Sep 2010
|
#9
|
|
2010-11-29
, 21:24
|
Posts: 1,179 |
Thanked: 770 times |
Joined on Nov 2009
|
#10
|
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...