PDA

View Full Version : "Screenlets" v0.0.10 (like OSX Dashboard)


Pages : 1 2 3 [4] 5

Sorcerer
April 18th, 2007, 02:05 PM
Which screenlet?

kwaanens
April 18th, 2007, 02:07 PM
SystemStatusScreenlet v0.3 it says in prefs.

- K

EDIT: Latest version of screenlets from 3rd party Ubuntu repos

feiming
April 21st, 2007, 01:29 PM
This Systemstatus is a fix from the previous version.
Now it allow user to change their temperature location.The current default is at /proc/acpi/thermal_zone/TZS0/temperature

Fixed by Fabian Chong
Download link:

http://www.linuxsig.net/files/Systemstatus-fix.tar.gz


btw,why not move the project to sf.net?

Sorcerer
April 21st, 2007, 02:25 PM
Thanks for the fix, feiming, I'll add it to the main screenlet.

btw,why not move the project to sf.net?
There is a project page in Launchpad already.

kwaanens
April 21st, 2007, 02:45 PM
Weird actually, when I install totally unrelated stuff via Synaptic, screenlets is removed, marking the other screenlets-packages as "can be automatically removed".
Screenlets still work, but it's quite annoying.

- Ketil

bootsbradford
April 21st, 2007, 02:53 PM
I've just started using Screenlets today and have been so impressed with them. I started using the control, weather and clock and notes screenlets and had no problems at all.

However, using the mail Screenlet caused the whole program to grey out and crash. I cannot now get them to work without the mail one crashing everything.

How can I stop the mail Screenlet from booting up?

kwaanens
April 21st, 2007, 03:02 PM
Remove it from ~/.config/screenlets Just open the files in there in a text editor, and you'll find what it's called.

- Ketil

DJ_Peng
April 21st, 2007, 05:51 PM
Weird actually, when I install totally unrelated stuff via Synaptic, screenlets is removed, marking the other screenlets-packages as "can be automatically removed".
Screenlets still work, but it's quite annoying.

Indeed. [/Teal'c] I've wondered about that myself.

Also, just an FYI to anyone upgrading to Feisty and having problems with Screenlets after the upgrade, make sure Screenlets is closed then go into ~/.config/Screenlets, open the screenletsd.ses in your fav text editor and remove all lines except the Control Screenlet. Also remove their corresponding files from the folder, save the text file and fire Screenlets back up. You'll need to readd all your Screenlets again but they'll work consistently even after rebooting.

If someone has a better solution please share it because I couldn't find it.

RYX
April 21st, 2007, 06:27 PM
Weird actually, when I install totally unrelated stuff via Synaptic, screenlets is removed, marking the other screenlets-packages as "can be automatically removed".
Screenlets still work, but it's quite annoying.

Indeed. [/Teal'c] I've wondered about that myself.

Also, just an FYI to anyone upgrading to Feisty and having problems with Screenlets after the upgrade, make sure Screenlets is closed then go into ~/.config/Screenlets, open the screenletsd.ses in your fav text editor and remove all lines except the Control Screenlet. Also remove their corresponding files from the folder, save the text file and fire Screenlets back up. You'll need to readd all your Screenlets again but they'll work consistently even after rebooting.

If someone has a better solution please share it because I couldn't find it.
I wonder why you have to do that - what were the exact problems you had? The only problem with a Feisty-upgrade could be that you have to re-install the screenlets to make them available to the new python2.5. And this should only be a problem after doing a "dist-upgrade" ... I had no problems after installing Feisty and then installing the screenlets again - they used all my previous settings (I have my /home-folder mounted on a separate partition to be able to easily install a new system while keeping my personal data untouched).

DJ_Peng
April 21st, 2007, 06:40 PM
I had some video card issues that I had to resolve, and once I did the Screenlets were running but nowhere to be seen. It actually happened a couple of times, once when I rolled back to my onboard Intel graphics card and again once I got my Nvidia card working again. I didn't think it should be happening either, but I figure if it happened to me maybe it happened to someone else, too.

Any thoughts on why apt-get thinks Screenlets can be autoremoved, even when it's currently running?

mysteriis
April 25th, 2007, 01:34 AM
hey

I just installed screenlets yesterday and i really like it !

But I'm searching for a system-tray screenlet which shows the tray. I think gdeklets have such a desklet.
I need it because i want to delate the gnome-panel ;) atm i just use the gnome-panel for to see the system-tray for updates, messenger, ... .

sorry for my bad english :oops:

RYX
April 25th, 2007, 01:48 AM
hey

I just installed screenlets yesterday and i really like it !

But I'm searching for a system-tray screenlet which shows the tray. I think gdeklets have such a desklet.
I need it because i want to delate the gnome-panel ;) atm i just use the gnome-panel for to see the system-tray for updates, messenger, ...
Hey mysteriis - always good to hear people like the screenlets ... thanks :)

I thought about such a notification-area screenlet but it is harder to create than it might look. It needs to be conform with the standards to be a real replacement for the gnome-panel applet and it requires a lot of messing around with xwindow-attributes and such ... But I plan to do it somewhen.

:)

DJ_Peng
April 25th, 2007, 02:33 AM
hey

I just installed screenlets yesterday and i really like it !

But I'm searching for a system-tray screenlet which shows the tray. I think gdeklets have such a desklet.
I need it because i want to delate the gnome-panel ;) atm i just use the gnome-panel for to see the system-tray for updates, messenger, ... .

sorry for my bad english :oops:
I got around the problem with needing Gnome panel for notifications by moving that tray to my upper panel, along with my trash can and exit button. You can see how I have my desktop set up in this screenshot (http://www.ydwblog.com/images/PengDesktopSS.jpg).

Sorcerer
April 25th, 2007, 10:30 AM
mysteriis: the tray icon is in the screenlets-utils package. It'll install a menu icon also. The package 'screenlets' should depend. on it.

mysteriis
April 25th, 2007, 01:31 PM
mysteriis: the tray icon is in the screenlets-utils package. It'll install a menu icon also. The package 'screenlets' should depend. on it.

hm... What i'm searching for is a screenlet which shows the system-tray. something like the gnome-applet for the panel :wink: .

here you can see how i handle my problem at the moment...

http://img157.imageshack.us/img157/3185/bildschirmfoto1bz9.th.png (http://img157.imageshack.us/my.php?image=bildschirmfoto1bz9.png)

The gnome panel is at the left bottom using auto-hide. The Dock is the avant-window-navigator.

http://img157.imageshack.us/img157/4919/bildschirmfotoyo9.th.png (http://img157.imageshack.us/my.php?image=bildschirmfotoyo9.png)

btw can i find new screenlets downloads somewhere ?

Sorcerer
April 25th, 2007, 01:59 PM
Oh, I see now, sorry :oops:

btw can i find new screenlets downloads somewhere ?
I try to update the screenlets-extra package as soon as a new version of a screenlets comes out and some screenlets are here (http://hendrik.kaju.pri.ee/screenlets)

mysteriis
April 25th, 2007, 02:20 PM
no problem :)

Is this the right forum for suggestions ?

A volume-control screenlet would also be nice :D

DJ_Peng
April 25th, 2007, 07:06 PM
I asked this over in the Ubuntu forums earlier but never got a response. I saw an update to screenlets-extra but I never saw what the update (to 0.0.7-12 while the utils are still 0.0.7-11) includes. Does anyone here have any ideas what the update may be?

Vasek
April 25th, 2007, 08:03 PM
Is this the right forum for suggestions ?
Surely.

A volume-control screenlet would also be nice :D
This would really be useful, but I dream about something slightly more than a screenlet (but very similar) for this - some kind of stand-alone application which would react on some "mouse-binding" like Ctrl+Super+wheel (provided, e.g., by compiz' run_commandn) and fade in from nowhere and after the request back out, stealing no focus... This idea might have come to my mind after a short look at one OSX (before having compiz) which totally amazed me those days :-)

karmapolice
April 25th, 2007, 10:16 PM
I just use my multimedia keys and this is what it looks like in GNOME without extra apps:
http://img48.imageshack.us/img48/3247/screenshotzq6.th.png (http://img48.imageshack.us/my.php?image=screenshotzq6.png)

Vasek
April 25th, 2007, 10:20 PM
Great, nothing to do :-) Thank you, karmapolice.
Now only make it run without the MM keys... but that shouldn't be hard.

karmapolice
April 25th, 2007, 11:59 PM
MMM I didn't explain myself well.

The screenshot is something that comes by default in GNOME not something I am coding or coded. :wink: You can bind whatever keyboard combination you want.

RYX
April 26th, 2007, 12:04 AM
It's a new feature in gnome 2.18 - the volume-switcher now makes use of the compositing manager. I guess you can bind it to other keys using the gnome keybinding-config ...

:)

Vasek
April 26th, 2007, 01:10 AM
No, that's only my bad English influenced by my native language, I understood you.
"Now only make it..." was not meant as imperative, I'm sorry for making it sound so. Think of it more like "Now it's only needed to make it..."
Thank you both for the information.

drewbug01
April 26th, 2007, 07:20 AM
Please forgive me for not searching the thread, but its late (1am) and the thread is LOOONG!
I've used screenlets on other distros, but recently switched to Arch, and, no nice "deb" packages there.
When trying to add a screenlet, I recieve this error:
screenletsd add clock
Screenletsd v0.0.1 | (c) RYX (Rico Pfaus) 2007 | released under the GPL
Traceback (most recent call last):
File "/usr/local/share/screenlets/add-screenlet.py", line 16, in <module>
'/org/freedesktop/Screenlets')
File "/usr/lib/python2.5/site-packages/dbus/_dbus.py", line 412, in get_object
follow_name_owner_changes=follow_name_owner_change s)
File "/usr/lib/python2.5/site-packages/dbus/proxies.py", line 232, in __init__
_dbus_bindings.UInt32(0))
File "/usr/lib/python2.5/site-packages/dbus/proxies.py", line 171, in __call__
reply_message = self._connection.send_message_with_reply_and_block (message, timeout)
dbus.DBusException: org.freedesktop.DBus.Error.ServiceUnknown: The name org.freedesktop.Screenlets was not provided by any .service files

I'm not computer or really linux illiterate, but I'm not really familiar with python or Dbus. Any ideas as to why its crashing?
Thanks,
--Drew

