PDA

View Full Version : gDesklets


Ug
9th March 2004, 11:11 PM
This is a brief tutorial telling you how to get gDesklets up and running on Fedora Core 1 with the GoodWeather display and sensor.

First of all make sure that you have the Gnome Python 2 Gconf application installed, as super user run the following command: rpm -qa gnome-python2-gconfYou should get a result back with the name "gnome-python2-gconf-2.0.0-2" or a higher version. If you have not got it installed then insert your Fedora Core 1 CD 3, change directory to the RPMS foldercd /mnt/cdrom/Fedora/RPMSand then install the gconf application through RPM.rpm -Uvh gnome-python-2.0.0-2.i386.rpmOnce the package is installed surf over here (http://dag.wieers.com/packages/gdesklets/) to download the Fedora Core 1 RPM of gDesklets. Once you've downloaded it, install the rpm rpm -Uvh gdesklets-0.26-0.rhfc1.dag.i386.rpmNow head over to the gDesklets site Sensors and Display page to find a display you want for your desktop. For the purposes of this tutorial we're going to download and install the GoodWeather display and sensor. This shows the current weather and a 5 day forecast. Download the GoodWeather display tarball from here (http://gdesklets.gnomedesktop.org/files.php?func=gd_downloadfile&gd_filename=GoodWeather-0.4.tar.bz2&gd_fileid=226). Unpack the tarball in a directory in your /home partition, other people prefer elsewhere but its strictly a personal decision. So as super user: tar -xjvf GoodWeather-0.4.tar.bz2 in your /home directory.

Now change into the generated folder GoodWeathercd GoodWeatherand run the Install sensor script. ./Install_GoodWeather_Sensor.binThis will install the GoodWeather Sensor. Now exit super user mode and load the display with gdesklets GoodWeather.displayThis will load the gDesklets and the GoodWeather display. You will now be able to move the display around the desktop to where you want it to be. Right click on the desklet and select configure, set up the options how you like. Making sure that you replace the Weather.com co-ordinates with your ones. (A quick tip if your a non-US user like me, make sure you search for your location through the Travel section for a compatible co-ordinate).

That's it! You are now ready to sit back and enjoy weather forecasts on your desktop. When you log out, gdesklets will save its current configuration and you will be able to load it up again from Accessories --> More Accessories menu. Here's a screenshot of my desklet in action. (http://www.fedoraforum.org/forum/showentry.php?s=&entryid=31)

mhelios
10th March 2004, 03:15 PM
I thought it may be appropriate to point out the availability of rpm packages for sensors such as goodweather.
For example, goodweather packages are available here:
http://dag.wieers.com/packages/gdesklets-goodweather/
To load it:

gdesklets-add-GoodWeather-display

Ug
10th March 2004, 03:19 PM

I prefer to use, the tarball with the sensors. I just find it more convienient personally.

mhelios
10th March 2004, 03:30 PM
Okely Dokey.

salvatore
19th March 2004, 04:10 PM
Caveat: Im a fresh newbie when it comes to gDesklets.

What about wanting to run them at startup each time? Do I have to include a separate 'gdesklets Goodweather.display' command for each *.display sensor?

Ug
19th March 2004, 04:50 PM
Yes, but they should automatically load up when you restart the computer.

salvatore
19th March 2004, 06:26 PM
I'll try it this evening when I get back to the FC1 machine.
Thanks.

salvatore
19th March 2004, 11:50 PM
This all appears to work except for actually displaying the gDesklet.

Here's the console output:
***
[salvatore@incom GoodWeather]$ gdesklets GoodWeather.display
gDesklets 0.26
Copyright (C) 2003, 2004 Martin Grimme, Christian Meyer, Jesse Andrews

This software is licensed under the terms of the GNU GPL.

OPTS:: [] REST:: ['GoodWeather.display']
***

But nothing shows up on the desktop; Ive seen gDesklets before so I know what to look for, but nothing happens in this case.

Im using Fluxbox 0.9.8, does that matter?
Thanks.

salvatore
22nd March 2004, 07:14 PM
Anyone?

salvatore
23rd March 2004, 02:47 AM
I was able to get this to work, and I can now see the GoodWeather gdesklet on the desktop.

The only obstacle now is removing it from the task list in fluxbox. Meaning, I can see whatever apps Im running (term, firefox, et cetera), and gdesklets also shows up in the list. Is it possible to start it in the background (Im already using 'gdesklets &') so it doesnt take up space on the task bar?

Thanks again.

grommer
26th March 2004, 09:07 AM
I was able to get this to work, and I can now see the GoodWeather gdesklet on the desktop. how did you actually get it work, mine doesnt want to show up either. great how to though. haha, man I need to rtfm sometimes. sorry, got it now.

Ug
26th March 2004, 09:36 AM
Rofl.

salvatore
26th March 2004, 01:41 PM
To be honest, Im not certain what I was doing wrong the first time. I tried it again the next day and the GoodWeather gDesklet popped right up.
I stuck it in ~/.fluxbox/startup and its now there everytime fluxbox runs.

Ug
26th March 2004, 06:12 PM
Good, good.

buldir
30th March 2004, 08:38 AM
I think I installed it all correctly, but when I run "gdesklets GoodWeather.display" in the Goodweather directory (as normal user) I get this at the command prompt, but nothing on the desktop:

gDesklets 0.26.1
Copyright (C) 2003, 2004 Martin Grimme, Christian Meyer, Jesse Andrews

This software is licensed under the terms of the GNU GPL.

Any thoughts? Thanks.

DXT
30th March 2004, 11:47 AM
same thing here

and if I run gDesklets from the applications menu I get some errors: "could not start display <name>","Invalid display <name>.display" etc..

r3zzo
3rd April 2004, 06:13 PM
Originally posted by salvatore
This all appears to work except for actually displaying the gDesklet.

Here's the console output:
***
[salvatore@incom GoodWeather]$ gdesklets GoodWeather.display
gDesklets 0.26
Copyright (C) 2003, 2004 Martin Grimme, Christian Meyer, Jesse Andrews

This software is licensed under the terms of the GNU GPL.

OPTS:: [] REST:: ['GoodWeather.display']
***

But nothing shows up on the desktop; Ive seen gDesklets before so I know what to look for, but nothing happens in this case. I have the same error.

I fix this unpacking the Goodweather without super user account.

Thanks Ug, this tutorial is excellent. :)

rosschilen
10th April 2004, 07:30 AM
Has anybody got gdesklets working for fedora core 2? I cant find an rpm for core 2.

fullo
12th April 2004, 12:11 AM
on fedora core 2 test 2 I've this error:

# gdesklets /home/fullo/psi-small/info.display
/usr/share/gdesklets/desktop/GlassWindow.py:3: RuntimeWarning: Python C API version mismatch for module _ewmh: This Python has API version 1012, module _ewmh has version 1011.
from utils import _ewmh as ewmh
gDesklets 0.26.1
Copyright (C) 2003, 2004 Martin Grimme, Christian Meyer, Jesse Andrews

This software is licensed under the terms of the GNU GPL.


I cannot compile from the source because I cannot find the file libgconf-2.la (with the latest GConf2 is given only libgconf-2.a)

any suggestion?

fullo
12th April 2004, 06:47 PM
I've removed all the /usr/lib/*.la files and now gDesklet compile fine but when I do the "make install" I receive this message:

[root@localhost gDesklets-0.26.1]# make install
Making install in Sensors
make[1]: Entering directory `/home/fullo/Desktop/gDesklets-0.26.1/Sensors'
Making install in External
make[2]: Entering directory `/home/fullo/Desktop/gDesklets-0.26.1/Sensors/External'
make[3]: Entering directory `/home/fullo/Desktop/gDesklets-0.26.1/Sensors/External'
make[3]: Nothing to be done for `install-exec-am'.
test -z "/usr/share/gdesklets/Sensors/External" || "/usr/share/gdesklets/Sensors/External"
/bin/sh: line 1: /usr/share/gdesklets/Sensors/External: No such file or directory
make[3]: *** [install-installDATA] Error 127
make[3]: Leaving directory `/home/fullo/Desktop/gDesklets-0.26.1/Sensors/External'
make[2]: *** [install-am] Error 2
make[2]: Leaving directory `/home/fullo/Desktop/gDesklets-0.26.1/Sensors/External'
make[1]: *** [install-recursive] Error 1
make[1]: Leaving directory `/home/fullo/Desktop/gDesklets-0.26.1/Sensors'
make: *** [install-recursive] Error 1


any idea?

fullo
17th April 2004, 01:40 PM
resolved with the latest rpm

goik
27th April 2004, 04:23 PM
Anybody know why when i installed the Sys-info and ran it, it displayed the sysinfo pane, but nothing is being indicated, no system info is being monitored. It comes out as 0% on all of them. I am trying to trace down to how its getting information, but id ask just in case here. I used both DAG rpm's for gdeslets version .26.1 and sysinfo .21. for fedora core 1.

Ug
27th April 2004, 05:08 PM
Originally posted by fullo
resolved with the latest rpm Glad you did. ;)

GiLuX
19th May 2004, 04:28 PM
nice howto.

i folowed it line for line but i get a very strange error when starting the app:

** (gdesklets:23181): WARNING **: Owner of /tmp/orbit-gilux2 is not the current user

im logged in as user: gilux

there is a user gilux2 though on this machine but i havent logged into that account for ages.

any thoughts?

satx78
21st May 2004, 05:01 PM
When i try to run a desklet i'll type "gdesklets sysinfo.display" for example and i get the error message "Could not add display" "the display could not be added because the file does not exist" anyone know the solution to this prob. Thanks

micha
21st May 2004, 05:05 PM
You should use the full absolute path to sysinfo.display .

satx78
21st May 2004, 05:13 PM
thank you for your reply. Ok I typed the full path and now I get 2 messages the first is "an errror occured while loading sensor. that means the sensor is broken or simply not installed"
the second message is "the display file contains invalid data and could not be loaded"

Bungeeboy
23rd May 2004, 07:32 PM
This may seem like a stupid question, but here goes.

I have installed gdesklets and goodweather with no problem at all, BUT how do I find the weather.com location code for where I am (Poznan, Poland). I've just spent about an hour looking round weather.com and searching Google and I still have no idea. :(

swag
23rd May 2004, 09:49 PM
If you look at the adress (in your browser), you will find the code there.

Bungeeboy
23rd May 2004, 10:26 PM
Hahahaha,

How stupid do I feel now, thanks swag!

engwnbie
23rd May 2004, 10:58 PM
How can GoodWeather be moved around once set? It is set in a location that is not to my liking.

micha
23rd May 2004, 11:39 PM
Originally posted by engwnbie
How can GoodWeather be moved around once set? It is set in a location that is not to my liking. With the middle button of the mouse.

Igoraus
24th May 2004, 02:16 PM
Originally posted by swag
If you look at the adress (in your browser), you will find the code there.

I don't see enithing :confused: :confused:

Igoraus
24th May 2004, 02:38 PM
I found't so stupid a'm :D :D

Igoraus
24th May 2004, 02:42 PM
If I go logof and log on will gdesklets apper or I must configur all over agen ???

Am afraid to logout :D

Bungeeboy
24th May 2004, 06:56 PM
You won't have to reconfigure, just click gdesklets in accesorries when you log back in and it will reload with your last config. :)

Buchan
24th May 2004, 11:14 PM
Originally posted by goik
Anybody know why when i installed the Sys-info and ran it, it displayed the sysinfo pane, but nothing is being indicated, no system info is being monitored. It comes out as 0% on all of them. I am trying to trace down to how its getting information, but id ask just in case here. I used both DAG rpm's for gdeslets version .26.1 and sysinfo .21. for fedora core 1.

Is Nobody else having this problem with Sysinfo????
I'm using dags rpms and I get the same thing when I add the display. I see a bunch of separator lines and then nothing else.

I'm on core 2 and happy with just about everything else... now I want this window to work
anyone got any ideas??
I'll attach a copy of what I get ... As you can see the Goodweather works perfectly but not the Sysinfo

Bungeeboy
25th May 2004, 08:01 AM
Yes, I have exactly the same problem, but I can live without sysinfo, so didn't worry about it too much.

gonzalo76
25th May 2004, 05:42 PM
Same problem here.

yur1022
25th May 2004, 07:29 PM
Regarding sysinfo ... I am having the same problem. Then, I found GKrellM. I think I got it from freshrpms.net. I looked at a bunch of themes, but personally found hardware theme good. So, I got it from the GKrellm site.

yur

Bungeeboy
25th May 2004, 07:59 PM
So, has anyone actually got sysinfo running?

Buchan
25th May 2004, 08:19 PM
I have tried Gkrellm as well but just not as impressed I guess. The Memory stats don't seem to be very accurate (I can look at the output of free and see entirely different numbers)

If anyone gets sysinfo working PLEASE post a how to here

swag
26th May 2004, 05:02 AM
It's not working her either. So, again, if someone might have any idea, please let us know.

yur1022
26th May 2004, 10:04 PM
Do the following as a local user not su.

[1] Get SysInfo-0.26.tar.gz from http://gdesklets.gnomedesktop.org. (Click System Info category; Click System Info subcategory. You will find Sysinfo there.)

[2] tar -zxvf SysInfo-0.26.tar.gz

[3] cd SysInfo

[4] ./Install_SysInfo_Sensor.bin

[5] cd /$HOME/.gdesklets

[6] mkdir $HOME/.gdesklets/Displays

[7] mkdir $HOME/.gdesklets/Displays/SysInfo

[8] mkdir $HOME/.gdesklets/Displays/SysInfo/gfx

[9] cp sysinfo.display $HOME/.gdesklets/Displays/SysInfo

[10] cp gfx/* $HOME/.gdesklets/Displays/SysInfo/gfx

[11]
gdesklets $HOME/.gdesklets/Displays/SysInfo/sysinfo.display

I got it working...

yur

yur1022
26th May 2004, 11:35 PM
Oops.

Just skip [5] of the previous posting (as you can see obviously...).

Sorry about the *bug*.

yur

gonzalo76
27th May 2004, 02:49 AM
Thank you for your mini HowTo but still not working. I have the window with no text in it.
Thanks anyway but I decided to install the psi-small suite and is working just fine.

swag
27th May 2004, 08:34 PM
It worked great for me! Thanx yur. :D

yur1022
27th May 2004, 09:22 PM
After playing with SysInfo, I discovered (1) it was not flexible, not easily customized and (2) it incorrectly displayed disk info.

(2) is a real problem; (1) is tolerable.

Following gonzalo76's comments, I installed psi and psi-small. I tried both, but found psi-small more attractive to me.

Now, I am running psi-small, instead of SysInfo.

Thanks.

yur

gonzalo76
28th May 2004, 12:17 AM
Originally posted by yur1022
After playing with SysInfo, I discovered (1) it was not flexible, not easily customized and (2) it incorrectly displayed disk info.

(2) is a real problem; (1) is tolerable.

Following gonzalo76's comments, I installed psi and psi-small. I tried both, but found psi-small more attractive to me.

Now, I am running psi-small, instead of SysInfo.

Thanks.

yur

Yep, psi-small is flexible and easily customized.
You can download it from here (http://gdesklets.gnomedesktop.org/categories.php?func=gd_show_app&gd_app_id=107)
You'll also have to download PsiSensorPackage-20040420.tar.gz package from here (http://gdesklets.gnomedesktop.org/categories.php?func=gd_show_app&gd_app_id=38) and install it.

Everytime I start KDE I have to reorder the gdesklets displays again and again and they are not so easy to move. I don't know why.

If you like to see psi-small in action, take a look at my desktop here (http://www.fedoraforum.org/forum/showentry.php?s=&entryid=178)

Good Luck

yur1022
28th May 2004, 04:38 PM
In order to see how much memory is consumed by gdesklets, I checked "free -m" with and without gdesklets running. (Not a cientific comparison at all!!! I just want to get some hint.)

Currently, with gdesklets, I have 6 psi-small stuffs, psi weather, and clock. The "free -m" comparison shows 25MB memory difference between with and without gdesklets.

By the way, in my FC1 and FC2 systems, in which I am running KDE, gdesklets displays are remembered ... so I do not have to reorder them.

By the way, gdesklets is originally for Gnome, I believe. Is there any alternative for KDE? Maybe superkaramba? Any experience with it?

Thanks.

yur

gonzalo76
28th May 2004, 11:39 PM
Thank you yur1022 for superkaramba, I didn't know there were 'gdesklets' for KDE.

Download Superkaramba Redhat 9 RPM:
(it works for Fedora Core 1 & 2 !!!)
http://www.kde-look.org/content/show.php?content=7774

Superkaramba Themes:
http://www.kde-look.org/index.php?xcontentmode=38

Good Luck

KaiN
28th May 2004, 11:43 PM
This is Awesome, I have been trying to find the rpm of Superkaramba for Fedora but no luck till now. Thankz gonzalo76

gonzalo76
29th May 2004, 06:55 AM
Originally posted by KaiN
This is Awesome, I have been trying to find the rpm of Superkaramba for Fedora but no luck till now. Thankz gonzalo76

No prob :)

gDesklets vs. Superkaramba

swag
30th May 2004, 02:35 AM
I get this error when trying to run Superkaramba:

Xlib: connection to ":0.0" refused by server
Xlib: No protocol specified

superkaramba: cannot connect to X server :0.0

What's wrong?

EDIT: Solved it by installing from source...

yur1022
2nd June 2004, 02:52 AM
Superkaramba RPMs for FC1 and FC2 are available from KDE-REDHAT. If you have apt.source configired to see it, you can easily get it by

apt-get install superkaramba

Otherwise, you can manually download it from

http://apt.kde-redhat.org/apt/kde-redhat/2/RPMS.stable/

and

http://apt.kde-redhat.org/apt/kde-redhat/1/RPMS.stable/

yur

deuch
4th June 2004, 12:29 AM
With psi-small, Disk info are incorrect ...

Some example :

/dev/hda1 (/)

480Mb/640Mb

The problem is that /dev/hda1 is a 3Gb partition and 1.2G is used on it ...

For my another partition (/usr et /logiciel), same problem ...

i don 't understand ....

I've got Sysinfo installed but i have to check it (my memory is a bit lazy this week :) )

Does anyone have the problem ???

thx

deuch

yur1022
4th June 2004, 04:34 AM
I guess I have to correct my previous statement. Both Sysinfo and psi-small reported same incorrect values of harddisk usage. (They use exactly same way of getting the info.)

I am running superkaramba's theme cynapses_laramba, which still reports incorrect values of harddisk usage. (These values are not same as those reported by Sysinfo and psi-small.)

yur

deuch
4th June 2004, 04:52 AM
ok :-)

At this time, ther is no way to have correct information of harddisk usage ... isn't it ???

deuch

yur1022
4th June 2004, 09:38 AM
If you would like to manually check, you could always run, e.g., KDiskFree.

Regarding gdesklets and superkaramba ... There are numerous gdesklets applets and superkaramba themes. There might be some that display the HD info correctly.

By the way, superkaramba's cynapses correctly displays HD info on Redhat EL 3, which runs on a smaller HD (each of / and /home partitions has less than 50GB). When used on FC2, which runs a bigger HD (each of / and /home partitions has more than 50GB), HD info is incorrect.

yur

deuch
8th June 2004, 12:52 AM
ok i check my gdesklet ...

Size of my partition and space free are wrong ...
But capacities in % are good ...

Strange ;)

deuch

cybrjackle
9th June 2004, 07:41 AM
I have a dual xeon system that appears as 4 procs w/ HT on.

Anyone know a desklet or karamba that will show all the procs, or away to edit them to show the procs?

erdenebat
19th June 2004, 08:32 PM
Thank you.
How to install psi-small-0.5.2.tar.gz gdesklets on fedora core 2.

sashko
21st June 2004, 06:06 PM
That's what I'm getting when trying to run gdesklets
$ gdesklets-add-GoodWeather-display
Traceback (most recent call last):
File "/usr/local/bin/gdesklets", line 4, in ?
from main import HOME
File "/usr/local/share/gdesklets/main/__init__.py", line 46, in ?
import gnome.ui
ImportError: No module named ui

I was getting the same output since my RH9 then FC1, and now FC2. Of course I didn't reinstall my linux, just updated it. I would really appreciate any help to solve this. I really want to have that beast on my machine


but just dont think that I didnt installed gnome-python or pyorbit. I have everything that gdesklets needs. Moreover, I've installed it via apt-get, and no unresolved dependencies were found.

deuch
21st June 2004, 08:26 PM
to me i use gdesklets like this :

I download a gdesklets (for example good-weather)
Il unpack the archive
In run the sensor installer (Install_sensor_Goosweather)

i add the display : gdesklets good-weahter.display

i run gdesklets : gdesklets &

try this :-)

hope it helps :-)

deuch

sashko
22nd June 2004, 06:05 AM
deuch,
try this :-)

hope it helps :-)
no, it doesn't. As you can see the problem is that file
/usr/local/share/gdesklets/main/__init__.py" at line 46 contains a command
import gnome.ui
That gnome.ui is supposed to be provided by gnome-python or pyorbit (i'm not sure). For some reason it cannot be found, even when latest versions of both those packages are installed. Thus my question is how to check whether that module is on my system, and if it is not, then how to make it to be there?
I still hope for help.

koden
2nd July 2004, 03:37 PM
I have a question, after installing everything, when I try to run gdesklets it tries to connect do daemon, but times out... what can cause this? How do i fix it? Thanks

sashko
12th July 2004, 02:44 PM
trying to compile gDesklets-0.26.2 myself with --prefix=/usr instead of installing rpm
That's what I got trying to do "make"


[skip]
mkdir .libs
gcc -Wall -Wstrict-prototypes -Wmissing-prototypes -DG_DISABLE_DEPRECATED -DGDK_DISABLE_DEPRECATED -DGDK_PIXBUF_DISABLE_DEPRECATED -DGTK_DISABLE_DEPRECATED -DORBIT2=1 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/gnome-vfs-2.0 -I/usr/include/gnome-vfs-module-2.0 -I/usr/lib/gnome-vfs-2.0/include -I/usr/include/bonobo-activation-2.0 -I/usr/include/orbit-2.0 -g -O2 -o gdesklets-display-thumbnailer -Wl,--export-dynamic gdesklets-display-thumbnailer.o -pthread /usr/lib/libgnomevfs-2.so /usr/lib/libgconf-2.so /usr/lib/libbonobo-2.so /usr/lib/libxml2.so -L/usr/kerberos/lib -lssl -lcrypto -lgssapi_krb5 -lkrb5 -lcom_err -lk5crypto -lresolv -lz -lrt /usr/lib/libbonobo-activation.so /usr/lib/libORBitCosNaming-2.so /usr/lib/libORBit-2.so /usr/lib/libpopt.so /usr/lib/libgobject-2.0.so -lm /usr/lib/libgmodule-2.0.so -ldl /usr/lib/libgthread-2.0.so -lpthread /usr/local/lib/libglib-2.0.so -Wl,--rpath -Wl,/usr/local/lib -Wl,--rpath -Wl,/usr/local/lib
/usr/lib/libgthread-2.0.so: undefined reference to `g_thread_init_glib'
collect2: ld returned 1 exit status
[skip]


any suggestions?

shyam
17th July 2004, 08:35 PM
On Fedora Core 2 running 2.6.6 I am having problem with running some gdesklets.
I am being able to run the gnomeclock.display perfectly but I am helpless running the following
CornerXMMS-0.0.5
psi-small
starterbar-desklet-0.30
I get the following error messages while trying to load : Starterbar
Could not load sensor 'StarterBar'
An error occured while loading a sensor. This most likely means that the sensor is broken or simply not installed.
and
Invalid display file '/home/shyam/.gdesklets/Displays/starterbar-desklet-0.30/starterbar.display'
The display file contains invalid data and could not be loaded.

Any thoughts.

Dragoran
21st July 2004, 09:01 PM
I can't run gDesklet i have followed the instructions but i get this error:

gdesklets $HOME/.gdesklets/Displays/SysInfo/sysinfo.display
Bonobo accessibility support initialized
GTK Accessibility Module initialized
Atk Accessibilty bridge initialized
gDesklets 0.26.2
Copyright (C) 2003, 2004 The gDesklets Team

This software is licensed under the terms of the GNU GPL.

application finalize called

N00ne
28th July 2004, 05:16 AM
On Fedora Core 2 running 2.6.6 I am having problem with running some gdesklets.
I am being able to run the gnomeclock.display perfectly but I am helpless running the following
CornerXMMS-0.0.5
psi-small
starterbar-desklet-0.30
I get the following error messages while trying to load : Starterbar
Could not load sensor 'StarterBar'
An error occured while loading a sensor. This most likely means that the sensor is broken or simply not installed.
and
Invalid display file '/home/shyam/.gdesklets/Displays/starterbar-desklet-0.30/starterbar.display'
The display file contains invalid data and could not be loaded.

Any thoughts.

i want to support you -
i have the same problem...

CornerXMMS, for example, give me this output:


[elad@localhost CornerXMMS]$ gdesklets cornerxmms-bottomright.display
gDesklets 0.26.2
Copyright (C) 2003, 2004 The gDesklets Team

This software is licensed under the terms of the GNU GPL.

[elad@localhost CornerXMMS]$ gdesklets
gDesklets 0.26.2
Copyright (C) 2003, 2004 The gDesklets Team

This software is licensed under the terms of the GNU GPL.

Traceback (most recent call last):
File "/usr/share/gdesklets/factory/SensorFactory.py", line 51, in create_sensor
module = __import__(name)
File "./CornerXMMS/__init__.py", line 9, in ?
import xmms
ImportError: No module named xmms
No module named xmms
Traceback (most recent call last):
File "/usr/share/gdesklets/factory/SensorFactory.py", line 71, in create_sensor
sensor = module.new_sensor(args)
AttributeError: 'module' object has no attribute 'new_sensor'
'module' object has no attribute 'new_sensor'
Could not load sensor CornerXMMS
closing 1090944341570892394437953
collected garbage: 14 uncollectable: 0
purging 1090944341570892394437953


waiting for an idea...

cybrjackle
29th July 2004, 02:11 PM
Did you install PYxmms?

http://people.via.ecp.fr/~flo/index.en.xhtml

N00ne
30th July 2004, 03:25 AM
Did you install PYxmms?

http://people.via.ecp.fr/~flo/index.en.xhtml


yes. it still doesn't work...

Jimbobbob
6th September 2004, 08:08 PM
I came across this when googling for the solution, and when I figured it out, I thought I'd share it with you. When you build pyxmms, you have to edit setup.cfg, and change the prefix. For example, I had to change mine from:
prefix=/usr/local
to:
prefix=/usr
and then run as root:
./setup.py clean
./setup.py build
./setup.py install --record foo

james1
10th September 2004, 10:18 AM
Hey all,
Which forum do I need to go to so I can learn how to download and install different programs? I do not know anything about where to type the instruction or like the command line. Where do I find that on my desktop? I have alot of applications not installed on my laptop from the first installation. I am using Gnome desktop do I need to install KDE also? I just don't know what to do. Maybe I need to go to that Linspire Linux everything is click in the warehouse and it installs. I just don't know what I should do. I went to linux cause it is suppose to be the new os of the future. Maybe I should stay in the past LOL .
thanks
james1
fedora 2

imdeemvp
10th September 2004, 10:26 AM
james, you should it started a new thread in general help....

you can find a lot of answers here: www.fedorafaq.org

and to install kde redhat panel >System setting >Add/Remove apps and check the kde box to install....

buchacho
17th November 2004, 08:51 AM
Hi, I'm having problems installing gDesklets on FC2. I tried to install the program (v0.30) via yum and got the application to run. Then I proceeded to install starterbar (v0.22) and goodweather (v0.4) through yum also. I did all of these installations as the root user. I noticed that gDesklets won't run under root...is that typical? I tried to run both starterbar and goodweather from the shell, but they both cam up with the same error:

Invalid display file '/usr/share/gdesklets/Displays/StarterBar/starterbar.display'
The display file contains invalid data and could not be loaded.. :(

I tried removing the files and installing a different version, per the mini FAQ in the beginning of this tread, but then the program didn't install at all. It appears that I was able to install gDesklets successfully through yum, but the plugins didn't work at all.

Questions:

1. How do I remove all of the files from gDesklets? ie which directories?
2. What is the best way to install gDesklets and starterbar? (please include terminal commands)

If there's a detailed FAQ on installing gDesklets and starterbar for FC 2, please point me to it.

Thanks! :D

vavhab
24th November 2004, 09:45 PM
Hi!

I have FC3 with default kernel. I installed gdesklets en gdesklets-good-weather with apt-get.
I start gdesklets daemon, and i run good weather diplay, and i get this error message:
Traceback (most recent call last):
File "/usr/share/gdesklets/factory/DisplayFactory.py", line 91, in create_display
dsp.new_child(childtype, settings, children)
File "/usr/share/gdesklets/display/Display.py", line 200, in new_child
self.__group.new_child(t, s, c)
File "/usr/share/gdesklets/display/TargetGroup.py", line 67, in new_child
child = ContainerTarget.new_child(self, childtype, settings, children)
File "/usr/share/gdesklets/display/ContainerTarget.py", line 75, in new_child
child = targetregistry.create(childtype, self)
File "/usr/share/gdesklets/display/targetregistry.py", line 58, in create
raise KeyError("Unknown target type \"%s\"." % name)
KeyError: u'Unknown target type "metha".'

Sorry my english!

Rubinas
25th November 2004, 08:06 AM
goto Goodweather.display ant change metha->meta

Gamx
25th November 2004, 08:36 AM
In the dag repository you can now find a new gdesklets rpm for FC3. It is version 0.30 (not the most recent one) but in my system it works great.

Artemis
25th November 2004, 12:18 PM
goto Goodweather.display ant change metha->meta

As I described in my howto :)

PLANT
26th November 2004, 05:35 AM
Hi, I'm having problems installing gDesklets on FC2. I tried to install the program (v0.30) via yum and got the application to run. Then I proceeded to install starterbar (v0.22) and goodweather (v0.4) through yum also. I did all of these installations as the root user. I noticed that gDesklets won't run under root...is that typical? I tried to run both starterbar and goodweather from the shell, but they both cam up with the same error:

Invalid display file '/usr/share/gdesklets/Displays/StarterBar/starterbar.display'
The display file contains invalid data and could not be loaded.. :(

I tried removing the files and installing a different version, per the mini FAQ in the beginning of this tread, but then the program didn't install at all. It appears that I was able to install gDesklets successfully through yum, but the plugins didn't work at all.

Questions:

1. How do I remove all of the files from gDesklets? ie which directories?
2. What is the best way to install gDesklets and starterbar? (please include terminal commands)

If there's a detailed FAQ on installing gDesklets and starterbar for FC 2, please point me to it.

Thanks! :D

Having the same error on FC3, gdesklets installed through synaptic. Haven't searched much for a possible solution, this is the first thread I have come across, figured I would bump this up.

jgionet
27th November 2004, 01:55 AM
I'd like to get starterbar working with gDesklets as well. I managed to get everything else working. (weather, google, etc)

LinuxNewb
27th November 2004, 06:13 PM
Ok i have gdesklets v0.30 on gnome and FC3, with the goodweather and nvidia sensors installed

When i run shell and try to run a display i get this


Traceback (most recent call last):
File "/usr/share/gdesklets/factory/SensorFactory.py", line 75, in create_sensor
sensor = module.new_sensor(args)
File "./Nvidia/__init__.py", line 33, in new_sensor
def new_sensor(args): return apply(Nvidia, args)
File "./Nvidia/__init__.py", line 14, in __init__
self.__model = string.split(string.split(commands.getoutput("lspci | grep VGA "),'[')[1], ']')[0]
IndexError: list index out of range


and when i try and run the GoodWeather sensor i get


Traceback (most recent call last):
File "/usr/share/gdesklets/factory/DisplayFactory.py", line 91, in create_display
dsp.new_child(childtype, settings, children)
File "/usr/share/gdesklets/display/Display.py", line 200, in new_child
self.__group.new_child(t, s, c)
File "/usr/share/gdesklets/display/TargetGroup.py", line 67, in new_child
child = ContainerTarget.new_child(self, childtype, settings, children)
File "/usr/share/gdesklets/display/ContainerTarget.py", line 75, in new_child
child = targetregistry.create(childtype, self)
File "/usr/share/gdesklets/display/targetregistry.py", line 58, in create
raise KeyError("Unknown target type \"%s\"." % name)
KeyError: u'Unknown target type "metha".'


Any one know how to fix this and get it working?

buchacho
29th November 2004, 07:41 PM
As I described in my howto :)
goto Goodweather.display ant change metha->meta

This just seems to change the title information in the shell next to the plugin's icon. I still get the same error after fixing the "meta" error.

impliedparadox
20th December 2004, 08:01 AM
I get the same error (The display file contains invalid data and could not be loaded.) as many people when trying to install psi-small, but no one has ever answered anyone on how to fix this. What needs to be done? Thanks

telmo
20th December 2004, 08:26 AM
Try the newer version. You can download it @ http://gdesklets.gnomedesktop.org/
Works better! ;)

