I wanted to get a desktop applet which showed network traffic speeds all the time, and found that gDesklets seems to fit the bill. I installed using the Package Manager and eagerly tried starting the program--which naturally failed without any indication of why. I looked at the man page ("man gdesklets") which showed me how to executed from the command line with various options which showed useful error messages. So I proceeded to go about "fixing" the "broken" application and have been successful thus far.
I wanted to share what I found in hopes it will be useful to others.
First I found a problem with /usr/lib/gdesklets/gdesklet which declared executable "#!/usr/bin/python2.5"; of course, Gloria uses "python2.6". Using grep I found other scripts declaring "python2.5", so obviously the best thing to do is create a symbolic link:
Code: Select all
sudo ln -s /usr/bin/python2.5 /usr/bin/python2.6
Running through additional "gdesklets" options, the "gdesklets check" showed this error:
Some googling gave me this page which was the final clue to get all working. I copied the original file for safekeeping and made the indicated edits from the URL:ERROR:/build/buildd/pyorbit-2.24.0/src/pyorbit-utils.c:39:_pyorbit_escape_name: assertion failed: (keyword_mod != NULL)
Code: Select all
sudo cp /usr/lib/gdesklets/utils/ErrorFormatter.py /usr/lib/gdesklets/utils/ErrorFormatter.py.orig
sudo vi /usr/lib/gdesklets/utils/ErrorFormatter.py
Code: Select all
# 09/08/09:per article=http://forums.opensuse.org/applications/409465-fix-gdesklets.html
#def _new_imp(name, globs = {}, locls = {}, fromlist = []):
def _new_imp(name, globs = {}, locls = {}, fromlist = [], test = []):
HTH any who look to add gDesklets to Gloria.
Arnold