karmapolice
April 26th, 2007, 09:47 AM
No deb packages but we have AUR which is better :P , I'm an ArchUser and I built my own package through this PKGBUILD
LINK (http://aur.archlinux.org/packages.php?do_Details=1&ID=9968&O=0&L=0&C=0&K=screenlets&SB=n&SO=a&PP=25&do_MyPackages=0&do_Orphans=0&SeB=nd)

You should read a little bit about AUR and PKGBUILD in the Arch forums/wiki. Once you get used to it you will never want Ubuntu back :P

feiming
April 26th, 2007, 12:09 PM
I just use my multimedia keys and this is what it looks like in GNOME without extra apps:
http://img48.imageshack.us/img48/3247/screenshotzq6.th.png (http://img48.imageshack.us/my.php?image=screenshotzq6.png)what did u used for the mac OS X like docker??

davim
April 26th, 2007, 02:16 PM
it looks like awn (the docker), you can get it here -> http://awn.wetpaint.com

mysteriis
April 26th, 2007, 11:59 PM
I just use my multimedia keys and this is what it looks like in GNOME without extra apps:
http://img48.imageshack.us/img48/3247/screenshotzq6.th.png (http://img48.imageshack.us/my.php?image=screenshotzq6.png)

If i use the multimedia keys it looks like this:

http://img251.imageshack.us/img251/9903/lautleisewq6.th.png (http://img251.imageshack.us/my.php?image=lautleisewq6.png)

:(

drewbug01
April 27th, 2007, 12:57 AM
@karmapolice:

Thanks so much! It worked perfectly. I had completely forgotten about AUR. You're right, I don't think I'll ever want Ubuntu back. Arch is faster anyway :-D
Thanks again!

bootsbradford
April 27th, 2007, 08:20 PM
Where is my screenlets folder?!! I have about 6 working at the moment but I can't locate them on my hard-drive. They are not in ~/.screenlets.

The reason I ask is I want to install a new one, I have done this and it went into ~/.screenlets folder. But it's sat there by itself. There is no option for me to make it appear on the screen via the Control screenlet.

Vasek
April 27th, 2007, 08:43 PM
Where is my screenlets folder?!! I have about 6 working at the moment but I can't locate them on my hard-drive. They are not in ~/.screenlets.

The reason I ask is I want to install a new one, I have done this and it went into ~/.screenlets folder. But it's sat there by itself. There is no option for me to make it appear on the screen via the Control screenlet.
No, there isn't. The Control screenlet's current design isn't prepared for the separation between /usr (/usr/local/share/screenlets on my system) and /home (/home/vasek/.screenlets here). This is justifiable since the separation came with version 0.0.7 and this issue is AFAIK going to be solved in 0.0.8.

[RYX, can't you pleeease just push it out? :) Seriously now, I thought only a few final bits of work are left. Can't we be of help with it somehow?]

In the meantime, you can use the command "screenletsd add [name]", this will find the screenlet in your home directory as good as in /usr. Another solution is to move the screenlet's directory from $HOME/.screenlets to /usr/local/share/screenlets among others, but I think you'll have to restart screenletsd to rescan the directory.

FYI, other directories screenlets use are one in Python's site-packages (this path varies significantly, but you won't really need it) and one in $HOME/.config/Screenlets for saving configuration.

Sorcerer
April 27th, 2007, 09:04 PM
Screenlets-control has an "Add custom screenlet" dialog that lists everything in ~/.screenlets aswell.

bootsbradford
April 27th, 2007, 10:17 PM
Screenlets-control has an "Add custom screenlet" dialog that lists everything in ~/.screenlets aswell.

I have tried to access this. I can click on 'custom' and try to add screenlets from home directory but the drop-down menu for that option doesn't do anything.

At the moment there is just one screenlet in my ~/.screenlets folder and that's the only one that WON'T work!

bootsbradford
April 27th, 2007, 10:35 PM
In the meantime, you can use the command "screenletsd add [name]", this will find the screenlet in your home directory as good as in /usr.

Unfortunately this does not work either. I cannot even add a control screenlet this way. I simply get this message:

Screenletsd v0.0.1 | (c) RYX (Rico Pfaus) 2007 | released under the GPL
add-screenlet-utility | (c) RYX (Rico Pfaus) 2007 | released under GPL
Class controlScreenlet not found.

Vasek
April 27th, 2007, 10:49 PM
Oops, I forgot to show an example. I think you tried: "screenletsd add control", am I right? Use the exact name, i.e., with first letter capital: "screenletsd add Control".

bootsbradford
April 27th, 2007, 11:33 PM
Yes, that works for the Control one. However, the new one I've just downloaded, the Temperature one, it doesn't. Even trying to add it from within the Control one doesn't work - you click on 'Temperature' and nothing happens!

Vasek
April 27th, 2007, 11:50 PM
Strange, I have never seen a Temperature screenlet and even Google seems not to know. Can you post it here, please?

Edit: I'm only very curious what it could be like... but I'm afraid it won't be a real screenlet (maybe another *-let - for another application). Should you know no way of uploading a file somewhere, you can eml me @ vasek.potocek[]post.cz.

DJ_Peng
April 28th, 2007, 12:41 AM
Could he be referring to the Weather screenlet? It has a nice bug temp display on it.

Vasek
April 28th, 2007, 12:47 AM
No, I can see it now :-o Pardon.
Some brand new screenlet on Sorcerer's site.

DJ_Peng
April 28th, 2007, 12:58 AM
Ah, so next time I get news of a Screenlets update in Ubuntu I'll at least have a clue what's in it. I still don't know what was in the last one I installed the other day.

Vasek
April 28th, 2007, 01:12 AM
OK. So "screenlets add Temperature" after unpacking doesn't find the directory for some reason :? but after restart it does and now it fails with:
Unable to load '/home/vasek/.screenlets/Temperature/TemperatureScreenlet.TemperatureScreenlet' - invalid literal for float(): cat: /proc/acpi/thermal_zone/THM/trip_points: No such file or directory
Well, I awaited that, my Linux simply doesn't know that piece of data...

fader
April 28th, 2007, 01:51 AM
OK. So "screenlets add Temperature" after unpacking doesn't find the directory for some reason Confused but after restart it does and now it fails with:

Unable to load '/home/vasek/.screenlets/Temperature/TemperatureScreenlet.TemperatureScreenlet' - invalid literal for float(): cat: /proc/acpi/thermal_zone/THM/trip_points: No such file or directory

Well, I awaited that, my Linux simply doesn't know that piece of data...


Vasek,

Sorry :( I hacked the Temperature screenlet together mostly just to see how screenlets worked. I don't really have a good handle on ACPI (or screenlets for that matter, which is why I blatantly ripped off RYX and Hendrik Kaju) and the only thing I've tested it on is my laptop. I was afraid that the temperature sensor might be different on other machines.

If you wouldn't mind, can you do me a favor and post the results of:
uname -a
and
find /proc/acpi/thermal_zone

I'll try to see if I can get my screenlet to support your hardware as well :)

fader
April 28th, 2007, 02:11 AM
Actually, could you please try downloading it again and giving it a shot? I made some changes that I hope will be more portable.

Vasek
April 28th, 2007, 02:31 AM
Vasek,

Sorry :( I hacked the Temperature screenlet together mostly just to see how screenlets worked. I don't really have a good handle on ACPI (or screenlets for that matter, which is why I blatantly ripped off RYX and Hendrik Kaju) and the only thing I've tested it on is my laptop. I was afraid that the temperature sensor might be different on other machines.

Hello, fader, how nice to see you here!

But now I'm embarrassed... Why apologies? I did no way want to criticise your work! Actually, it looks very fine!

Now I see my post may have looked like "Aha, another nonfunctional screenlet, >/dev/null", in that case, I want to apologize myself very much for making you so sad!

The point is I knew very well that no temperature display had had success on my machine so far -- it's probably too old for such things or I don't have something installed -- but I wanted to see any reason why Temperature screenlet should behave so differently (as bootsbradford described) than any other. Seeing it tries to start normally and fails only due to that meant everything was fine.

I believe you use right way to determine the temperature. It looks like nobody had problems with Sorcerer's (Hendrik Kaju's) SystemStatus screenlet, so if you used his code, you can't do anything wrong. Again, only I had to turn temperature display off, otherwise I looked at an empty rectangle :)

[Maybe it will be only a bit better to be prepared that the command can fail and display some sort of error message or dummy value if needed.]

I wish you much success making new beautiful screenlets!

Vasek


PS. Here is the output you wished for:
$ uname -a
Linux vasek.barrandov 2.6.20-1.2944.fc6 #1 SMP Tue Apr 10 17:27:49 EDT 2007 i686 athlon i386 GNU/Linux

The directory /proc/acpi/thermal_zone/ exists, but is empty.

PPS. Your second post came during typing my one (it takes me so long to express some thoughts in English), so I see it has a "No support" function now :-) Well done!!

Vasek
April 28th, 2007, 03:04 AM
Aha, this was the origin of the "No support" string:
$ acpi -tBS | cut -d ' ' -f 9
No support for device type: thermal
Clever :wink:

It looks, however, that I can do really nothing to enjoy your screenlet :(
But I'm looking forward to buy a laptop someday, so it will surely get its place there :)

Sorcerer
April 28th, 2007, 11:03 AM
Hi fader! Your second solution for Temperature is really good. Do you mind if I include it in Systemstatus?

@DJ_Peng: The package is updated whenever a new screenlet comes out or for bug fixes. I do test it before and don't push out anything unstable without a notice.

@all: Please remove older versions of Temperature from ~/.screenlets because they override the ones in /usr/local/share/screenlets and may cause trouble.

fader
April 28th, 2007, 04:09 PM
@Vasek: I think that means that you do not have a temperature sensor in your computer (or at least if you do, it's not supported). :/

@Sorcerer: Please feel free to use anything you like! I just happened across the acpi command last night while trying to find a more portable way of getting the thermal data. (I'm still not sure what will happen if someone has multiple sensors in their system...)

Vasek
April 28th, 2007, 04:26 PM
I'm only surprised that one mainboard manufacturer's control panel (on win) managed to fish out the temperature somehow (and the values used to make sense), but this means the sensor could be made in any vendor-specific way. I have said somewhere I knew my computer could be too old for this.

Edit: This discussion raised my interest in this topic, I just found that lm_sensors are able to get CPU temp after being set up appropriately... I'll post some news if I find some way of making the /proc entry work. Alternatively, you can add support for lm_sensors as well using this line:
[vasek@vasek ~]$ sensors | grep "CPU Temp"
CPU Temp: +57.4°C (low = +0.0°C, high = +70.0°C)
CPU Temp: -55°C (low = -1°C, high = +127°C) sensor = thermistor
[vasek@vasek ~]$ sensors | grep "CPU Temp" | head -1 | cut -c 13-14
57
[vasek@vasek ~]$ python
Python 2.4.4 (#1, Oct 23 2006, 13:58:00)
[GCC 4.1.1 20061011 (Red Hat 4.1.1-30)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import commands
>>> print commands.getoutput("sensors | grep \"CPU Temp\"")[12:14]
57
Edit2: I'm a bit overheated, aren't I? :oops:

steveway
April 28th, 2007, 08:41 PM
57°C is not much:
steveway@steveway-laptop:~/Desktop/aurora-0.9.1$ acpi -t
Thermal 1: ok, 55.0 degrees C
Thermal 2: ok, 59.0 degrees C
And when I open up a site with some Flash stuff the second goes up to about 90 untill my Pc shuts itself off.
There are really some problems with Flash on Linux, there should be some way to make it use less ressources.

bijoux
April 29th, 2007, 11:23 PM
can someone add down/up speed for eth* for systemstatus?
Thanks

DJ_Peng
April 30th, 2007, 12:48 AM
@DJ_Peng: The package is updated whenever a new screenlet comes out or for bug fixes. I do test it before and don't push out anything unstable without a notice.I saw I had updates for all of Screenlets today but no update info was available again. I'm guessing there was simply a lag issue somewhere. I get the same issue all the time with Automatix2.

Vasek
April 30th, 2007, 09:45 PM
A strange problem has begun to happen here recently...
From time to time, the WindowlistScreenlet suddenly disappears: it doesn't load at startup and when I look in screenletsd.ses, its line there simply isn't there! It seems its .state file is also gone -- I have 3 extra .state files right now, but I don't think any of them belonged to Windowlist. It's hard to track (I haven't managed to so far), because it happens rarely and unexpectedly, but Windowlist is the only one affected.
Any ideas? Anybody else seeing this?
[I'm using 0.0.7 from source tarball and have 15 screenlets open, none of them "problematic" (needing Internet access).]

Edit: Oh, how stupid I was :-) I had to do something on win recently and tried to shutdown X by Alt+F4, too, when no windows were open... but in that case the Windowlist was still there, but empty, and had focus :-)

badabing
May 3rd, 2007, 03:03 PM
screenlets are great!
im having trouble with the mailcheck applet tho, it crashes the whole thing

id love a bandwidth monitor screenlet and a stock watch one

thank you

Quazion
May 5th, 2007, 02:30 AM
Great work.

But of course i am also having some problems. When i use the Gnome 'Show Desktop' button my screenlets disappear. This is of course logical, since the screenlets are windows, but not my desired effect. Is there any way i can see my desktop and keep the screenlets around ? I read something about widgets and F9, but that doesn't seem to work here.

Also when i put a screenlet in ./screenlets, it shows up in the custom screen, but when i press add it does nada nothing..then i tried copying my screenlet to /usr/local/share/screenlets/ doesn't seem to help either. I can start my screenlet with ./ScreenLetName.py and it works great.. any ideas ?

I am working on a root-tail like screenlet. I hope to post it on Sunday :)

makoki
May 6th, 2007, 06:45 AM
Hi i just created a new screenlet and i'd like to share it with u.
U can find it here (http://cvs.ingecon.com:8080/MyRssScreenlet.tar.gz)
I hope u will find it useful

Agur

Cimi
May 6th, 2007, 01:52 PM
Hi i just created a new screenlet and i'd like to share it with u.
U can find it here (http://cvs.ingecon.com:8080/MyRssScreenlet.tar.gz)
I hope u will find it useful

Agur
It isn't working...

makoki
May 6th, 2007, 02:51 PM
Please explain what's the problem and i'll try to solve it.

To execute it, i just type in console
#$ cd /usr/local/share/screenlets/MyRss/
#$ python -u MyRssScreenlet.py

There's a problem with the path of the file containing the list of feeds to obtain (feedlist.dat) found in same dir as the screenlet. If someone has the solution please post it and i'll update the package.

Thx for the feedback.

Sorcerer
May 6th, 2007, 03:34 PM
Custom screenlets should be installed in ~/.screenlets, not in /usr/local/share/screenlets.

I think what Cimi meant was that it cannot be added with 'screenletsd add MyRss'. The screenlet cannot find feedlist.dat.

makoki
May 6th, 2007, 06:30 PM
Thx for the advice i'll try to make it up this afternoon and upload it. I'll post it when i have
thx again

makoki
May 7th, 2007, 01:59 AM
Hi, i updated MyRssScreenlet and now normally will install correctly through screenlet-control app. Please if someone is having trouble send feedback so i can try to solve it.
MyRssScreenlet 0.1 (http://cvs.ingecon.com:8080/MyRssScreenlet.tar.gz)

mysteriis
May 8th, 2007, 11:44 PM
hey all,

I have a suggestion for the "notes screenlet" :P

first i'd like to have scrollbars if the text reaches the end of the "window". my second wish is the possibility of creating more than one note. buttons like "+" to add and "-" to delete would do it.
if more notes are possible, then there also have to be some arrows to jump between forwards and backwards within the notes. take a look at the screenshot, it says all


http://img514.imageshack.us/img514/5912/notespc9.jpg (http://imageshack.us)

zerohalo
May 12th, 2007, 01:20 PM
Screenlets is great! I've tried different desklet applications, and this is the most promising, IMO.

Any chance of supporting Ruby for screenlets? Opens up the possibility of more people contributing widgets (which is a good thing).

andqso
May 14th, 2007, 12:57 AM
jacob@smalltalk:~$ screenletsd start
Screenletsd v0.0.1 | (c) RYX (Rico Pfaus) 2007 | released under the GPL
jacob@smalltalk:~$ CachingBackend: Loading cache ...
Session-file /home/jacob/.config/Screenlets/screenletsd.ses not found (will be created automatically).

jacob@smalltalk:~$ screenletsd add Clock
Screenletsd v0.0.1 | (c) RYX (Rico Pfaus) 2007 | released under the GPL
add-screenlet-utility | (c) RYX (Rico Pfaus) 2007 | released under GPL
ERROR:dbus.connection:Unable to set arguments ('ClockScreenlet',) according to signature u'vv': exceptions.TypeError: More items found in D-Bus signature than in Python arguments
Error: Screenlets-Backend (screenletsd) not found.
jacob@smalltalk:~$


?

cbudden
May 14th, 2007, 08:48 PM
Hey. How can I stop screenlets from randomly crashing, or not fully loading? I guess these are bugs :/

w822
May 17th, 2007, 03:15 PM
is there any developping going on? 0.0.7 is not very new.

Angafirith
May 17th, 2007, 06:07 PM
I'm working on a power-meter screenlet that uses HAL to get current battery status. I can get it to show any images in the theme, but I wanted to add an additional feature: the option to use your GPM icons from your GTK Theme. I've found code that will get me a Pixbuf of the GTK Icon, but not a way to actually display that on the screen. Does anyone know how I'd go about doing that?

Moses
May 17th, 2007, 06:57 PM
To draw a Pixbuf on a Cairo context:

ctx.set_source_pixbuf(pixbuf, x, y)
ctx.rectangle(x, y, pixbuf.get_width(), pixbuf.get_height())
ctx.clip()
ctx.paint()

Angafirith
May 18th, 2007, 04:46 AM
Ah, thank you! I've now finished my screenlet. It uses

I only have one battery, so I couldn't test to see if it works with more than one. Theoretically, it does, though it does not distinguish between them. I figured that I'd see if multi battery worked at all before trying to find a way to set them apart.

It comes with a basic theme. I'm not particularly artistic, so I just did the best I could.

Download (http://intentionallyleftblank.net/screenlets/PowerMeterScreenlet.tar.bz2)

cbudden
May 18th, 2007, 09:56 AM
I tried to install your screenlet using the settings program, which didn't work, tried copying to /usr/local/share/screenlets and it still did not come up in the list of screenlets. What am I doing wrong?

edit

adding the screenlets manually works.

Cimi
May 18th, 2007, 05:26 PM
Hi, i updated MyRssScreenlet and now normally will install correctly through screenlet-control app. Please if someone is having trouble send feedback so i can try to solve it.
MyRssScreenlet 0.1 (http://cvs.ingecon.com:8080/MyRssScreenlet.tar.gz)
[cimi@libra .screenlets]$ screenletsd add MyRss
Screenletsd v0.0.1 | (c) RYX (Rico Pfaus) 2007 | released under the GPL
add-screenlet-utility | (c) RYX (Rico Pfaus) 2007 | released under GPL
Class MyRssScreenlet not found.
[cimi@libra .screenlets]$ screenletsd add MyRssScreenlet
Screenletsd v0.0.1 | (c) RYX (Rico Pfaus) 2007 | released under the GPL
add-screenlet-utility | (c) RYX (Rico Pfaus) 2007 | released under GPL
Class MyRssScreenletScreenlet not found.

Sorcerer
May 18th, 2007, 05:35 PM
Angafirith, makoki: Could you post your screenlets here (http://hendrik.kaju.pri.ee/screenlets) also. A lot of people don't read this thread regularly. And is it OK if I include them in screenlets-extra?

Angafirith
May 19th, 2007, 05:04 AM
Please don't add mine yet; I want to make some changes that will probably be at least theme incompatible. I bought a mouse today that has its battery charge registered in HAL, which means that I'll probably change the mouse icons around. I'll change the charge icons to be overlays and add mouse/keyboard overlays, if I can figure that stuff out. I was very glad to see that my code does actually support such things. Once I make these changes, I'll have no problem with you adding them.

compizuser01
May 19th, 2007, 05:59 PM
When i use the Gnome 'Show Desktop' button my screenlets disappear. This is of course logical, since the screenlets are windows, but not my desired effect. Is there any way i can see my desktop and keep the screenlets around ? I read something about widgets and F9, but that doesn't seem to work here.

I hgave the same problem. Someone else in this topic said he did not have this problem with the Gdesklets, but I tried the Gdesklets, and had the same problem. Without Compiz (i.e. Suse 10.0) I do not have this problem.

This pretty much makes the sreenlets useless for me. I use desklets/screenlets to watch my system status. I do this by......: switching to the desktop! No matter how I switch to the desktop (ctrl + alt + D; Window Picker and click on the desktop; the Gnome Show desktop button) the desklets/screenlets always disappear.

Will there be a patch for Compiz, or the screenlets? Is there a woraround?

mikedee
May 19th, 2007, 06:07 PM
When i use the Gnome 'Show Desktop' button my screenlets disappear. This is of course logical, since the screenlets are windows, but not my desired effect. Is there any way i can see my desktop and keep the screenlets around ? I read something about widgets and F9, but that doesn't seem to work here.

I hgave the same problem. Someone else in this topic said he did not have this problem with the Gdesklets, but I tried the Gdesklets, and had the same problem. Without Compiz (i.e. Suse 10.0) I do not have this problem.

This pretty much makes the sreenlets useless for me. I use desklets/screenlets to watch my system status. I do this by......: switching to the desktop! No matter how I switch to the desktop (ctrl + alt + D; Window Picker and click on the desktop; the Gnome Show desktop button) the desklets/screenlets always disappear.

Will there be a patch for Compiz, or the screenlets? Is there a woraround?

Make sure this option is unchecked or set to false

general/allscreens/hide_skip_taskbar_windows

Enjoy your screenlets :)

compizuser01
May 19th, 2007, 07:47 PM
]

Make sure this option is unchecked or set to false

general/allscreens/hide_skip_taskbar_windows

Enjoy your screenlets :)
Thank you for your kind reply. :) However, I am not sure where to set the options you recommended... In a settings file (i.e. someting like: "~/.screnlets-settings-rc") perhaps?

mikedee
May 19th, 2007, 07:56 PM
Sorry, its a compiz setting. If you are using gconf then start gconf-editor and uncheck this value

/apps/compiz/general/allscreens/hide_skip_taskbar_windows

compizuser01
May 19th, 2007, 08:07 PM
Sorry, its a compiz setting. If you are using gconf then start gconf-editor and uncheck this value

/apps/compiz/general/allscreens/hide_skip_taskbar_windows
Yeeeeeeeeeeeeeehar! Works like a charm without a (X server) restart!! How did you know that? Oh, wait a minute: you're the developper. Thank you a lot. :)

cbudden
May 20th, 2007, 01:38 AM
I'm trying to add the MyRss screenlet, but I get the following error upon trying :

cbudden@cbudden-laptop:~$ screenletsd add MyRss
Screenletsd v0.0.1 | (c) RYX (Rico Pfaus) 2007 | released under the GPL
add-screenlet-utility | (c) RYX (Rico Pfaus) 2007 | released under GPL
Class MyRssScreenlet not found.

The screenlet is installed properly, in ~/.screenlets

Also, for an idea for the current RSS screenlet, what would be nice is a next / previous / refresh button to the right of the feed text, so you can just flick through the feed without right clicking every time you want to.


Thanks

Chris

mysteriis
May 24th, 2007, 10:19 PM
hey yo :)

Is it possible to create a little konsole/terminal screenlet ?
would be nice :)

davim
May 24th, 2007, 10:33 PM
hey yo :)

Is it possible to create a little konsole/terminal screenlet ?
would be nice :)

I would realy like that :)

Asmodai
May 27th, 2007, 02:16 PM
Hi, I have a little problem.
when I start up my ubuntu , if I have some screenlets set as widgets, make compiz crash and i have to restart compiz to make everything work again.
Compiz crash if i create a new screenlets and i put it as widget too.
I tried screelets with beryl and the widget plugin and in this way all works properly.
It seems the widget plugin dosen't work correctly.
what can i do? my compiz is the official one in feisty repository.
Maybe i need a new version?

someone have some clues?

tnx.

Sorcerer
May 27th, 2007, 03:18 PM
You have an old version of the widget plugin. Try this one: http://www.anykeysoftware.co.uk/compiz/plugins/widget-0.3.6.tar.gz

areskz
May 30th, 2007, 08:45 PM
Installing this on Ubuntu 6.10 Edgy
Installed successfully, but when trying to start (screenlets-tray), receive this:


root@areskz-desktop:/home/areskz# screenlets-tray
Screenletsd v0.0.1 | (c) RYX (Rico Pfaus) 2007 | released under the GPL
Traceback (most recent call last):
File "/usr/local/share/screenlets/screenletsd.py", line 491, in ?
session_bus = dbus.SessionBus()
File "/var/lib/python-support/python2.4/dbus/_dbus.py", line 266, in __new__
return Bus.__new__(cls, Bus.TYPE_SESSION, use_default_mainloop, private)
File "/var/lib/python-support/python2.4/dbus/_dbus.py", line 99, in __new__
bus._connection = dbus_bindings.bus_get(bus_type, private)
File "dbus_bindings.pyx", line 1692, in dbus_bindings.bus_get
dbus_bindings.DBusException: Unable to determine the address of the message bus (try 'man dbus-launch' and 'man dbus-daemon' for help)

Traceback (most recent call last):
File "/usr/local/bin/screenlets-tray", line 123, in ?
gtk.main()


What can be the trouble? GTK? Python? Help me, if you can.
Thanks.

compizuser01
May 30th, 2007, 08:46 PM
I have the same prob as I had with Compiz, but now with Beryl: when I switch to the desktop (crtl alt D) in Gnome then the Screenlets disappear as if they were regular windows.

To solve this in Compiz I had to start up the 'Gnome Configuration Editor' and uncheck the entry called:

apps > compiz > general > all screens > hide skip taskbar windows

However, there is no entry in this conf.ed. for Beryl... How can I stop the screenlets from disappearing in Beryl? Sorry to bother you again with the same question.

searayman
June 4th, 2007, 02:34 AM
idea for a super cool screenlet:

http://blog.pixelbreaker.com/upload/polarclock/polarclock.html

searayman
June 4th, 2007, 02:59 AM
when starting screenlets i get this error:

mike@mike-desktop:~$ screenlets-tray
Screenletsd v0.0.1 | (c) RYX (Rico Pfaus) 2007 | released under the GPL
CachingBackend: Loading cache ...
Traceback (most recent call last):
File "/usr/local/share/screenlets/screenletsd.py", line 493, in <module>
service = ScreenletsService(bus_name)
File "/usr/local/share/screenlets/screenletsd.py", line 247, in __init__
self.load_session()
File "/usr/local/share/screenlets/screenletsd.py", line 317, in load_session
classname = data[1].replace("\n", "")
IndexError: list index out of range

davim
June 5th, 2007, 02:16 AM
idea for a super cool screenlet:

http://blog.pixelbreaker.com/upload/polarclock/polarclock.html

Very very cool :)

QuickJelly
June 6th, 2007, 02:20 PM
I added the MailCheckScreenlet and that wasn't good. Every time I start the daemon I get an error message saying MailCheckScreenlet couldn't connect to the server, then all the other screenlets freeze up.

It doesn't matter if I restart the daemon or kill it since the next time I start it the MailCheckScreenlet will still be there and give me the same error. I've even tried reinstalling screenlets but the next time I install it and run the daemon, MailCheck will still cause problems.

Is there anyway I can remove the MailCheckScreenlet? I'm on beryl.

badabing
June 7th, 2007, 12:55 AM
open ~/.config/Screenlets/screenletsd.ses
and remove the mailchecker line

davim
June 7th, 2007, 12:15 PM
@RYX

Have you stoped your work on screenlets? I haven't eared any news about new releases :( and screenlets.org never got updated....

plun
June 11th, 2007, 08:44 PM
Well, with Gutsy Gibbons its totally "out of order"....... :(

Have no clue about how to fix this...

plun@dunder:~/Desktop/screenlets$ screenletsd start
Screenletsd v0.0.1 | (c) RYX (Rico Pfaus) 2007 | released under the GPL
plun@dunder:~/Desktop/screenlets$ CachingBackend: Loading cache ...
CachingBackend: Loading <ZFfU37N8OlQpSTGC>
CachingBackend: Loading <YHgaflaO4AqKyn9k>
CachingBackend: Loading <xMWZO1QmPEiZ3fv2>
CachingBackend: Loading <ZAWTmf1huODcvIrp>
Restore: <CPUMeterScreenlet#ZFfU37N8OlQpSTGC>
import_and_create_screenlet: CPUMeterScreenlet
Unable to load '/usr/local/share/screenlets/CPUMeter/CPUMeterScreenlet.CPUMeterScreenlet' - can't apply this __setattr__ to gobject.GObject object
Class CPUMeterScreenlet not found.
Restore: <ControlScreenlet#xMWZO1QmPEiZ3fv2>
import_and_create_screenlet: ControlScreenlet
Unable to load '/usr/local/share/screenlets/Control/ControlScreenlet.ControlScreenlet' - can't apply this __setattr__ to gobject.GObject object
Class ControlScreenlet not found.
Restore: <OrlojScreenlet#ZAWTmf1huODcvIrp>
import_and_create_screenlet: OrlojScreenlet
Unable to load '/usr/local/share/screenlets/Orloj/OrlojScreenlet.OrlojScreenlet' - can't apply this __setattr__ to gobject.GObject object
Class OrlojScreenlet not found.
Restore: <NowPlayingScreenlet#YHgaflaO4AqKyn9k>
import_and_create_screenlet: NowPlayingScreenlet
Unable to load '/usr/local/share/screenlets/NowPlaying/NowPlayingScreenlet.NowPlayingScreenlet' - can't apply this __setattr__ to gobject.GObject object
Class NowPlayingScreenlet not found.

***MEMORY-WARNING***: screenletsd.py[1600]: GSlice: g_thread_init() must be called before all other GLib functions; memory corruption due to late invocation of g_thread_init() has been detected; this program is likely to crash, leak or unexpectedly abort soon...



Thanks

EDIT

Seems to be a bug in glib 2.0

https://bugs.launchpad.net/ubuntu/+source/glib2.0/+bug/116870


:)

YUMYUM9x
June 13th, 2007, 01:30 PM
Help me please :(

how to remove background black color from Screenlets items?

http://img.icez.net/i/zw/screenshot.png

RYX
June 13th, 2007, 03:45 PM
You have to run a compositing manager to get rid of the black boxes. I'd recommend installing and running compiz ;) ... (which Linux distribution is that? Looks nice).

@plum: My guess would also be that it is a problem with the highly developmental state of Gutsy. I won't start any development on a Gutsy system before August, so there is no official support until then. But it'd be great if you could keep me informed about how it works and what the problems are. Thanks in advance! :)

(@all: screenlets are just taking a small summer-holiday, they are not dead :D ... )

delfick
June 13th, 2007, 04:03 PM
(@all: screenlets are just taking a small summer-holiday, they are not dead :D ... )

that's good to hear :D :D

YUMYUM9x
June 13th, 2007, 04:51 PM
You have to run a compositing manager to get rid of the black boxes. I'd recommend installing and running compiz ;) ... (which Linux distribution is that? Looks nice).

@plum: My guess would also be that it is a problem with the highly developmental state of Gutsy. I won't start any development on a Gutsy system before August, so there is no official support until then. But it'd be great if you could keep me informed about how it works and what the problems are. Thanks in advance! :)

