Main index > About existing desklets > deskicon

By cs-cam (Desklet Author), on Wed Oct 19 08:49:37 2005: deskicon.

official thread for deskicon

By rockman (User), on Sat Oct 22 21:06:59 2005.

Traceback (most recent call last):
File "./deskicon.py", line 169, in ?
Events(dirname(__file__)).pause()
File "./deskicon.py", line 108, in __init__
adesklets.Events_handler.__init__(self)
File "/usr/lib/python2.4/site-packages/adesklets/events_handler.py", line 158, in __init__
self._alarm()
File "/usr/lib/python2.4/site-packages/adesklets/events_handler.py", line 296, in _alarm
timeout=self.alarm()
File "./deskicon.py", line 132, in alarm
self._display()
File "./deskicon.py", line 143, in _display
updated = self.i.update()
File "./mount_icon.py", line 42, in update
if (self._mounted(), self._space()) == self.current:
File "./mount_icon.py", line 133, in _mounted
if find(mtab, self.config['mount_point']) != -1:
NameError: global name 'find' is not defined

With this config:

# -*- coding: ASCII -*-
id0 = {'align': 'bottom',
'caption': 'Neptune',
'caption_font': 'VeraBd/13',
'colour': (255, 255, 255, 100),
'delay': 1,
'detail_font': 'Vera/11',
'engine': 'mount_icon',
'exec': 'rox /',
'mount_icon': 'icons/folder_blue.png',
'mount_point': '/',
'umount_icon': 'icons/folder_blue.png'}

What's wrong with the mount point '/'?

By cs-cam (Desklet Author), on Sun Oct 23 07:42:02 2005.

There is nothing wrong with using / as the mount point, that error has been fixed in 0.0.2. I restructured mount_icon.py just before I released it and accidentally broke it. Should be fixed now though :)

By rockman (User), on Sun Oct 23 10:12:52 2005.

Thanks!
I also had problems with mail, but I don't think they can be solved... Maybe I'll post some error messages later.

EDIT: I think the problem with mount_icon continues just the same... Where's the updated archive? Form the 'desklets' page, the archive's name changes, but it contains the same files... no modifications and same error.

By cs-cam (Desklet Author), on Sun Oct 23 10:45:35 2005.

If you post some error messages I'll be glad to help. The mail checking code is the same as the mailer desklet though, does that work for you?

By cs-cam (Desklet Author), on Sun Oct 23 10:54:28 2005.

Okay, so I'm a retard. I must have submitted an old 0.0.2 archive, it has some updates from 0.0.1 but not the fix for this... I'll submit an update to Sylvain sometime soon but in the meantime, this contains the updated code.

By rockman (User), on Sun Oct 23 11:05:36 2005.

I'm starting to feel a dork ;-), but the archive seems corrupted: "not a bzip2 file", says bzip2...
However, exec_icon is great and my desktop will look awesome with your desklet!
If I can leave a suggestion, I would add bottom and top text alignments and maybe an option to resize icons via config-file.
Extra coolness could have been some transparency for icons or maybe some effects on mouse-over or click...
Great work.

By cs-cam (Desklet Author), on Sun Oct 23 11:11:13 2005.

Grrrrrr, this is the fault of something on my computer (or more probably me). Try downloading it again, tar has made a couple of corrupt archives for me lately. Very freakin' annoying! :evil:

By syfou (Core Developer & Desklet Author), on Sun Oct 23 14:53:08 2005.

As a side note: what you sent me lately was not corrupted, just encoded with Lempel-Ziv coding (gz) instead of Burrows-Wheeler block sorting (bz2). Probably just a typo (typing -z instead of -j as switch with GNU tar)... Using the GNUmakefile already included in deskicon to automate the archive creation usually sorts most of these issues.

By cs-cam (Desklet Author), on Mon Oct 31 06:42:12 2005.

I've submitted v0.0.4. It's been updated with a few things. Now it doesn't wait for the instance of one app to close before opening a new one and the text can be positioned anywhere around the icon. Should be making an appearance on the adesklets site as soon as Sylvain gets me email :)

By Korova (User), on Wed Apr 18 13:38:46 2007.

I tried to download (and install) this desklet, but the link is no longer active (the website seems to be dead ?)

So I wonder :
1) is there any copy of the files somewhere ?
(in fact I found a kind of one there, but i had to copy files one by one, it would be great to have a tar.gz file...)
2) is anybody know how to configure this desklet ? I managed to understand how to deal with a launcher applet, but i see it can be used as well as a mount applet or a mail applet. But I have no idea about what to change in the config file to do so...

(I know that syfou tries to reach the author of the desklet by mail, but anyway, if anyone has an alternate solution...)

Thanks. Korova.

By syfou (Core Developer & Desklet Author), on Thu Apr 19 11:47:33 2007.

Since they are GPLed, I could repatriate the two missing desklets by Cameron Daniel (desknotes-0.0.1.tar.bz2 and deskicons-0.0.5.tar.bz2) on Sourceforge right away; out of courtesy for Cameron, I just want to give him a chance to keep hosting them if he wants to, so allow me a few days before the transfer occurs.

Korova wrote:


In fact I found a kind of one there, but i had to copy files one by one, it would be great to have a tar.gz file...

What about wget? ;-)

Code:


wget -nH --no-parent --recursive --cut-dirs=3 \
  http://www.chessgriffin.com/files/packages/adesklets/deskicon-0.0.5/  && \
  find . -name 'index*' -exec rm \{\} ';'


Korova wrote:


Does anybody know how to configure this desklet ? I managed to understand how to deal with a launcher applet, but i see it can be used as well as a mount applet or a mail applet. But I have no idea about what to change in the config file to do so...

Basically, you need to change to 'engine' parameter from the configuration file (mount_icon for mount, mail_icon for mail), then fill the other engine-specific parameters: see the top documentation in the engine' source file. Yours,

By Korova (User), on Thu Apr 19 15:55:48 2007.

OK thanks. I managed to understand how it works by reading the beginning of the .py files.
When I have a little time, I propose to write a little README file to explain the basic configuration of this desklet (with the option of the 3 engines). When done, i will post it here.

By syfou (Core Developer & Desklet Author), on Wed May 9 14:31:56 2007.

I wrote:


Since they are GPLed, I could repatriate the two missing desklets by Cameron Daniel (desknotes-0.0.1.tar.bz2 and deskicons-0.0.5.tar.bz2) on Sourceforge right away; out of courtesy for Cameron, I just want to give him a chance to keep hosting them if he wants to, so allow me a few days before the transfer occurs.

Done: deskicons is now available right from sourceforge.


adesklets is proud to be hosted on:

SourceForge.net Logo

Back to adesklets.sf.net.