FireGunz
11th April 2006, 12:02 PM
hi, can someone help me out. I'm using -> yum -y install gdesklets and it done but still unable to start the gdesklets.

as it say :
[root@localhost etc]# gdesklets --help

You're running gDesklets for the first time.
gDesklets will start a requirements check now...

Checking requirements:
- sys ... found
- xml.parsers.expat ... found
- xml.sax ... found
- gtk ... found
- ORBit ... found
Version check failed.

ORBit python bindings (pyorbit) version == 2.0.1 are required.

Please make sure that the required software is installed.
Also try to avoid having multiple versions of a library/binding on your system.
gDesklets won't work if you don't have all necessary dependencies installed
on your system.

THE STARTUP WILL BE CANCELLED NOW!

I had already install -> yum install pygtk-devel pyorbit-devel gnome-python

and install -> yum install ORBit2 ORBit2-devel

so what did I miss it again..... or where to get the ORBit python bindings (pyorbit) version == 2.0.1 are required.

please help me out. thank :(

urzasrage
18th April 2006, 10:04 PM
Do not run gdesklet as root

engwnbie
18th April 2006, 11:13 PM
hi, can someone help me out. I'm using -> yum -y install gdesklets and it done but still unable to start the gdesklets.

as it say :
[root@localhost etc]# gdesklets --help

You're running gDesklets for the first time.
gDesklets will start a requirements check now...

Checking requirements:
- sys ... found
- xml.parsers.expat ... found
- xml.sax ... found
- gtk ... found
- ORBit ... found
Version check failed.

ORBit python bindings (pyorbit) version == 2.0.1 are required.

Please make sure that the required software is installed.
Also try to avoid having multiple versions of a library/binding on your system.
gDesklets won't work if you don't have all necessary dependencies installed
on your system.

THE STARTUP WILL BE CANCELLED NOW!

I had already install -> yum install pygtk-devel pyorbit-devel gnome-python

and install -> yum install ORBit2 ORBit2-devel

so what did I miss it again..... or where to get the ORBit python bindings (pyorbit) version == 2.0.1 are required.

please help me out. thank :(
It looks Like it is also being discussed here: http://forums.fedoraforum.org/showthread.php?t=104886
And also here apperently a glitch. See here: http://thefinalzone.blogspot.com/2006/04/strange-gdesklets-problem.html Originaly posted here further down the page. http://fedoraproject.org/people/

cursed_sword
28th August 2006, 06:03 PM
I did the orbit version check change in the gDesklets file, but i'm still having the same problem... What should i do? >_<

cursed_sword
12th September 2006, 12:31 AM
Problem solved in the last update. Thanks anyway..

qzzx1k
14th September 2007, 10:15 PM
Does anyone know how to get gdesklets to work through a proxy? I have FC7, and installed the gdesklets (no problem), installed a couple of "desklets" (calendar, quote of the day, etc...) and those work fine. However, when I installed the "weather desklet(s)" they aren't getting update info from the net. I installed the same ones at home, and they work fine. Any Help would be greatly appreciated!

Thanks,
Dan