(@all: screenlets are just taking a small summer-holiday, they are not dead :D ... )



(which Linux distribution is that? Looks nice). // http://ubuntustudio.org/

ps. i don't know how to install compiz on ubuntu T_T

compizuser01
June 13th, 2007, 09:05 PM
Does anybody know where to find the right zip code to use in the Weather screenlet for, say, the Netherlands?

[Edit] Found it: go to http://weather.yahoo.com , look up your country/city and have a look in the address bas of your internet browser (= Firefox), and there it is.....

davim
June 13th, 2007, 11:41 PM
ps. i don't know how to install compiz on ubuntu T_T

Compiz is installed by default in ubuntu, i don't know about ubuntustudio.

To enable compiz in ubuntu just go to the system menu and select preferences->Desktop Effects

cbudden
June 13th, 2007, 11:44 PM
Does anyone have a compiled widget plugin for 0.5 ? I have having much trouble compiling it with 0.5.

Thanks

edit.

managed to compile myself, but using the correct version of the plugin.

Glauco
June 14th, 2007, 04:17 AM
Why my Screenlets sometimes start with duplicate items? I can see no reason, there's no error messages.
Is there a log or something to look into for the causes of this?


____________________

Sorry my english

YUMYUM9x
June 14th, 2007, 09:11 AM
ps. i don't know how to install compiz on ubuntu T_T

