Click to See Complete Forum and Search --> : gdesklets not working
geezy
01-06-2004, 11:43 PM
I've been working on getting gdesklets to work for a while now and I can't seem to get them up and running. This is what happens when I try and run the program
nick@linux:~/Documents/gdesklets/psi_display/psi-displays-v0.2> gdesklets & popmail.display
[1] 2587
bash: popmail.display: command not found
nick@linux:~/Documents/gdesklets/psi_display/psi-displays-v0.2> Traceback (most recent call last):
File "/usr/local/bin/gdesklets", line 5, in ?
from main.Starter import Starter
File "/usr/local/share/gdesklets/main/Starter.py", line 2, in ?
from factory.DisplayFactory import DisplayFactory
File "/usr/local/share/gdesklets/factory/DisplayFactory.py", line 3, in ?
from sensor.DefaultSensor import DefaultSensor
File "/usr/local/share/gdesklets/sensor/DefaultSensor.py", line 1, in ?
from Sensor import Sensor
File "/usr/local/share/gdesklets/sensor/Sensor.py", line 376, in ?
gtk.threads_init()
RuntimeError: pygtk threading disabled at compile time
I figured out how to --enable-thread when compiling and then I was getting an Xlib error which was fixed and now I'm back to this pygtk threading error again. Any help would be appreciated.
sharth
01-06-2004, 11:57 PM
first off... you start gdesklets like this...
gdesklets & /usr/location/of/gdesklets blah.display &
geezy
01-07-2004, 12:38 AM
maybe I'm more lost than I thought. Which directory should I put the displays into?
geezy
01-07-2004, 12:42 AM
Now I'm getting this error instead. I'm really lost here.
linux:/home/nick/Documents/gdesklets/psi_display/psi-displays-v0.2 # gdesklets & /home/nick/.gdesklets/Displays/popmail.display
[1] 2806
bash: /home/nick/.gdesklets/Displays/popmail.display: Permission denied
linux:/home/nick/Documents/gdesklets/psi_display/psi-displays-v0.2 # Xlib: connection to ":0.0" refused by server
Xlib: Invalid XDM-AUTHORIZATION-1 key (failed key comparison)
Traceback (most recent call last):
File "/usr/bin/gdesklets", line 4, in ?
from main import HOME
File "/usr/share/gdesklets/main/__init__.py", line 46, in ?
import gnome.ui
ImportError: could not import bonobo.ui
sharth
01-07-2004, 05:55 PM
dang it.. I'm sorry. I wrote the command in wrong...
Okay. to use gdesklets... first you have to run gdesklets itself...
gdesklets &
this will show some stuff into the console, and probably nothing will show up on your desktop. Next, we want to add the individual displays that we want...
gdesklets /usr/share/gdesklets/Displays/networkinfo/networkin.display
As for where to put displays.. your user home is fine... Debian installs them to /usr/share/gdesklets/Displays... but it's all up to your personal taste.
and run gdesklets as the user who started the Xsession (so if you logged in as JoeBob, then JoeBob would be the user that you would run gdesklets as.
geezy
01-07-2004, 08:35 PM
Ok well now I'm getting another problem
linux:/home/nick # gdesklets &
[1] 7380
linux:/home/nick # Xlib: connection to ":0.0" refused by server
Xlib: Invalid XDM-AUTHORIZATION-1 key (failed key comparison)
Traceback (most recent call last):
File "/usr/bin/gdesklets", line 4, in ?
from main import HOME
File "/usr/share/gdesklets/main/__init__.py", line 46, in ?
import gnome.ui
ImportError: could not import bonobo.ui
And then I also get this when trying to start a display
linux:/home/nick # gdesklets /home/nick/.gdesklets/Displays/popmail.display
Xlib: connection to ":0.0" refused by server
Xlib: Invalid XDM-AUTHORIZATION-1 key (failed key comparison)
Traceback (most recent call last):
File "/usr/bin/gdesklets", line 4, in ?
from main import HOME
File "/usr/share/gdesklets/main/__init__.py", line 46, in ?
import gnome.ui
ImportError: could not import bonobo.ui
Any ideas?
dboyer
01-07-2004, 09:16 PM
http://www.justlinux.com/forum/showthread.php?s=&threadid=116298
how i fixed my (similiar) problem
geezy
01-07-2004, 09:23 PM
So you just uninstalled everything and used ./configure --prefix=/usr
did you use that on all the packages when you reinstalled or just on the gdesklets package?
sharth
01-08-2004, 05:40 PM
you're doing it as root, you need to do it as the nick user.
geezy
01-08-2004, 06:32 PM
When I run it as the regular user it then goes back to giving me the first errors with the
Runtimeerror: pygtk threading disabled at compile time.
dboyer
01-08-2004, 11:53 PM
every relavant package... Do you use slackware? I got hte impression it was a slackware-related issue (although I'm not sure how that works out)
geezy
01-09-2004, 12:49 AM
I'm using suse 9.0, but I'll give a try. Right now I can't get back into gnome. It starts to load up and when it gets to loading metacity everything freezes. Once I can get back in I'll try re-compiling.
sharth
01-10-2004, 01:30 AM
I'm thinking that for whatever reason, pygtk needs threading enabled.. but I have no idea... that's just a random guess.
Might try posting the bug to bugzilla...