
Source (link to git-repo or to original if based on someone elses unmodified work): Add the source-code for this project on opencode.net
A Screenlet that shows a working clock wallpaper , you can get wallpaper clocks from http://www.vladstudio.com/wallpaperclock/ , the default version only include one wallpaper , however you can download them and extract them to the wallpaper folder inside the screenlet folder , just download the file and extract its content there
WORKS ON GNOME , KDE AND XFCE
Install
Install as usual
dependencies : python image module
by Helder Fraga aka Whise , The Wallpaper Clocks are completly made by Vlad Gerasimov at http://www.vladstudio.com , I have no association with him or his project
the wallpaper shown in the 3rd image has a bug , in order to make it work properly delete hour25.png from that wallpaper
12 years ago
v2.3 xfce workarround
v2.2 Some bug fixes , added kde strech option and black screen workarround
v2.1 The new version has some improvements made by Nikke , also fixed the time delay
v2 fixed a conflict with the manager
v1.9 fixed a bug where sometimes the wallpaper is generated but not set ,in gnome
v1.8 fixed moon phase
v1.6 support for 12/24 hour format
v1.5 added menu for wallpaper credits
v1.4 litle bug fix at start up
v1.2 uses much less ram
v1 moon phase and zodiac support
fixed a few bugs
should work on kde and gnome based desktops
12 years ago
v2.3 xfce workarround
v2.2 Some bug fixes , added kde strech option and black screen workarround
v2.1 The new version has some improvements made by Nikke , also fixed the time delay
v2 fixed a conflict with the manager
v1.9 fixed a bug where sometimes the wallpaper is generated but not set ,in gnome
v1.8 fixed moon phase
v1.6 support for 12/24 hour format
v1.5 added menu for wallpaper credits
v1.4 litle bug fix at start up
v1.2 uses much less ram
v1 moon phase and zodiac support
fixed a few bugs
should work on kde and gnome based desktops
torturedutopian
9 years ago
It works mostly like a charm but I have a problem : at startup, it doesn't display the right wallpaper, but a "built-in" one that I cannot remove ("alittlemotivation.wcz").
If I reselect again in the prefs the one I want, it works... Until next reboot.
Any idea ? (the right wallpaper is always the one in the settings, but it does show "alittlemotivation" anyway for some reason)
Cheers & thanks again !
Report
torturedutopian
9 years ago
Report
Morzilla
10 years ago
gtk-enable-animations = 0
Unfortunatly, this will disable all gtk2 effect (if you're using compiz, probably this not interest you :D )
Now, you will be able to change the wallpaper clock without having the annoying fade effect!
Sorry for my English!
Bye!
Report
Morzilla
10 years ago
killall nautilus
:)
Report
trusktr
10 years ago
I'm in Arch Linux by the way. :)
Report
AndyBearman
10 years ago
Note: Make sure you add a line to delete the previously generated wallpaper each time a new one is created, otherwise you end up filling your drive with them.
Perhaps this can be added as another workaround in the options window? :)
Report
andersiversen
9 years ago
Can you elaborate on what you did, maybe show the code lines you wrote/changed?
Cheers
/Anders:)
Report
levity
9 years ago
---
try:
# This is a slow operation!!!
self.image.save (self.mypath + '/wallpaper' + self.minute + '.png')
if self.black_workarround:
os.system ("mv -f "+self.mypath+"/wallpaper.working.png "+ self.mypath + '/wallpaper.png')
except:
pass
print "Point 4: " +str(datetime.now())
if self.xfce_workarround:os.system ("killall -USR1 xfdesktop &")
try:
os.system("gconftool-2 -t string -s /desktop/gnome/background/picture_filename " + self.mypath + '/wallpaper' + self.minute + '.png')
os.system("gconftool-2 -t string -s /desktop/gnome/background/picture_options " + self.gnome_wallpaper_option)
os.system("gconftool-2 -t bool -s /desktop/gnome/background/draw_background False")
os.system("gconftool-2 -t bool -s /desktop/gnome/background/draw_background True")
except:
pass
try:
if self.gnome_wallpaper_option == 'stretched':
kde_wall = 6
else:
kde_wall = 7
os.system("/usr/bin/dcop kdesktop KBackgroundIface setWallpaper " + self.mypath + "/wallpaper" + self.minute + ".png " + kde_wall)
except:
pass
---
someone might do it better... for me this works for now ;)
(lazy as I'am I skipped the delete thing thought :D)
Report
plutus
10 years ago
did anybody finally find a workaround?
Report
fallout
11 years ago
http://www.vladstudio.com/de/wallpaperclock/
Report
ubuntico
11 years ago
Report
rabideau
11 years ago
Report
GurgieTrueshot
11 years ago
I tried editing the python script as show below but still have no luck. Any ideas?
# wall_sel = os.listdir(os.environ['HOME'] + '/.screenlets/WallpaperClock/' + 'wallpapers')
wall_sel = '/usr/share/screenlets/WallpaperClock/wallpapers'
# imagepath = os.environ['HOME'] + '/.screenlets/WallpaperClock/'
imagepath = '/usr/share/screenlets/WallpaperClock/'
Report
emancu
11 years ago
Go to that folder, where script looks for wallpapers, and type
ln -s /usr/share/screenlets/WallpaperClocks/wallpapers ./
Now, you have a symbolic link, try to acces to that link, yo'll see that now you are in /usr..../wallapers folder :)
Replace folder with your new symbolic link.
I hope you can fix it.
Report
mastermind4
12 years ago
Quote:
--- /usr/share/screenlets/WallpaperClock/WallpaperClockScreenlet.py 2008-12-14 12:03:43.000000000 -0500
+++ /usr/share/screenlets/WallpaperClock/WallpaperClockScreenlet.py 2008-12-14 12:05:18.000000000 -0500
@@ -378,7 +378,7 @@
try:
if os.path.isfile (self.imagepath+'wallpapers/' +self.wall+'/am.png'):
- if int(self.get_hour24())> 12:
+ if int(self.get_hour24())>= 12:
self.image1 = Image.open(self.imagepath+'wallpapers/' +self.wall+'/pm.png')
self.image.paste(self.image1, (0,0), self.image1)
else:
Report
manishmahabir
12 years ago
i am using compiz and AWN. the black workaround does not help.
Report
jverville
12 years ago
Report
mxt
12 years ago
Report
musashisakai
11 years ago
for me the problem was that wallpaper clock was already in my list of preinstalled screenlets, after I installed the screenlets manager, but I didn't see it.
so I downloaded the one from here and put it in .screenlets folder and put there my wallpapers downloaded from vladstudio.com
so it happened that when I activated the screenlet it activated from the /usr/share/screenlets folder, but it had to pick the wallpapers from the .screenlets folder, so it had a delay and showed the static desktop beneath at every minute change.
I solved this by completely deleting my pre-avaliable screenlet in /usr/share/screenlets and keeping the one downloaded from here, after having reinstalled also that one.
So try checking your /usr/share/screenlets to see if it contains a WallpaperClock folder, delete it and then install this one into the .screenlets one in your home, put your wallpapers and activate it...it should run smooth
Report
sicofante
11 years ago
The only thing that works here is deleting the screenlet and creating it again.
I still can't consistently reproduce the bad behaviour, but I'll try to.
Report
sicofante
11 years ago
- Deleting the directories at /usr/share/screenlets and using the home .screenlets exclusively
- Deleting the home .screenlet directory and using the /usr/share directories exlusively.
- Using both home and /usr/share directores.
- Starting the screelet at login
- Staring the screenlet manually
I deleted the screenlets installation, then manually deleted all screenlets related files, then installed the screenlets app again. (Somehow the start-at-login configuration of other three screenlets I use resisted this cleanup. I don't know where the screenlets app is storing that configuration file.)
I don't know what else to try. The bug is there consistently and the only workaround that seems to work is deleting the screenlet and starting a new one via the screenlets manager. So there's something happening with re-starting an already created screenlet.
I'm using Ubuntu Intrepid Ibex. I might try Jaunty in the coming days and see if it behaves the same there.
Hope this helps to find the bug.
Report
ShoeUnited
12 years ago
So, possibly, something having to do with the WPC being part of the repos, might have messed with the settings of WPC (there are more folders & files in the $home/.screenlets/WallPaperClock directory than there was before the re-install).
In order to uninstall though, you need to install the download from here first. Ubuntu users, try that first. It's possible this is the repo side, not Whise's.
-Shoe
Report
ShoeUnited
12 years ago
So, possibly, something having to do with the WPC being part of the repos, might have messed with the settings of WPC (there are more folders & files in the $home/.screenlets/WallPaperClock directory than there was before the re-install).
In order to uninstall though, you need to install the download from here first. Ubuntu users, try that first. It's possible this is the repo side, not Whise's.
-Shoe
Report
hubfred
12 years ago
Has anyone faced this prob too and got a workaround? It seems as if this issue has not been discussed too frequently in forums. But here I saw at least three people having it. Thanks in advance.
Report
cypherpunk
12 years ago
Report