Compiz is installed by default in ubuntu, i don't know about ubuntustudio.

To enable compiz in ubuntu just go to the system menu and select preferences->Desktop Effects

thank you :wink:

toxicavenger
June 17th, 2007, 06:32 AM
Hi. Nice tool. The edges are black, not transparent when I try it. Any thoughts to what I am doing wrong?

http://i192.photobucket.com/albums/z185/toxicavenger_2007/backgroundNotTransparent.png

toxicavenger
June 17th, 2007, 06:41 AM
Hi. Nice tool. The edges are black, not transparent when I try it. Any thoughts to what I am doing wrong?

ok, now I saw the earlier posting about black boxes. my bad.

toxicavenger
June 17th, 2007, 07:08 AM
I am trying out the two RSS-feeders. I get them both to feed, but I cant get them to open up the items in any browser. Is it possible to click on a feed item and read more about the item in my browser?

toxicavenger
June 17th, 2007, 11:19 AM
after reading the pythonscript of myrss my guess is that the screenlet does not have source code for listening to the mouse or source code for invoking a browser. i am new to python, but am I right?

how would I go about modifying the script to add mouse events? presumably I would need to use some graphics library, or rather the exact graphics library that the screenlet is already using for rendering the nice looking text. but, since i am new to python, i can't find any reference in the script to the graphics library. cairo is imported, and I understand from wikipedia that cairo is only about rendering texts, which means that there must be some other graphics library already used in the screenlet because we actually see a window (the screenlet window duh..).

