View Full Version : Minimalistic 'Widescape' Weather for Screenlets
vrunner
March 25th, 2007, 11:54 AM
http://img120.imageshack.us/img120/1875/screenshot1qt7.png
- Customizable Colors & Fonts
- Double Click widget to toggle between Compact/Expanded mode
- City/Time display can be hidden
Here are some configurations as an example:
http://img120.imageshack.us/img120/1295/screenshot2gx3.png
Download Screenlet (http://seagull.isi.edu/docs/WidescapeWeather.tar.gz)
Inspired by Widescape Weather for Konfabulator
anshuman
March 25th, 2007, 12:39 PM
I got it running nicely,
How to add it in default ? So that I can start it with Control screenlet?
Should it move the entire screenlet directory to /usr/local/share/screenlet/ ??
Edit:-
I moved the entire directory to /usr/local/share/screenlet
and started
screenletsd start
screenletsd add Control.
Now i can see it in screenlet control too
But i dont think the themes are working as you intended... check the screenshots.
http://img20.imageshack.us/img20/636/screenletweathernz6.th.jpg (http://img20.imageshack.us/my.php?image=screenletweathernz6.jpg)
vrunner
March 25th, 2007, 01:27 PM
I'm glad you got it working.
There are no "themes" as such for this.
It's all configurable in Properties.
Vasek
March 25th, 2007, 01:29 PM
Nice screenlet :)
It only doesn't deal with the Keep on top option properly on my computer, don't know why.
vrunner
March 25th, 2007, 01:31 PM
Yes, it's been designed to stay at bottom :lol:
I'll change it if it bothers people.
Vasek
March 25th, 2007, 01:41 PM
Yes, it's been designed to stay at bottom :lol:
I'll change it if it bothers people.
Is there any need to change the screenlets' default behaviour where "Keep below" is one of the options provided by the backend? If it doesn't work here, it's probably a bug in the main program and should be rather fixed there.
vrunner
March 25th, 2007, 01:49 PM
Yes, it's been designed to stay at bottom :lol:
I'll change it if it bothers people.
Is there any need to change the screenlets' default behaviour where "Keep below" is one of the options provided by the backend? If it doesn't work here, it's probably a bug in the main program and should be rather fixed there.
No, no real reason really. Was a silly thing to do and I've removed it :)
But there is a bug that I encounter at times. When I set the background to transparent, quit Screenlets, and start them again, it doesn't recognize my clicks.
Vasek
March 25th, 2007, 01:59 PM
But there is a bug that I encounter at times. When I set the background to transparent, quit Screenlets, and start them again, it doesn't recognize my clicks.
This is often caused in screenlets by only calling on_draw from on_draw_shape. Note that you draw a transparent input shape in this situation, which means all the transparent pixels are also transparent for clicks.
It's better to copy a piece of code from on_draw to on_draw_shape and assure the background is drawn with full opacity. This way you can also remove more complex drawing or data acquiring operations that would have no effect.
vrunner
March 25th, 2007, 02:17 PM
Sweet ! Thanks Vasek !
Fixed. (Re-download from Link in the opening post)
Vasek
March 25th, 2007, 02:36 PM
Sweet ! Thanks Vasek !
You're welcome :wink:
anshuman
March 25th, 2007, 02:50 PM
Now , Does anyone know a Calendar screenlet if its already made?
Vasek, if its not there, Can you make one :)
Thanks for your good effort on this weather screenlet .
Vasek
March 25th, 2007, 03:19 PM
Now , Does anyone know a Calendar screenlet if its already made?
Vasek, if its not there, Can you make one :)
Yes, there's one:
http://kfe.fjfi.cvut.cz/~potocek/storage/Calendar.tar.gz
There are even some open ideas to be implemented in it:
http://forum.go-compiz.org/viewtopic.php?p=4673&highlight=#4673
http://forum.go-compiz.org/viewtopic.php?p=4579&highlight=#4579
I have once promised I will try to do it, but I must have taken it back because a time-demanding duty crossed it... If you want to, you may try training your skills at it :)
When looking which "unofficial" screenlets are done, this may help you,
http://forum.go-compiz.org/viewtopic.php?p=4720&highlight=#4720
it's quite complete. You can put a screenlet's name to Google once you know its name.
Edit: Add Screenlet after the name, as in CalendarScreenlet. This was the naming convention until 0.0.7 and I think all the screenlets mentioned there come from that time.
Edit2: And these two!
http://forum.go-compiz.org/viewtopic.php?p=4053&highlight=#4053
http://forum.go-compiz.org/viewtopic.php?p=5311&highlight=#5311
Edit3: Sorry for bad link to Calendar... Fixed.
RYX
March 25th, 2007, 03:24 PM
Hi vrunner! Cool screenlet - good work :) ... Concerning the transparent background Vasek is absolutely right. You could simply draw a rectangle (width width/height) in on_draw_shape if the background is set to be transparent, that way your screenlet isn't click-through but remains clickable at all.
Alternatively (I _think_) you could make sure that the shape is really redrawn when the background is set to transparent (by manually calling self.draw_shape() in __setattr__ after changing all needed vars) - that way the mask should contain the same output as the screenlet and work as expected.
@anshuman: The problem with the themes you noticed is indeed a bug. For now the themes are only loaded from the subdirectory of the screenlet's location - not from all screenlet-paths. That will change in the next version ...
:)
madrano
September 3rd, 2007, 10:46 AM
Download Screenlet (http://seagull.isi.edu/docs/WidescapeWeather.tar.gz)
link not working.:(
noname2015
June 21st, 2008, 05:46 PM
link not working.:(
Foud it here : http://linux.softpedia.com/get/Desktop-Environment/Screenlets/Wide-weather-36886.shtml :D
vBulletin® v3.7.3, Copyright ©2000-2008, Jelsoft Enterprises Ltd.