SpidermanCover Screenlet

Conky

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

0
5.0
Description:

This is a screenlet for Spiderman Spanish reades, this way, we have the last spiderman cover on our desktop knowing when we can go to buy it.

It can be adaptable to so many other things, if you want to collaborate, please, email me and see what can be done!
Last changelog:

11 years ago

- Changed the way it was looking for path (Thanks to Ashy and Whise)

- Fixed Update Interval (Now does automatic update correctly)

- Fixed for the new cover name Format in tiendapnini.es

Whise

11 years ago

could you please post this on screenlets.org

Report

Whise

11 years ago

sys.argv[0]

Report

C

BadChoice

11 years ago

mmm, but using sys.argv[1] I get the pyton filename, if I use ./ i get the path were it is running, and if its loaded by the manager then it's no the correct path, so, I would like to have the path where the .py stands.

How can I achieve this?


Thanks for your support! I've seen that now you are the "officialy" screenlets developer, so I hope I can help you developing some screenlets but first I have to habituate to python...

See you

Report

ashy

11 years ago

You can use self.get_screenlet_dir() to get the path to the current screenlet dir.

Hope this helps :)

Report

C

BadChoice

11 years ago

I found that, it was a return True that was missing!!

Report

C

BadChoice

11 years ago

Yeh! perfect! its what I was looking for!

Another question, why it just updates one time? I want it to update every certain time, I know that in other programming languages there is a set interval function, but I just new in python and I don't know how to do this!

Report

radzi

11 years ago

wallpaper link please...

Report

C

BadChoice

11 years ago

Here you have:

http://www.gnome-look.org/content/show.php?content=74120

Report

Whise

11 years ago

img = cairo.ImageSurface.create_from_png('/usr/local/share/screenlets/SpidermanCover/error.png')

you should not look for the folder that way

Report

C

BadChoice

11 years ago

What is the best way to do this?

Report

11 years ago

- Changed the way it was looking for path (Thanks to Ashy and Whise)

- Fixed Update Interval (Now does automatic update correctly)

- Fixed for the new cover name Format in tiendapnini.es

12345678910
product-maker Count: 4 Rating: 5.0
File (click to download) Version Description Downloads Date Filesize DL OCS-Install
Pling
*Needs ocs-url or ocs-store to install things
Details
license
version
1.0
updated Mar 14 2008
added Jan 23 2008
downloads today
0
page views today 1