ok, "import screenlets" says it all i think. screenlets is a graphical library. can I use that library to add mouse listener functionality to the screenlet? is there an API I can read?

plun
June 19th, 2007, 11:24 AM
@plum: My guess would also be that it is a problem with the highly developmental state of Gutsy. I won't start any development on a Gutsy system before August, so there is no official support until then. But it'd be great if you could keep me informed about how it works and what the problems are. Thanks in advance! :)


Thanks for answering !

This error occurs with several applications and it just a Debian import
to Gutsy and Gnome update to 2.19.3 or 4

Seems to be a dbus error

plun@dunder:~$ sudo screenletsd start
Screenletsd v0.0.1 | (c) RYX (Rico Pfaus) 2007 | released under the GPL
plun@dunder:~$ Traceback (most recent call last):
File "/usr/local/share/screenlets/screenletsd.py", line 491, in <module>
session_bus = dbus.SessionBus()
File "/var/lib/python-support/python2.5/dbus/_dbus.py", line 216, in __new__
mainloop=mainloop)
File "/var/lib/python-support/python2.5/dbus/_dbus.py", line 107, in __new__
bus = BusConnection.__new__(subclass, bus_type, mainloop=mainloop)
File "/var/lib/python-support/python2.5/dbus/bus.py", line 108, in __new__
bus = cls._new_for_bus(address_or_type, mainloop=mainloop)
dbus.exceptions.DBusException: org.freedesktop.DBus.Error.NoReply: Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken.


So this is a "follow-upstream" challenge to rebuild all applications, the same error was with
latest Avant-Window-Navigator. It also seems that glib 2.0 devs forces all application devs
to hook with more "correct" methods. I cannot judge what the correct way is....

***MEMORY-WARNING***: screenletsd.py[2000]: GSlice: g_thread_init() must be called before all other GLib functions; memory corruption due to late invocation of g_thread_init() has been detected; this program is likely to crash, leak or unexpectedly abort soon...


Have a nice summer !

:)

RYX
June 25th, 2007, 01:06 PM
after reading the pythonscript of myrss my guess is that the screenlet does not have source code for listening to the mouse or source code for invoking a browser. i am new to python, but am I right?

how would I go about modifying the script to add mouse events? presumably I would need to use some graphics library, or rather the exact graphics library that the screenlet is already using for rendering the nice looking text. but, since i am new to python, i can't find any reference in the script to the graphics library. cairo is imported, and I understand from wikipedia that cairo is only about rendering texts, which means that there must be some other graphics library already used in the screenlet because we actually see a window (the screenlet window duh..).

ok, "import screenlets" says it all i think. screenlets is a graphical library. can I use that library to add mouse listener functionality to the screenlet? is there an API I can read?
The screenlets-module is a utility package containing the Screenlet-class and some helper-classes. The Screenlet-class contains most of the boilerplate code for the application. The screenlets are using GTK for doing their windowing, so you can use any gtk-events from within the screenlets. Additionally the screenlets offer their own event-callbacks to simplify the event-handling (e.g. on_paint, ...). Cairo is a drawing API similar to PostScript - it allows vector-based drawing and font-rendering.

I recommend reading through the sources of the default screenlets, they should contain a lot of comments and info about how the whole thing works.

:)

RYX
July 16th, 2007, 01:45 AM
After a four months delay I am happy to announce the new release of the screenlets (and yet again on a sunday :D) ... As always, see the first post for details, screenshot and download-link ...

I hope it fixes the several problems people had with the previous version (it should also fix the glib-problem on Gutsy).

:)

delfick
July 16th, 2007, 01:53 AM
thankyou :D

RYX
July 16th, 2007, 01:57 AM
No problem :) ... (btw: I just uploaded a new version which fixes a small issue)

:)

delfick
July 16th, 2007, 02:14 AM
hmmm, doing 'screenletsd start' in the terminal then launching the control screenlet and attempting to add a screenlet gives me this "No backend running - failed to add Screenlet."

....

other than that they seem to be working fairly well :D

and the obligatory really bad screenshot http://delfick.storage.googlepages.com/screenlets0.0.8.jpg :D

delfick
July 16th, 2007, 02:17 AM
that problem is still there with the version you just uploaded...

RYX
July 16th, 2007, 02:22 AM
The screenletsd is deprecated. You need to start the screenlets individually for now or use the makefile in the "gnome"-folder to install some .desktop-files which simplify launching (some of) the screenlets. I hope someone writes some screenlets-manager soon.

If you have set your gnome-session to auto-save and simply close the session while one or more screenlets are open, they should be restored on startup (I guess, not tried yet :)).

:)

delfick
July 16th, 2007, 11:38 AM
The screenletsd is deprecated. You need to start the screenlets individually for now or use the makefile in the "gnome"-folder to install some .desktop-files which simplify launching (some of) the screenlets. I hope someone writes some screenlets-manager soon.

If you have set your gnome-session to auto-save and simply close the session while one or more screenlets are open, they should be restored on startup (I guess, not tried yet :)).

:)

ok then....

RYX
July 16th, 2007, 02:34 PM
Oops - sorry, I now understand what you mean ... :D

The ControlScreenlet's "Add"-function seems to be broken due to the changes. I will fix that with the next release (I am already working on it). And while I'm at it I'll try to make it list all screenlets, not only the system-wide ones. I think I'll release an unstable 0.0.9 version within the next days which I will frequently update while I make progress.

:)

delfick
July 16th, 2007, 02:51 PM
Oops - sorry, I now understand what you mean ... :D

The ControlScreenlet's "Add"-function seems to be broken due to the changes.

ooohh, ok then.....
I think I'll release an unstable 0.0.9 version within the next days which I will frequently update while I make progress.

you should get yourself an svn or git server or something to host this stuff.. :D

RYX
July 16th, 2007, 03:13 PM
I already have a launchpad project for it, but I have no idea of how to work with those code-revision-systems :D ... never did it before. And all those tutorials and explanations can be quite hard to understand if it is a whole new topic as such. If I knew how to: create an official branch, work on my own local copy, submit changes to the main branch and confirm/reject/review changes from others, then I could give it a try ... (I only theoretically know what the purpose of those systems is, but am missing the actual use-experience, which makes me a bit hesitating)

:)

bluebyt
July 17th, 2007, 01:20 AM
I make a script to open up the screenlets at startup but it doesn't get trough? (sorry I don't want to use auto-save in my sessions, last time i did this, I messed up feisty!)

Here the script:
----------------------------
#!/bin/sh
PWD=pwd
beryl-manager
sleep 10
avant-window-navigator
sleep 2
python -u /usr/local/share/screenlets/Clock/ClockScreenlet.py
python -u /usr/local/share/screenlets/CPUMeter/CPUMeterScreenlet.py
cd $PWD
--------------------------------
It stop after AWN and if I close AWN after the clock appeared, after that I close the clock and the CPUmeter appeared.

Thanks RYX keep up the good work!

RYX
July 17th, 2007, 01:31 AM
Yes, I know about the problem of auto-save, I will try to find a solution to the startup-problem. Does this work for you?#!/bin/sh
PWD=pwd
beryl-manager
sleep 10
avant-window-navigator &
sleep 2
python -u /usr/local/share/screenlets/Clock/ClockScreenlet.py &
python -u /usr/local/share/screenlets/CPUMeter/CPUMeterScreenlet.py &
cd $PWD
(If you add an "&" at the end of the line, the command will run as its own process and not block the script.)

:)

RYX
July 17th, 2007, 01:45 AM
Alternatively, you could add the individual screenlets to your gnome-session's startup-programs. That doesn't require editing scripts and should work as well.

:)

bluebyt
July 17th, 2007, 02:27 AM
Thanks RYX working great now!

The PicframeScreenlet is very cool!

Maybe in the future it will be cooler if the screenlet can be set to scan all pictures of a folder.

Like this:

http://widgets.yahoo.com/gallery/view.php?widget=38236

bluebyt

anshuman
July 18th, 2007, 03:00 PM
my pc is fedora7, had to install pyxdg but still error.

-------------------------------------------------------------------------------------------------------------------------------
screenletsd start
Screenletsd v0.0.1 | (c) RYX (Rico Pfaus) 2007 | released under the GPL
[root@ andrew]# Traceback (most recent call last):
File "/usr/local/share/screenlets/screenletsd.py", line 498, in <module>
session_bus = dbus.SessionBus()
File "/usr/lib/python2.5/site-packages/dbus/_dbus.py", line 216, in __new__
mainloop=mainloop)
File "/usr/lib/python2.5/site-packages/dbus/_dbus.py", line 107, in __new__
bus = BusConnection.__new__(subclass, bus_type, mainloop=mainloop)
File "/usr/lib/python2.5/site-packages/dbus/bus.py", line 108, in __new__
bus = cls._new_for_bus(address_or_type, mainloop=mainloop)
dbus.exceptions.DBusException: org.freedesktop.DBus.Error.NoReply: Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken.

[root
-------------------------------------------------------------------------------------------------------------------------------


(got 0.0.8 file from first post of this thread)

RYX
July 18th, 2007, 10:37 PM
Don't use "screenletsd start *" anymore, you have to run the screenlets individually now e.g.:/usr/local/share/screenlets/Notes/NotesScreenlet.py

With the next version the DE-integration will get better and you can launch the screenlets directly from your Applications-menu. You can already use the makefile in the "gnome"-folder for installing some .desktop-files and add a "Screenlets"-submenu to your Applications-menu (this should also work for KDE, I guess).

@bluebyt: Yes, it is a good idea to scan a folder for a list of images (I am unsure about the blogging and flickr integration, though :)) ... would maybe require two buttons which can be used to switch left/right. The screenlet could also watch the folder to automatically add images when they get copied into the scanned folder. But I have some other things to do first :D ...

:)

Sorcerer
July 19th, 2007, 12:40 PM
Cool - 0.0.8 finally out! With DBus support it was worth waiting for, though :D

yankdownunder
July 22nd, 2007, 02:01 AM
Loved these Screenlets and that's what supposedly kept me from upgrading my FC6 to F7 - because I couldn't get the bloody packages that I found to work properly with F7 - erf - but, now having found a six-month old post with the 0.0.8 sources - now I'm flying into high gear. Just tested 'em out on a new F7 install and they're working like a champ. Now all my reasons for NOT upgrading to F7 have disappeared.

Truly appreciate the time and effort you've put into this little project and I, amongst the many, shall be patiently watching the growth.

Still boggled as to why no one in the Fedora crew has packaged 0.0.8 up or put it in the repos...ah well... :D

Thoughtjacked
July 22nd, 2007, 09:12 PM
I changed some things in the weather screenlet and made a new theme for it as well.

