Image 01
profile-image

elania

Eddie Lania
test
GnoMenu 2 Feature Request Call

GnoMenu Skins 11 comments

Score 50.0%
Jan 15 2009
You cannot (I did not find it somewhere) logout to switch to another user using gnomenu. I think this is a specific distro issue. I am using Fedora 10. The shutdown button only gives me the option to shutdown or restart. It would be nice if one of the other buttons could give you an option to logout. - Jan 24 2009
Screenlets 0.1.2

Conky 18 comments

by Whise
Score 50.0%
Sep 03 2008
Dear Helder Fraga,

When I am trying to install a new screenlet in the Universal Applet Manager it doesn't work.

When I click on install, choose install screenlet, browse to the downloaded screenlet .tar.gz archive and select and open it, the process seems to stall.

The following output is being send to the .xsession.errors log:

Traceback (most recent call last):
File "/usr/bin/universal-applets-manager", line 392, in <lambda>
lambda w: self.show_install_chose_ui())
File "/usr/bin/universal-applets-manager", line 778, in show_install_chose_ui
self.show_install_dialog()
File "/usr/lib/python2.5/site-packages/screenlets/manager.py", line 307, in show_install_dialog
return self.install_screenlet (filename)
File "/usr/bin/universal-applets-manager", line 558, in install_screenlet
if ScreenletsController.install_screenlet(self, filename):
File "/usr/lib/python2.5/site-packages/screenlets/manager.py", line 218, in install_screenlet
result = installer.install(filename)
File "/usr/lib/python2.5/site-packages/screenlets/manager.py", line 113, in install
info = self.get_info_from_package_name(filename)
File "/usr/lib/python2.5/site-packages/screenlets/manager.py", line 73, in get_info_from_package_name
os.system('tar %s "%s" -C %s' % (tar_opts, filename, tmpdir))
NameError: global name 'tmpdir' is not defined



I am using Fedora 10.

The following screenlet packages are installed:

universal-applets-0.1.2~bzr623-2.1.i386
universal-applets-extras-0.1~bzr165-1.1.i386


I hope this can be solved.


With kind regards,


Eddie - Dec 31 2008
Vista Start Menu for Gnome Panel

Various Gnome Stuff 381 comments

Score 50.0%
Nov 23 2008
Hi,

I think the menu has a memory leak, using the menu I see the memory consumption of the vista start menu rising. Perhaps this story (see below) has something to do with it? Anyway, I really like your menu so I hope this can be fixed.

Regards,

Eddie.

the title says it all ... after alot of testing i found out that the text drawing using ctx causes a memory because the ctx memory isnt cleared , we got to fix it
you will only ontice it on screenlets that update very quickly
here is why is appends

traditionaly python has problems freeing memory it uses because it normally store vars forever , here's what appends in the text memory leak
in def on_draw
p_layout = ctx.create_layout()

in here python stores the p_layout , the next time it redraws it stores it again and again and again , thats why we get a memory leak

how do we fix it , simple

first provide a global var

class NetmonitorScreenlet(screenlets.Screenlet):

p_layout = None

then in on_draw

if self.p_layout == None :

self.p_layout = ctx.create_layout()
else:

ctx.update_layout(self.p_layout)

thats it , now we just update the var instead of creating a new one - Jan 02 2008