http://thoughtjacked.freepgs.com/Screenshot-mini.png
Bigger (http://thoughtjacked.freepgs.com/Screenshot.png)

- changed the drawing order of the dividers so they appear under the day-bg
- changed the day names to short form and edited the spacing between them. I suppose that could be offered as an option
- removed the header from the extended forecast
- changed the side of the temperature text
- centered "no information available"
- changed some font choices; I suppose that could be offered as an option

There's some code in the screenlet that does some things based on what theme is loaded. Should that be factored out somehow?

Maybe in the future I'll start loading PNGs instead of SVGs (or offer a visible option to do so) because PNGs offer better details at the cost of being unable to scale indefinitely.

Does anyone want this?

searayman
July 22nd, 2007, 11:58 PM
I changed some things in the weather screenlet and made a new theme for it as well.

http://thoughtjacked.freepgs.com/Screenshot-mini.png
Bigger (http://thoughtjacked.freepgs.com/Screenshot.png)

- changed the drawing order of the dividers so they appear under the day-bg
- changed the day names to short form and edited the spacing between them. I suppose that could be offered as an option
- removed the header from the extended forecast
- changed the side of the temperature text
- centered "no information available"
- changed some font choices; I suppose that could be offered as an option

There's some code in the screenlet that does some things based on what theme is loaded. Should that be factored out somehow?

Maybe in the future I'll start loading PNGs instead of SVGs (or offer a visible option to do so) because PNGs offer better details at the cost of being unable to scale indefinitely.

Does anyone want this?

yes i would liek to get this theme for my weather screenlet

Thoughtjacked
July 23rd, 2007, 12:35 AM
Here is the link for the updated Weather. The new theme is called spiff.



http://thoughtjacked.freepgs.com/Weather.tar.gz

searayman
July 23rd, 2007, 12:55 AM
Here is the link for the updated Weather. The new theme is called spiff.



http://thoughtjacked.freepgs.com/Weather.tar.gz

ok i ran it and when i rigtht click and pick theme spiff doesnt show up.... but i do see spiff if i look in the theme folder...

RYX
July 23rd, 2007, 12:56 AM
@Sorcerer: Nice to see you again :) ... How do you like the changes? Do you have any suggestions or ideas for improvement?

@yankdownunder: Thanks :) ... The 0.0.8 version is just out since a week so the FC7 guys are not _that_ slow ...

@Thoughtjacked: I really like your additions to the WeatherScreenlet. As far as I remember it is unmaintained so I am sure it would be very happy if you'd take it and care for it :) .... I'd like to have a service for it so I can easily query the current weather from within the FlowerScreenlet and then let it grow (or dry out) depending on the actual weather in the user's area ...
Concerning the usage of PNG-files - they will be supported by default with the next release, so you can save the trouble and just wait one or two days ;) ...

Some notes to keep you all updated, next release will contain these features (and maybe some more but these are already finished and working):
- improved Launcher (you can now add icons/actions by drag&drop from your Apps-menu)
- improved MailCheck (now stores password in keyring and uses new AccountOption-type for saving user/password, also now allows creating different backends for checking mail (POP3 available - gmail, imap, maildir (,?) are open tasks))
- improved CPUMeter (some more options and new theme)
- improved theme-system, now handles theme.conf much better and allows (alternative) usage of PNG-images within themes (needs small modification in Screenlet's drawing code) ... so themes can use either PNG or SVG images and even mix them up .. (I hate this, but I know many people want it)
- improved Properties-dialog with own theme-selection page (where metainfo from theme.conf is shown)
- several fixes and optimizations that may cause the startup to be a bit faster and less ugly

:)

Thoughtjacked
July 23rd, 2007, 02:05 AM
@RYX: Could you add something to toggle the ability to scale the widget, so people can keep users from breaking widgets with PNGs?

And can anyone point me in the direction of an example of embedding other widgets into these (like text boxes, scrollbars, etc.)?

RYX
July 23rd, 2007, 03:27 AM
@RYX: Could you add something to toggle the ability to scale the widget, so people can keep users from breaking widgets with PNGs?
Yes, should be fairly simple. Though you can't really call it "broken", it just looks pixelated and ugly ...

And can anyone point me in the direction of an example of embedding other widgets into these (like text boxes, scrollbars, etc.)?
That is a difficult task because gtk-widgets don't support transparent backgrounds (yet?) and always fills up the whole area with a gray rectangle (so the screenlet is overdrawn). The default widgets won't be much of use. Moses started experimenting with fully owner-drawn widgets a while ago - it looked quite promising (it's somewhere buried in this thread ... in the second half, I guess :)) ...

:)

Sorcerer
July 23rd, 2007, 11:53 AM
@RYX: I have only had a really quick look at the code (I don't have a computer ATM, apparently it takes three weeks to repair a Fujitsu-Siemens laptop's fan :D) but it looks very promising, especially drag and drop and DBus support.

plun
July 23rd, 2007, 12:08 PM
Some notes to keep you all updated, next release will contain these features (and maybe some more but these are already finished and working):
- improved Launcher (you can now add icons/actions by drag&drop from your Apps-menu)
- improved MailCheck (now stores password in keyring and uses new AccountOption-type for saving user/password, also now allows creating different backends for checking mail (POP3 available - gmail, imap, maildir (,?) are open tasks))
- improved CPUMeter (some more options and new theme)
- improved theme-system, now handles theme.conf much better and allows (alternative) usage of PNG-images within themes (needs small modification in Screenlet's drawing code) ... so themes can use either PNG or SVG images and even mix them up .. (I hate this, but I know many people want it)
- improved Properties-dialog with own theme-selection page (where metainfo from theme.conf is shown)
- several fixes and optimizations that may cause the startup to be a bit faster and less ugly



Hi RYX

Can you please take a look at the Gutsy problem... :D

I upgraded again to Tribe 3 and both old screenlets and the new screenlets are broken.

plun@dunder:~$ python -u /usr/local/share/screenlets/Clock/ClockScreenlet.py CachingBackend: Loading instances from cache
Loading instances in: /home/plun/.config/Screenlets/Clock/default/
No instance(s) found in session-path, creating new one.
Traceback (most recent call last):
File "/usr/local/share/screenlets/Clock/ClockScreenlet.py", line 374, in <module>
screenlets.session.create_session(ClockScreenlet)
File "/usr/lib/python2.5/site-packages/screenlets/session.py", line 293, in create_session
session.start()
File "/usr/lib/python2.5/site-packages/screenlets/session.py", line 166, in start
sl = self.screenlet(session=self, id=self.__get_next_id())
File "/usr/local/share/screenlets/Clock/ClockScreenlet.py", line 73, in __init__
Screenlet.__init__(self, uses_theme=True, **keyword_args)
File "/usr/lib/python2.5/site-packages/screenlets/__init__.py", line 341, in __init__
EditableOptions.__init__(self)
File "/usr/lib/python2.5/site-packages/screenlets/options.py", line 174, in __init__
self.__options__ = []
File "/usr/local/share/screenlets/Clock/ClockScreenlet.py", line 141, in __setattr__
super(ClockScreenlet, self).__setattr__(name, value)
File "/usr/lib/python2.5/site-packages/screenlets/__init__.py", line 481, in __setattr__
object.__setattr__(self, name, value)
TypeError: can't apply this __setattr__ to gobject.GObject object


Thanks 8)

RYX
July 23rd, 2007, 01:31 PM
@Plun: I have no possibility to install a Gutsy-system yet, so maybe we can track down the problem this way :) ... I guess it should be something simple. Can you try to open the file "src/lib/__init__.py" (inside the screenlet's tarball) and change the line 481 from this:
object.__setattr__(self, name, value)
to this:
gobject.GObject.__setattr__(self, name, value)
... and then install again with "sudo make install"?

@Sorcerer: Yeah, I know that service-hell with laptops ... I waited six weeks for the Toshiba-service to finally tell me that my laptop was not repairable, then I bought a new processor on ebay, exchanged it myself (which was surprisingly simple) and the whole thing was working again ... (and suddenly it had 2.6 instead of 2.53 ghz :D) .. However - I hope you get your machine back soon!

:)

plun
July 23rd, 2007, 01:58 PM
@Plun: I have no possibility to install a Gutsy-system yet, so maybe we can track down the problem this way :) ... I guess it should be something simple. Can you try to open the file "src/lib/__init__.py" (inside the screenlet's tarball) and change the line 481 from this:
object.__setattr__(self, name, value)
to this:
gobject.GObject.__setattr__(self, name, value)
... and then install again with "sudo make install"?



YES.... :D it works....

plun@dunder:~/Desktop/screenlets$ python -u /usr/local/share/screenlets/Clock/ClockScreenlet.py
CachingBackend: Loading instances from cache
Loading instances in: /home/plun/.config/Screenlets/Clock/default/
No instance(s) found in session-path, creating new one.
theme.conf found! Loading option-overrides.
CachingBackend.save_option: theme_name=station
CachingBackend.save_option: x=0
CachingBackend.save_option: x=1
CachingBackend.save_option: y=752
CachingBackend: Saving <#Clock1> :) ...
OK


Thanks ! :lol:

EDIT
screenletsd start/stop also works after this magic code change...

RYX
July 24th, 2007, 01:32 AM
Just wanted to note that the new release is out. As always, check the first post in this thread :) ... (many nice improvements)

@plun: Cool. Good to know its fixed. Thanks for your help :)

delfick
July 24th, 2007, 03:20 AM
awsome :D

adding screenlets via the control screenlet works again :D
(though adding another control screenlet via it makes the control screenlet crash)

also, mailcheck doesn't seem to work after i've put in pop.gmail.com as the pop server, and then my username and password (and then sent a test email to myself)....

and i like the new tabbed interface for the properties window :D

Thoughtjacked
July 24th, 2007, 06:06 AM
So I am working on another screenlet. It's intended to be like CPUMeter, but for a variety of devices, like memory, hd disk space, wireless strength, etc.

http://thoughtjacked.freepgs.com/DeviceMeter.tar.gz

I'll figure out if it works on 0.0.9 later.

I'm having a problem with it in that not all the svgs scale cleanly. Specifically, dev-emblem-bg.svg.

What is going on?

davim
July 24th, 2007, 08:39 AM
Hi! thanks for the new version :)

It would be cool if the picture frame could scan through the pictures in a folder and it would also be cool if we could put a picture on the clock screenlet :)

RYX
July 24th, 2007, 12:04 PM
@delfick: Thanks :) ... The mailcheck is still quite buggy. You always have to hit the apply button after changing your password or the server url. There may be a problem with gmail because they use SSL-encrypted logins (only?), which my POP3Backend currently doesn't... I hope someone will write a GmailBackend soon (or I'll find a way around the ssl-stuff).
And I'll look into the Control->Control->Crash problem, thanks for noting it :) ...

@Thoughtjacked: A DeviceMeter is a good idea. Do you want to use a user-definable shell-command which is executed on each update? That way it could become an "AnyMeter" ...
The problem with the SVG may be related to groups in the file. I found out that if you group a couple of shapes and then save the SVG and load it through librsvg, the grouped shape is getting rendered as pixel-graphics (and gets pixelated once you scale the image, while the rest stays the same) ... I am not entirely sure that it is a problem of librsvg, but I assume it is.

@davim: Nevermind :) ... The scanning-function of the Picframe is on my list, the clock may be able to use a picture soon, too. for now, the clock is the only Screenlet which doesn't support "mixed themes" (due to compatibility with cairo-clock), otherwise it would be already possible to simply exchange the "clock-frame.svg" with a .png-file of your choice.

delfick
July 24th, 2007, 12:23 PM
@delfick: Thanks :) ...
no probs :D

There may be a problem with gmail because they use SSL-encrypted logins (only?),

ahhhh, ok then....

I hope someone will write a GmailBackend soon (or I'll find a way around the ssl-stuff).

me too :D

And I'll look into the Control->Control->Crash problem, thanks for noting it :) ...

good luck :P

maluze
July 25th, 2007, 01:44 AM
Hi guys, I am running Ubuntu 7.04, I've had screenltsd 0.0.7 running for a long time, think they are great, and decided to 'upgrade' to 0.0.9 today. However, after installing, nothing happened when i clicked on the screenlets within accessories>screenlets. So, i tried to install with the .rpm package which was included in the download, and the end result was no different. However, when I ran "screenletsd" in CLI, I get this vaguely interesting error:

/usr/local/bin/screenletsd: line 99: syntax error near unexpected token `('
/usr/local/bin/screenletsd: line 99: ` echo " 'add <name>' : add a Screenlet (e.g. 'add Clock')"'

not sure why the screenlets wont show up =/
[/code]

RYX
July 25th, 2007, 02:29 AM
Hi maluze!

Screenletsd is not used anymore. What happens if you run a screenlet directly like e.g. "/usr/local/share/screenlets/Clock/ClockScreenlet.py"? Do you get any error messages?

And where did you download the packge you used for installation? Maybe it is broken. It could be that the author of the package changed the install-path from /usr/local to /usr (even though I noted that he shouldn't ;)) but forgot to change the paths in the .desktop-files, too. I am not sure.

I recommend using the official .tar.gz2-file from the first post in this thread. It doesn't need any compilation so it should be easy and quick to install for everyone. Just run "sudo make install" within the dir you extracted it to.

:)

maluze
July 26th, 2007, 12:47 AM
thanks for the info...but is there an easy way to make the screenlets run? the clock appeared...

RYX
July 26th, 2007, 01:08 AM
The latest version allows you to install a submenu in your Applications-menu (just run "sudo make menu" in the dir you extracted to). It offers the most stable screenlets as menu-items.

Alternatively you can use the Control to add new screenlets (it also shows the ones from your user-dir).

If you want them to launch automatically on startup you currently need to manually add them to your session's startup programs (or put them into autostart-dir on KDE?). This will change once we have a useful screenlets-manager or startup-script.

:)

maluze
July 26th, 2007, 01:26 AM
when i run sudo make menu, I get the following error message: justin@justin-desktop:~/screenlets-0.0.9$ make menu
make -C desktop-menu
make: *** desktop-menu: No such file or directory. Stop.
make: *** [menu] Error 2

RYX
July 26th, 2007, 01:38 AM
:oops: ... Looks like I forgot to modify the MANIFEST file to include the desktop-menu folder into the package and now it is missing. I'll upload a new version within the next hour. Thanks for noting this :)

RYX
July 26th, 2007, 01:45 AM
Corrected the package. Should work now :)

maluze
July 26th, 2007, 02:00 AM
I just downloaded it, and it works now...thanks a lot!..

maluze
July 26th, 2007, 02:51 AM
I must say, that this new method of managing screenlets takes its toll on memory usage. Before, it was just "screenletsd" and one instance of python running, now there is one instance of python running for EACH screenlet!. I think this is a glaring issue that should be addressed...

RYX
July 26th, 2007, 03:01 AM
It is no real problem, most of it should be shared memory anyway ... Having them in separate processes has more advantages than disadvantages. Its not that each single screenlet has its own process, only screenlets of different types. Having them all in one process caused blocking problems with threads and often made everything hang because one screenlet was lagging (the good old MS-Windows problem). Logically seen, the screenlets _are_ separate processes and it would make no sense at all to keep them within one process.

I will improve the options-system in the near future so options will not be saved per instance anymore. That should save some memory. Also switching the themes still causes the memory to increase slowly - seems to be a problem of rsvg or the way the handles are freed internally.

:)

Thoughtjacked
July 26th, 2007, 05:57 AM
I may be getting ahead of myself, but is there any way to incorporate animation into widgets?
I think I could do pulsing/fading with cairo, but how about something more complex like an
undulating sine wave?
I say I think because I'm no python/cairo pro.

On a separate note, I've read the blogs from everyone who attended GUADEC, and they're
all talking about "bling" that should be in the next version ( or next next version) of GTK.
RYX, do you think you could complain to anyone about the issues you've had in
writing the screenlets class?

And finally, here is a scenario I need help with.
Suppose I have a screenlet composed of an svg and some text. If the text is "foo"
at size 3. Everything is gravy because "foo" fits within the svg.

But suppose the text is "St. Petersburg". Then the text doesn't fit at size 3. Is there anything
I can do to find out what size font I would need to fit "St. Petersburg" on my svg?
Or even simpler, can I measure the dimensions of a text string in pixels using cairo?

RYX
July 26th, 2007, 01:23 PM
I may be getting ahead of myself, but is there any way to incorporate animation into widgets?
I think I could do pulsing/fading with cairo, but how about something more complex like an
undulating sine wave?
I say I think because I'm no python/cairo pro.
It is possible, but not very fast yet (i.e. quite cpu intense). I want to address that in future versions (maybe using libclutter) - I am by far no python "pro" myself so I always need a while to find somehow elegant solutions to problems.

On a separate note, I've read the blogs from everyone who attended GUADEC, and they're
all talking about "bling" that should be in the next version ( or next next version) of GTK.
RYX, do you think you could complain to anyone about the issues you've had in
writing the screenlets class?
I'd love to talk to some of the gtk-devs about things they could improve. The one and only thing REALLY missing for me is the ability to entirely turn off the background of a widget by default. That means having a box, textview or any other widget getting rendered with fully transparent background. That way we could re-use all common gtk widgets within the screenlets.
Another nice improvement would be an animation-pipeline and such, but I am not too keen on that since the screenlets get animated by compiz (when using the widget-plugin) ...

And finally, here is a scenario I need help with.
Suppose I have a screenlet composed of an svg and some text. If the text is "foo"
at size 3. Everything is gravy because "foo" fits within the svg.

But suppose the text is "St. Petersburg". Then the text doesn't fit at size 3. Is there anything
I can do to find out what size font I would need to fit "St. Petersburg" on my svg?
Or even simpler, can I measure the dimensions of a text string in pixels using cairo?
With cairo it is not possible, I think. You should have a look at Pango for that, I think it allows those things. Pango is the recommended way of rendering text within the screenlets (see the NotesScreenlet or the CPUMeter for examples on how it works) because it allows international characters and UTF8.

btw: You should install "devhelp" and the devhelp-documentation for pygtk2 (contains docs for gtk, gtk.gdk, pangocairo and some other modules), it has become my "bible" when working on the screenlets :D ...

:)

RYX
July 26th, 2007, 04:15 PM
@Thoughtjacked: Concerning the animations you might want to have a look at the ClockScreenlet. I think if you use the buffering-technique shown in the Clock, you may be able to create a quite cpu-saving rendering-engine which could display animations. I guess if you do animations without pixmap-buffers (e.g. by simply drawing into the window each 50 milliseconds) you may have clipping-issues or/and high cpu-usage. But I am not sure and never really tried that - it's worth an experiment ;) ..

maluze
July 27th, 2007, 02:44 AM
maybe it's just me, but as I am using the latest version along with compiz fusion, I have found quite a few things that don't work as expected:

1) Comics screenlet has no comics to choose from (before it had Pearls Before Swine, Dilbert, and Non Sequitur (I would have like to have seen support for more comic strips or the ability to add your own favorite comics or what not)

2) Storage screenlet currently does not store anything ( or at least show its content)

3) Systemstatus does not start up at all

4) No option to have "inch" markings for Ruler screenlet as opposed to cm, for those of us who live in the US

5) and the addition of three new 'screenlets' that show an error message when clicked on in control screenlet: "controlpanel.glade", "logo24.png", and "screenlets.svg"

6) Test screenlet does not move...but that's probably by design :P

RYX
July 27th, 2007, 12:52 PM
maybe it's just me, but as I am using the latest version along with compiz fusion, I have found quite a few things that don't work as expected:

1) Comics screenlet has no comics to choose from (before it had Pearls Before Swine, Dilbert, and Non Sequitur (I would have like to have seen support for more comic strips or the ability to add your own favorite comics or what not)
This is somehow related to the ComicScreenlet. I hope Moses will post an updated version if he finds the time (hint, hint :D). I saw him around a few days ago, maybe he is already working on it (hopefully).

2) Storage screenlet currently does not store anything ( or at least show its content)
Yup - it's a missing feature. I will add it somewhen soon. That's also the reason why "make menu" doesn't install a desktop-file for Storage yet.

3) Systemstatus does not start up at all
Hmm - I don't know that one well, but it is likely designed for an older version. Several things changed within the last 2 releases. If you can't contact the author, post it as a new thread under "Screenlets/Widgets" and I can have a look at it ...

4) No option to have "inch" markings for Ruler screenlet as opposed to cm, for those of us who live in the US
The ruler is absolutely undynamic - it entirely relies on themes. You can simply create a new theme (or modify an existing one) to show an inch or metric scale (in fact it currently shows pixels, so it's totally neutral :)) ... I recommend inkscape for editing themes.

5) and the addition of three new 'screenlets' that show an error message when clicked on in control screenlet: "controlpanel.glade", "logo24.png", and "screenlets.svg"
Hmm - that's surely not intended. Those three files shouldn't be in the screenlets path at all. It is a problem of the way the xml-menu is creating those entries for the available screenlets (by scanning the dirs). You can either remove those files from ~.screenlets and put them somewhere else or you edit the "menu.xml" in the Control-directory and add a "skip"-attribute to the scandir-directive.

6) Test screenlet does not move...but that's probably by design :P
It is :) - It is a test for drag&drop ... It creates an exact representation of the screenlet's current state when you drag it out of its window.

:)

Thoughtjacked
July 27th, 2007, 04:53 PM
I'm sorry for asking so many questions without showing anything yet, but I will soon.

One of the annoying things about the weather widget is that I am able to move the widget by clicking on an area unoccupied by it. For instance, if the widget is in mini-mode, there is a large transparent area underneath that still responds to mouse events. Is there anything I can do to make the clickable area coorespond to what is actually displayed, as opposed to the 200 by 300 window I set up in the __init__?

RYX
July 27th, 2007, 06:37 PM
Looks like the shape currently just uses the background-image, it doesn't use the actual content of the screenlet. Try changing the on_draw_shape function to this:def on_draw_shape(self,ctx):
if self.theme:
self.on_draw(ctx)

crazyhunk
July 28th, 2007, 10:29 PM
hi...

just a small question.... when i run

sudo make menu

i get the following error...

crazyhunk@crzyhnk-lptp:~/screenlets-0.0.9$ sudo make menu
make -C desktop-menu
make[1]: Entering directory `/home/crazyhunk/screenlets-0.0.9/desktop-menu'
cp /home/crazyhunk/.config/menus/applications.menu /home/crazyhunk/.config/menus/applications.menu.bak
cp: cannot stat `/home/crazyhunk/.config/menus/applications.menu': No such file or directory
make[1]: *** [install] Error 1
make[1]: Leaving directory `/home/crazyhunk/screenlets-0.0.9/desktop-menu'
make: *** [menu] Error 2

RYX
July 28th, 2007, 11:00 PM
If you have a gnome system then you should be able to fix it by manually moving the applications.menu to the directory ~/.config/menu ... Usually the user's application menu is in there. What distribution do you use?

crazyhunk
July 29th, 2007, 01:17 AM
I am using Ubuntu feisty.....

edit: one more question..... when i run the make install option evrything goes well...but not all the screenlets are installed i believe..... and i dont see the Daemon int he Applications menu either.... :(
i do believe i mut be doin something wrong....

RYX
July 29th, 2007, 02:22 AM
I think you did everything right. There is no daemon anymore. You can just start each screenlet individually.

And you don't see all available screenlets in the applications-menu by default, that's intentional. Using the Control-screenlet you can add all available screenlets (or by directly launching them from their subdirs in /usr/local/share/screenlets).

:)

djdoo
July 29th, 2007, 07:01 AM
Hello folks!!

@ RYX

When I type 'screenletsd start' I get the following output:

Screenletsd v0.0.1 | (c) RYX (Rico Pfaus) 2007 | released under the GPL
/usr/local/bin/screenletsd: line 99: syntax error near unexpected token `('
/usr/local/bin/screenletsd: line 99: ` echo " 'add <name>' : add a Screenlet (e.g. 'add Clock')"'

Am I doing something wrong?? :cry: I use openSuSE 10.2 and KDE!

You can also find me at http://forums.opencompositing.org/

I got screenlets cause I want to try them with the widget plugin we made at Compiz-Fusion!

crazyhunk
July 29th, 2007, 09:59 AM
I think you did everything right. There is no daemon anymore. You can just start each screenlet individually.

And you don't see all available screenlets in the applications-menu by default, that's intentional. Using the Control-screenlet you can add all available screenlets (or by directly launching them from their subdirs in /usr/local/share/screenlets).

:)

Thanx for the help I really appreciate it..... but may b i have to be a bit more specific.... after I install it the and from the control screenlet i do not see the calendar, temperature,myrss...so on ..... i got only like abt 6 screenlets installed..... I did check in '/usr/local/share/screenlets' i got around 6 folders of screenlets...

:D

RYX
July 29th, 2007, 12:38 PM
@crazyhunk: :D ... You should have exactly 14 subfolders in /usr/local/share/screenlets .... After running "make menu" you should have exactly 8 entries in your "Applications/Screenlets"-menu ... The other ones (Calendar, Weather, RSS, Comic, ...) are third-party screenlets written by other people - you have to download them separately.

@djdoo: Screenletsd is not used anymore. Please start the screenlets individually and/or run "make menu" to install their menu-entries. ... btw: The "new" widget-plugin "you made" on compiz fusion can be downloaded here at compiz.org since about 6 months ;) ... (it was an old beryl-plugin by Quinn, fixed, improved and ported to compiz by mikedee) ... only fyi

:)

whise
July 29th, 2007, 01:52 PM
bring back lock position please

RYX
July 29th, 2007, 01:55 PM
bring back lock position please
Did I actually implement that :?: ...? Or do you mean the widget plugin?

whise
July 29th, 2007, 02:02 PM
sorry i didn't make myself clear , i mean the option to lock screenlets , in a fixed position ,to not be able to move them unless the option is disabled , that option existed in sl 0.0.7 and doesnt any more in 0.0.9

karsten
July 29th, 2007, 11:49 PM
ok this might be crazy but what is the address to download the 0.0.9 release? i can't find it anywhere. thanks:) ps how come settings aren't saved in 0.0.8 on a reboot? window properties are always reset.

djdoo
July 30th, 2007, 12:11 AM
@RYX:
I did run 'make menu' and a separete menu in kicker was created, after I copied my /home/ur-name/.config/menus/... to root folder cause the installation couldn't find it (you should fix that I mean to automatically create the pre-needed stuff), and then I tried to run individually CPU meter and others but always I get this output:

jim@djdoo:~> /usr/local/share/screenlets/CPUMeter/CPUMeterScreenlet.py
Traceback (most recent call last):
File "/usr/local/share/screenlets/CPUMeter/CPUMeterScreenlet.py", line 163, in <module>
import screenlets.session
File "/usr/local/lib/python2.5/site-packages/screenlets/session.py", line 33, in <module>
from xdg import BaseDirectory
ImportError: No module named xdg

Any ideas??? What's that xdg module?

BTW about the widget plugin you said I really didn't know its history and when made, who made it etc...So forgive me if being annoying or rude... I just found a page made by SmSpillaz (and posts at opencompositing) who told that a widget plugin is ready for Compiz-Fusion and can be run with Screenlets!
And as we all know things are a bit messed up with what is made by whom...Sorry again...
Now I understand why Cyberorg didn't want to package Screenlets...

But anyway I think we must overcome these sad situations somehow guys... Cause I think we are 2 projects again...Sadly...

RYX
July 30th, 2007, 12:13 AM
sorry i didn't make myself clear , i mean the option to lock screenlets , in a fixed position ,to not be able to move them unless the option is disabled , that option existed in sl 0.0.7 and doesnt any more in 0.0.9
Yes, I'll (re-)add it. Shouldn't be difficult. :)

ok this might be crazy but what is the address to download the 0.0.9 release? i can't find it anywhere. thanks:) ps how come settings aren't saved in 0.0.8 on a reboot? window properties are always reset.
Just check the first post in this thread (on page 1). It contains all info and the download-link. Concerning the window properties I am unsure - one assumption is that it is only the menu which is showing the wrong values, the other idea is that it could also be somehow related to compiz and metacity ... I noticed that myself, but I didn't change anything that could have caused that (I think). I'll have a look at it, maybe the new version already fixes it ...

:)

ralfonso
July 30th, 2007, 05:49 PM
I'm pretty new to Python and X programming. What's the proper way to fork in a screenlet? I have an "on drag" event that takes a while and I want it to run without freezing the screenlet. Using the normal fork/waitpid methods results in Xlib errors.

djdoo
July 31st, 2007, 04:45 AM
@RYX:

You forgot about me my friend... :cry:
And I still cannot run anything here... :cry:

djdoo
July 31st, 2007, 08:19 AM
I downloaded and installed python-xdg and now I got a new error!! :cry:

See here: http://pastebin.ca/640208

Please someone help me...What do I do wrong??

RYX
July 31st, 2007, 11:23 AM
@RYX:
I did run 'make menu' and a separete menu in kicker was created, after I copied my /home/ur-name/.config/menus/... to root folder cause the installation couldn't find it (you should fix that I mean to automatically create the pre-needed stuff), and then I tried to run individually CPU meter and others but always I get this output:

jim@djdoo:~> /usr/local/share/screenlets/CPUMeter/CPUMeterScreenlet.py
Traceback (most recent call last):
File "/usr/local/share/screenlets/CPUMeter/CPUMeterScreenlet.py", line 163, in <module>
import screenlets.session
File "/usr/local/lib/python2.5/site-packages/screenlets/session.py", line 33, in <module>
from xdg import BaseDirectory
ImportError: No module named xdg

Any ideas??? What's that xdg module?
Sorry for overlooking your post yesterday, it was a bit late here :) ... The xdg-module is part of the package 'python-xdg', which does exactly what you describe (creating non-existent paths and handle standardized ways of configuration-directories). Without it, the correct paths are not created as supposed.

BTW about the widget plugin you said I really didn't know its history and when made, who made it etc...So forgive me if being annoying or rude... I just found a page made by SmSpillaz (and posts at opencompositing) who told that a widget plugin is ready for Compiz-Fusion and can be run with Screenlets!
And as we all know things are a bit messed up with what is made by whom...Sorry again...
Now I understand why Cyberorg didn't want to package Screenlets...
Hmm - I don't know about cyberorg wanting to package the screenlets. I would have no problem with it, I just tried to reduce the packaging of versions before 0.1.0 to a minimum (because of api-changes and such). I think that this kind of guessing about other people's reactions is causing much more trouble than simply asking ... :)

But anyway I think we must overcome these sad situations somehow guys... Cause I think we are 2 projects again...Sadly...
I don't think we are. There are a few people (about 5 or 10) who want to make everyone believe that my attitude is the problem of everything (as they did with mikedee back in times of beryl) and I don't want to unite and such (which is bs - I always wanted to reunite, but not with the type of organisation that ruined beryl).
In the end I always were here for the community and I did a lot of support and contributions ... Most of the people talking about me never talked to me directly about their complains. They prefer talking sh*t behind my back. I don't like their lack of professionality. But do I hate them for that? Surely not.
I guess it is somehow their last resort to try forming a "gang" and fight me with more than one person and continously spreading FUD about me - maybe because they feel like having no chance in a fair one-on-one situation. Don't believe that stupid show they try to create. I am no saint, but I am not the bad guy, either ...

:)

RYX
July 31st, 2007, 11:41 AM
I downloaded and installed python-xdg and now I got a new error!! :cry:

See here: http://pastebin.ca/640208

Please someone help me...What do I do wrong??
So you are running KDE? That is an important point ... (I am on a gnome-system and had no KDE-testing reports yet). Do you have the packages "dbus" and "python-dbus" installed (I guess you have, otherwise you should have a different error ...)? What distribution do you use (I assume suse)?

I was unable to locate the exact source of the problem yet. The error should be gone with a try/except block, but there still seems to be some package missing on KDE-systems ...

EDIT: What output do you get from this command: "ps -A | grep dbus"?? Maybe dbus is simply not running ...

:)

jarlath
July 31st, 2007, 06:49 PM
I can launch the screenlets from screenlets-control, but to have them load at startup I need them to run individually. When I execute the .py file, I get an error:

ja@ja-desktop:/usr/local/share/screenlets/Windowlist$ ./WindowlistScreenlet.py
Traceback (most recent call last):
File "./WindowlistScreenlet.py", line 437, in <module>
sl = screenlets.create_new_instance('WindowlistScreenle t')
File "/usr/lib/python2.5/site-packages/screenlets/__init__.py", line 1200, in create_new_instance
sl = classobj()
File "/usr/local/share/screenlets/Windowlist/WindowlistScreenlet.py", line 61, in __init__
is_widget=False, is_sticky=True, **keyword_args)
File "/usr/lib/python2.5/site-packages/screenlets/__init__.py", line 348, in __init__
BACKEND_OBJ), BACKEND_IFACE)
File "/var/lib/python-support/python2.5/dbus/_dbus.py", line 410, in get_object
follow_name_owner_changes=follow_name_owner_change s)
File "/var/lib/python-support/python2.5/dbus/proxies.py", line 230, in __init__
_dbus_bindings.UInt32(0))
File "/var/lib/python-support/python2.5/dbus/proxies.py", line 169, in __call__
reply_message = self._connection.send_message_with_reply_and_block (message, timeout)
dbus.DBusException: org.free