PDA

View Full Version : Installation gDesklets FC3



Artemis
12th November 2004, 11:41 AM
Installing gDesklets version 0.31 under Fedora Core 3
This thread will describe the installation procedures to get gDesklets working under Fedora Core 3. I noticed the many problems with this piece of software. Many threads are created for the solution of one of more problems. This document will explain the installation steps in detail. I started off with a basic installation of Fedora and installed gDesklets from the tarball.

gDesklets installation

Download the package from http://www.pycage.de/download/gdesklets/gDesklets-0.31.1.tar.bz2
Extract the package by doing this in a terminal:

tar -xjf gDesklets-0.31.1.tar.bz2
Now it's time to jump in the directory that is extracted and start installing, by doing this:

cd gDesklets-0.31
./configure
make
su -c "make install"
- enter root password -
Installation gDesklets finished.

gConf installation

One of the requirements of gDesklets is a module named gConf.
The first step is to check if it's already installed on your system.

rpm -qa gnome-python2-gconf
When step 1 is not giving you any output, gconf is simply not installed. In the other hand if there is output you can forget this section and start with the next section.
Now it's time to install the package using yum. (For setting up yum with repositories and importing the gpg-keys, I refer to do a search on the forum)
Installing package using yum:

yum install gnome-python2-gconf
Installation gConf finished.

.display configuration
I installed three displays in gDesklets: gmail checker, sysinfo and goodweather. In this section I'll discuss them all.

gmail checker & sysinfo

The installation of these display are identical, that's why I took them together in this section.
Download the packages:
Gmail (http://gdesklets.gnomedesktop.org/files.php?func=gd_downloadfile&gd_filename=GmailCheck-0.3.1.tar.gz&gd_fileid=479)
Sysinfo (http://gdesklets.gnomedesktop.org/files.php?func=gd_downloadfile&gd_filename=SysInfo-0.26.tar.gz&gd_fileid=407)
Run the GUI (Graphical User Interface) by type this commando in a terminal:

gdesklets shell
Or you can run it from the menu: Accessories->gDesklets
Then now is the time to install the packages, click File->Install package...
Open the package you have downloaded before.
Repeat the action for both packages!!!
Open tab Displays and select a display, click File->Run selected display.
Repeat the action for both packages!!!
Installation gmail checker & sysinfo finished

goodweather

Download the package: (http://gdesklets.gnomedesktop.org/files.php?func=gd_downloadfile&gd_filename=GoodWeather-0.4.tar.bz2&gd_fileid=226)
Run the GUI (Graphical User Interface) by type this commando in a terminal:

gdesklets shell
Or you can run it from the menu: Accessories->gDesklets
Then now is the time to install the package, click File->Install package...
Open the package you have downloaded before.
Open a terminal and enter:

gedit ~/.gdesklets/Displays/GoodWeather.display
Please edit on line 4:
<metha author ... into <meta author ...
Open tab Displays and select the display, click File->Run selected display.
Installation goodweather finished.

Automatically start gDesklets while logging in

To get gDesklets started after logging in a Gnome session.
Run from menu Preferences->More Preferences-> Sessions
Open tab Startup Programs
Add startup command: gdesklets start

kama
12th November 2004, 08:09 PM
Great. Thanks! I got i working. But i had to do the following first:
yum install librsvg*
yum install libgtop2*
yum install pygtk2-devel

griffse
16th November 2004, 04:50 PM
Hey guys, I get this error, any ideas?
--> Populating transaction set with selected packages. Please wait.
---> Package gdesklets.i386 0:0.30-1.1.fc2.dag set to be installed
--> Running transaction check
--> Processing Dependency: libgtop-2.0.so.2 for package: gdesklets
--> Processing Dependency: libcrlayeng.so.1 for package: gdesklets
--> Processing Dependency: libcrseleng.so.2 for package: gdesklets
--> Processing Dependency: libcroco.so.1 for package: gdesklets
--> Finished Dependency Resolution
Error: missing dep: libgtop-2.0.so.2 for pkg gdesklets
Error: missing dep: libcrlayeng.so.1 for pkg gdesklets
Error: missing dep: libcrseleng.so.2 for pkg gdesklets
Error: missing dep: libcroco.so.1 for pkg gdesklets

Artemis
16th November 2004, 06:21 PM
Hey guys, I get this error, any ideas?
--> Populating transaction set with selected packages. Please wait.
---> Package gdesklets.i386 0:0.30-1.1.fc2.dag set to be installed
--> Running transaction check
--> Processing Dependency: libgtop-2.0.so.2 for package: gdesklets
--> Processing Dependency: libcrlayeng.so.1 for package: gdesklets
--> Processing Dependency: libcrseleng.so.2 for package: gdesklets
--> Processing Dependency: libcroco.so.1 for package: gdesklets
--> Finished Dependency Resolution
Error: missing dep: libgtop-2.0.so.2 for pkg gdesklets
Error: missing dep: libcrlayeng.so.1 for pkg gdesklets
Error: missing dep: libcrseleng.so.2 for pkg gdesklets
Error: missing dep: libcroco.so.1 for pkg gdesklets

As far as I see this is yum output, isn't. I installed gdesklets from tarball, see post.

griffse
16th November 2004, 06:29 PM
Yes it's yum but it doesn't run when I do it from tarball either

griffse
16th November 2004, 06:35 PM
When I run make:

collect2: ld returned 1 exit status
make[4]: *** [libgtop_const] Error 1
make[4]: Leaving directory `/home/griffse/gDesklets-0.31/libdesklets/system'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/home/griffse/gDesklets-0.31/libdesklets/system'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/griffse/gDesklets-0.31/libdesklets'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/griffse/gDesklets-0.31'
make: *** [all] Error 2

griffse
16th November 2004, 06:56 PM
When I try to run the program.
:)
./gdesklets shell
[griffse@Ronin gDesklets-0.31]$
(gDesklets Shell:22501): GConf-CRITICAL **: file gconf-client.c: line 547 (gconf_client_add_dir): assertion `gconf_valid_key (dirname, NULL)' failed
Traceback (most recent call last):
File "/home/griffse/gDesklets-0.31/gdesklets-shell", line 10, in ?
shell = registry.get_plugin("UI_Shell")
File "/home/griffse/gDesklets-0.31/shell/PluginRegistry.py", line 59, in get_plugin
result = self.get_plugins_by_pattern("name", name)
File "/home/griffse/gDesklets-0.31/shell/PluginRegistry.py", line 47, in get_plugins_by_pattern
plugin.init()
File "./Shell/__init__.py", line 77, in init
File "/home/griffse/gDesklets-0.31/shell/Plugin.py", line 25, in _get_plugins_by_pattern
return registry.get_plugins_by_pattern(key, pattern)
File "/home/griffse/gDesklets-0.31/shell/PluginRegistry.py", line 47, in get_plugins_by_pattern
plugin.init()
File "./Profiles/__init__.py", line 19, in init
File "/home/griffse/gDesklets-0.31/shell/Plugin.py", line 31, in _get_plugin
plugin = registry.get_plugin(name, *interfaces)
File "/home/griffse/gDesklets-0.31/shell/PluginRegistry.py", line 59, in get_plugin
result = self.get_plugins_by_pattern("name", name)
File "/home/griffse/gDesklets-0.31/shell/PluginRegistry.py", line 47, in get_plugins_by_pattern
plugin.init()
File "./gDeskletsClient/__init__.py", line 23, in init
File "./gDeskletsClient/__init__.py", line 31, in __get_daemon
AttributeError: 'str' object has no attribute 'set_remove_command'

yur1022
16th November 2004, 07:08 PM
Dag was one of FC1 & FC2 APT/YUM repositories that I relied on. But for FC3, I heard of someone's warning about dependency issues of Dag; I had the same problem with gdesklets. So, I compiled gdesklets from 0.31-1 tarball. Under XFce 4.1.9, it keeps crashing. I used 0.30 tarball, and noticed it crashed less often. But, under gdesklets 0.30, PSI-small's ethernet in/out sensor did not function.

I got some patch on 0.31-1 from Debian's unstable branch. So far it seems OK.

yur

griffse
16th November 2004, 07:12 PM
Sounds like it mightbe best to wait a little bit for this to work huh? How do you run only xfce as your desktop?

elgreco
16th November 2004, 08:05 PM
Hello Artemis,
I installed it the way you wrote... but I got some error messages and gdesklets does not start.
The output was:

[root@localhost ~]# gdesklets shell
[root@localhost ~]#
(gDesklets Shell:22188): GnomeUI-WARNING **: While connecting to session manager :
Authentication Rejected, reason : None of the authentication protocols specified are supported and host-based authentication failed.

(gDesklets Shell:22188): GConf-CRITICAL **: file gconf-client.c: line 547 (gconf _client_add_dir): assertion `gconf_valid_key (dirname, NULL)' failed

Can someone help?
I am running FC3 with Gnome.

HarshReality
16th November 2004, 08:18 PM
First, great tutorial. Went like a breeze. Odd though my Sysinfo doesnt show the CPU load (actually any of the graphical data) but the text data is shown fine. When I tell it to restart it flashes the graphs for a split second though. Any ideas?

yur1022
16th November 2004, 08:38 PM
Sounds like it mightbe best to wait a little bit for this to work huh? How do you run only xfce as your desktop?

Get all sources (tarball files) from xfce.org. Compile and install each and every one of them by doing (1) configure --prefix=/usr (2) make (3) as su, make install. Be sure to check installation notes in xfce.org. Certain tarballs must be installed first.

Create /etc/X11/dm/Sessions/xfce.desktop, which contains


[Desktop Entry]
Encoding=UTF-8
Name=XFCE4
Comment=This session logs you into XFCE4
Exec=startxfce4
Icon=
Type=Application

Create /etc/X11/gdm/Sessions/XFCE, which contains


#!/bin/bash

exec /etc/X11/xdm/Xsession XFCE4

Create xfce.desktop in /usr/share/xsessions


[Desktop Entry]
Encoding=UTF-8
Name=XFCE4
Comment=This session logs you into XFCE4
Exec=startxfce4
Icon=
Type=Application

Now, in both Gnome and KDE login manager, XFCE4 will be available.

yur

Artemis
16th November 2004, 09:45 PM
Hello Artemis,
I installed it the way you wrote... but I got some error messages and gdesklets does not start.
The output was:

[root@localhost ~]# gdesklets shell
[root@localhost ~]#
(gDesklets Shell:22188): GnomeUI-WARNING **: While connecting to session manager :
Authentication Rejected, reason : None of the authentication protocols specified are supported and host-based authentication failed.

(gDesklets Shell:22188): GConf-CRITICAL **: file gconf-client.c: line 547 (gconf _client_add_dir): assertion `gconf_valid_key (dirname, NULL)' failed

Can someone help?
I am running FC3 with Gnome.

Found your problem causing the break-down:
http://gnomesupport.org/forums/viewtopic.php?t=8187

elgreco
17th November 2004, 09:26 PM
Thanks for your help Artemis,
I installed gnome-python 2.6 and because of the dependencies pyorbit-2.0.1
then I removed gdesklets and installed it again. But I got the same message...
I guess there went something wrong when Installing gnome-python.

Would it have any effect If i simply remove the pygtk 2.4. Package... What is it good for?


Greetings

El Greco

griffse
17th November 2004, 09:50 PM
I tried it in Xcfe and got the same results. Thanks for trying to help though.

Axodious
17th November 2004, 10:56 PM
When I try to run the program.
:)
./gdesklets shell
[griffse@Ronin gDesklets-0.31]$
(gDesklets Shell:22501): GConf-CRITICAL **: file gconf-client.c: line 547 (gconf_client_add_dir): assertion `gconf_valid_key (dirname, NULL)' failed
Traceback (most recent call last):
File "/home/griffse/gDesklets-0.31/gdesklets-shell", line 10, in ?
shell = registry.get_plugin("UI_Shell")
File "/home/griffse/gDesklets-0.31/shell/PluginRegistry.py", line 59, in get_plugin
result = self.get_plugins_by_pattern("name", name)
File "/home/griffse/gDesklets-0.31/shell/PluginRegistry.py", line 47, in get_plugins_by_pattern
plugin.init()
File "./Shell/__init__.py", line 77, in init
File "/home/griffse/gDesklets-0.31/shell/Plugin.py", line 25, in _get_plugins_by_pattern
return registry.get_plugins_by_pattern(key, pattern)
File "/home/griffse/gDesklets-0.31/shell/PluginRegistry.py", line 47, in get_plugins_by_pattern
plugin.init()
File "./Profiles/__init__.py", line 19, in init
File "/home/griffse/gDesklets-0.31/shell/Plugin.py", line 31, in _get_plugin
plugin = registry.get_plugin(name, *interfaces)
File "/home/griffse/gDesklets-0.31/shell/PluginRegistry.py", line 59, in get_plugin
result = self.get_plugins_by_pattern("name", name)
File "/home/griffse/gDesklets-0.31/shell/PluginRegistry.py", line 47, in get_plugins_by_pattern
plugin.init()
File "./gDeskletsClient/__init__.py", line 23, in init
File "./gDeskletsClient/__init__.py", line 31, in __get_daemon
AttributeError: 'str' object has no attribute 'set_remove_command'
Anyone got a fix for this yet? I have the same issue. :(

yur1022
18th November 2004, 01:53 AM
I had all required RPMs installed first. They include gnome-python2-gconf, python, python-devel, GConf2, GConf2-devel, GConf, GConf-devel (just in case), gnome-python2, libgtop2, libgtop2-devel, librsvg2, and librsvg2-devel.

Then, got the tarball and a patch from the Debian's unstable site:

http://packages.debian.org/unstable/gnome/gdesklets

and applied the patch (e.g., patch -p0<....). Compilation was done as usual (e.g., configure --prefix=/usr; make; and next as su, make install).

Well, I still do see

(gDesklets Shell:6392): GConf-CRITICAL **: file gconf-client.c: line 547 (gconf_client_add_dir): assertion `gconf_valid_key (dirname, NULL)' failed
/usr/share/gdesklets/shell/BookmarkList.py:19: DeprecationWarning: use gtk.ComboBox
self.__optmenu = gtk.OptionMenu()
But gdekslets runs great.

yur

Naj_Geetsrev
18th November 2004, 09:36 PM
It install's without problems. The daemon starts without errors. But when i run "gdesklets shell" i get this error/output:
"(gDesklets Shell:3636): GConf-CRITICAL **: file gconf-client.c: line 547 (gconf_client_add_dir): assertion `gconf_valid_key (dirname, NULL)' failed
Traceback (most recent call last):
File "/usr/local/share/gdesklets/plugin/PluginRegistry.py", line 59, in __scan_repository
module = __import__(f)
File "./URI/__init__.py", line 4, in ?
import gnome.vfs as vfs
ImportError: No module named vfs
URI in /usr/local/share/gdesklets/Controls/URI is NOT a valid plugin!
/usr/local/share/gdesklets/shell/BookmarkList.py:19: DeprecationWarning: use gtk.ComboBox
self.__optmenu = gtk.OptionMenu()
"

The shell runs, but i can't start a display, it allway's has error's like goodweather:
"Traceback (most recent call last):
File "/usr/local/share/gdesklets/factory/SensorFactory.py", line 83, in create_sensor
sensor = module.new_sensor(args)
AttributeError: 'module' object has no attribute 'new_sensor'
"

I'm running a fully updated FC3. And sorry for my crappy english, i'm from the netherlands. :).

Finalzone
20th November 2004, 08:35 AM
I think GDesklet is integrated in Gnome 2.8.x. Right click on the panel to check out.

scio.at
20th November 2004, 05:26 PM
Hi everybody!

My first posting in this forum....

Thx for this really good how-to!!

At first I had the same

"(gDesklets Shell:3636): GConf-CRITICAL **: file gconf-client.c: line 547 (gconf_client_add_dir): assertion `gconf_valid_key (dirname, NULL)' failed

problem like some of you.

Then I restarted and now I was able to get the daemon started (Acc->gdesklets)
BUT error when I want to manage them:
Here's gDesklets log
Traceback (most recent call last):
File "/usr/local/share/gdesklets/plugin/PluginRegistry.py", line 59, in
__scan_repository
module = __import__(f)
File "./URI/__init__.py", line 4, in ?
import gnome.vfs as vfs
ImportError: No module named vfs

next I found (in a german board)
* Python bindings for gnome-vfs (usually called gnome-python2-gnomevfs)

now it WORKS!

EDIT: it works, if i start gdesklets BEFORE i run a xdsl/adsl dialin script... (my isp is inode.at)

scio.at

Artemis
20th November 2004, 09:06 PM
I see a lot of error with the message:
No module named vfs;
matbe it's a good idea installing this module :) (clever), to do this use yum:


su
yum install gnome-vfs

Kepp me up-to-date if this work, greetingzzz

scio.at
20th November 2004, 09:42 PM
thx for answering, but did you read it to the end?

i am able to use gDesklets, but i cant start it, while my internet connection is up (adsl dialin script)

bye

Artemis
20th November 2004, 09:47 PM
thx for answering, but did you read it to the end?

i am able to use gDesklets, but i cant start it, while my internet connection is up (adsl dialin script)

bye

sowiie, great to hear that :) .

KeDruff
21st November 2004, 07:03 AM
Artemis -- Hallo. Groetje uit Amerika. Hoe maakt u het? Waar leeft u? Mijn tanteleven in Eindhoven. And, because your English is light-years better than my dutch, I'm switching back to english:).

I'm hoping you can help me. I've got gDesklets running and several displays working thanks to your excellent instructions. I am trying to get CornerXMMS running. I have installed almost every library and devel-library I can think of or can find in long searches. I have installed pyXMMS, XMMS, pyXMMS-remote. When I try to run the display, I get the following in the log.


Traceback (most recent call last):
File "/usr/local/share/gdesklets/factory/SensorFactory.py", line 83, in
create_sensor
sensor = module.new_sensor(args)
AttributeError: 'module' object has no attribute 'new_sensor'
Traceback (most recent call last):
File "/usr/local/share/gdesklets/factory/DisplayFactory.py", line 75, in
create_display
sax.parseString(data, self)
File "/usr/lib/python2.3/site-packages/_xmlplus/sax/__init__.py", line 47, in
parseString
parser.parse(inpsrc)
File "/usr/lib/python2.3/site-packages/_xmlplus/sax/expatreader.py", line 109,
in parse
xmlreader.IncrementalParser.parse(self, source)
File "/usr/lib/python2.3/site-packages/_xmlplus/sax/xmlreader.py", line 123,
in parse
self.feed(buffer)
File "/usr/lib/python2.3/site-packages/_xmlplus/sax/expatreader.py", line 216,
in feed
self._parser.Parse(data, isFinal)
File "/usr/lib/python2.3/site-packages/_xmlplus/sax/expatreader.py", line 314,
in end_element
self._cont_handler.endElement(name)
File "/usr/local/share/gdesklets/factory/DisplayFactory.py", line 225, in
endElement
sensorctrl.sensor = (module, args)
File "./Sensors/__init__.py", line 38, in __set_sensor
RuntimeError: Could not load sensor

Hope you can help. Dank u wel.

KD

Artemis
21st November 2004, 11:13 AM
Artemis -- Hallo. Groetje uit Amerika. Hoe maakt u het? Waar leeft u? Mijn tanteleven in Eindhoven. And, because your English is light-years better than my dutch, I'm switching back to english:).

I'm hoping you can help me. I've got gDesklets running and several displays working thanks to your excellent instructions. I am trying to get CornerXMMS running. I have installed almost every library and devel-library I can think of or can find in long searches. I have installed pyXMMS, XMMS, pyXMMS-remote. When I try to run the display, I get the following in the log.



Hope you can help. Dank u wel.

KD

hehehe, your dutch is just great :) . Eindhoven is a nice place to be. But I'm sorry to disappoint you with your nonworking gDesklet display, I tried that xmms display before but even I wasn't been able to get it working.

Artemis
21st November 2004, 04:38 PM
Artemis -- Hallo. Groetje uit Amerika. Hoe maakt u het? Waar leeft u? Mijn tanteleven in Eindhoven. And, because your English is light-years better than my dutch, I'm switching back to english:).

I'm hoping you can help me. I've got gDesklets running and several displays working thanks to your excellent instructions. I am trying to get CornerXMMS running. I have installed almost every library and devel-library I can think of or can find in long searches. I have installed pyXMMS, XMMS, pyXMMS-remote. When I try to run the display, I get the following in the log.



Hope you can help. Dank u wel.

KD

I hope I can help you now, after some googling I figured out that you need a command-line utility that will control xmms for the python interface. This module (PyXMMS) will be used by the display. Here's a link for the module and keep me up-to-date, will you?

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

Download page:
http://people.via.ecp.fr/~flo/2002/PyXMMS/dist/

Artemis
21st November 2004, 05:31 PM
hehehe, your dutch is just great :) . Eindhoven is a nice place to be. But I'm sorry to disappoint you with your nonworking gDesklet display, I tried that xmms display before but even I wasn't been able to get it working.

xmms was solved earlier on the forum, check the link for a post of Jimbobbob, something about changing the prefix:
http://www.fedoraforum.org/forum/archive/index.php/t-359.html

KeDruff
21st November 2004, 08:13 PM
Thanks, Artemis. I have gotten Corner XMMS to load. Now if only it would control XMMS... LOL...

KD

ozp
21st November 2004, 08:34 PM
I think there should be a core 3 rpm for this software

DarKrow
24th November 2004, 01:48 AM
I installed gDesklets from the tarball, but every time I launch a desklet, I get the following error output:


Traceback (most recent call last):
File "/usr/local/share/gdesklets/factory/SensorFactory.py", line 83, in create_sensor
sensor = module.new_sensor(args)
File "./Theme/__init__.py", line 112, in new_sensor
File "./Theme/__init__.py", line 31, in __init__
IndexError: list index out of range

Kokanee100
24th November 2004, 04:55 AM
Looks like DAG has added some FC3 RPMs... http://dag.wieers.com/packages/gdesklets/

telmo
18th December 2004, 09:23 AM
It works for me in Gnome! I'm using Fedora Core 3... Very nice app, although i can't use all the themes.. :(

impliedparadox
20th December 2004, 08:53 AM
I have installed gdesklets and got Goodweather working, but I cannot get psi-small to work. What do I have to do? (I need very explicit directions since I am new to this). Thanks.

Igoraus
22nd December 2004, 02:26 PM
I got error when run gdesklets shell

[igoraus@Muza ~]$ gdesklets shell
[igoraus@Muza ~]$ Cannot establish connection to daemon: timeout!


what daemon gdesklets must connect and why gdesklets not whant connect!!!

Chemfy
24th December 2004, 08:18 PM
I have the following problems with this:
a) How can I know what is the location code for my area ?? Finland, Oulu

b) The sysinfo says "unkown CPU" and doesn't show the info about it, how can I make it know what it is ??

telmo
24th December 2004, 09:09 PM
To get PSI themes to work you need to copy the themes to the the folder /home/<user>/.gdesklets
and the sensors to /home/<user>/.gdesklets/sensors ;)

I can't seem to find all the sensors... but i got many of them working...
You can also open the PSI theme you downloaded and read the readme file.

Hope that helps!

Shadow Skill
25th December 2004, 09:10 AM
Ok mine works I installed sysinfo but the data it displays is totally wrong, it swears my Linux partition is 3.65 gigs when its 20 wth?

radek.hulan
25th December 2004, 03:31 PM
dag's repo has gdesklets rpm

blammo
25th December 2004, 05:02 PM
Thanks for the tutorial but after finally getting the daemon to load, I was disappointed. I found that many of the applets didn't work right, and the ones that did I found to be cheesy and resource hogging. It's just a bunch of silly eye-candy that's not very useful.

Shadow Skill
26th December 2004, 02:05 AM
That was always the point..................

chrisime
27th December 2004, 02:10 AM
Thanks for the tutorial but after finally getting the daemon to load, I was disappointed. I found that many of the applets didn't work right, and the ones that did I found to be cheesy and resource hogging. It's just a bunch of silly eye-candy that's not very useful.
Well, that's only have of the truth. Most desklets are Sensor based and these won't work anymore in about 4 months when Sensor support will be dropped.
There are not many Control based desklets.
Some desklets haven't been updated for quite some time and these don't work anymore with newer gdesklets versions.
I have to agree that some desklets are just some sill eye-candy things...

chrisime
27th December 2004, 02:12 AM
Ok mine works I installed sysinfo but the data it displays is totally wrong, it swears my Linux partition is 3.65 gigs when its 20
Don't use SysInfo! It's old, buggy and resource hungry. Martin and I'm currently working on a new version. It'll be out soon'ish...

telmo
4th January 2005, 01:36 PM
Can't wait! :P

Puggs
10th January 2005, 01:50 PM
I got error when run gdesklets shell

[igoraus@Muza ~]$ gdesklets shell
[igoraus@Muza ~]$ Cannot establish connection to daemon: timeout!


what daemon gdesklets must connect and why gdesklets not whant connect!!!

I'm getting this same problem, did you fix it and how,

I get this in my logs


Jan 10 23:13:52 supersonic gconfd (root-12302): starting (version 2.8.1), pid 12302 user 'root'
Jan 10 23:13:52 supersonic gconfd (root-12302): Resolved address "xml:readonly:/etc/gconf/gconf.xml.mandatory"
to a read-only configuration source at position 0
Jan 10 23:13:52 supersonic gconfd (root-12302): Resolved address "xml:readwrite:/root/.gconf"
to a writable configuration source at position 1
Jan 10 23:13:52 supersonic gconfd (root-12302): Resolved address "xml:readonly:/etc/gconf/gconf.xml.defaults"
to a read-only configuration source at position 2
Jan 10 23:21:54 supersonic gconfd (root-12302): Exiting

imdeemvp
10th January 2005, 07:06 PM
Great how to ;)

D@ Mick
12th January 2005, 02:49 PM
Got it to install fine. The gdesklets shell works fine to, I can install the sensors, but when I want to run one, it doesn't display on my screen :s I get some "+" and that's it

blairv
13th January 2005, 01:55 PM
Hi All,

Still finding my way around this Linux thing. I had a go at installing gDesktop but get the following error

[root@fedora gDesklets-0.33.1]# ./configure
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether to enable maintainer-specific portions of Makefiles... no
checking for gcc... no
checking for cc... no
checking for cc... no
checking for cl... no
configure: error: no acceptable C compiler found in $PATH
See `config.log' for more details.
[root@fedora gDesklets-0.33.1]#

Do I have something missing here ? I downloaded gDestop as a tarball then extracted it to /home/blairv/temp/.

I then changed to that dir and ran the commands as described in the how-to (which is great by the way)

Now I have the gDesktop icon, but when I open it there are no options, just a blamk window

Any help would be appreciated

Thanks

Blair

ThaRealest
13th January 2005, 02:29 PM
i have gdesklets installed fine and no errors when running gdesklets shell from terminal but i cant get anything working

PSI installed in ~/.gdesklets/Displays and sensors in ~/.gdesklets/Sensors but all the displas appear twice in the shell and when i try to run any of them i get:
Traceback (most recent call last):
File "/dar/tmp/gdesklets-0.33-1.1.fc3.rf-root/usr/share/gdesklets/factory/SensorFactory.py", line 86, in create_sensor
File "./Theme/__init__.py", line 112, in new_sensor
def new_sensor(args): return apply(Theme, args)
File "./Theme/__init__.py", line 31, in __init__
for a in output[0].split():
IndexError: list index out of range

the goodweather display (installed from rpm) is also listed twice and i get the following error:

could not find sensor 'GoodWeather'
a sensor has not been found this usually means it has not been installed

followed by this error:

invalid display file /usr/share/gdesklets/Displays/GoodWeather/GoodWeather.display
the display file contains invalid data and could not be loaded

if i try using the LTCandy displays i get:

a sensor could not be found, this usually means it is not installed
Traceback (most recent call last):
File "/dar/tmp/gdesklets-0.33-1.1.fc3.rf-root/usr/share/gdesklets/factory/SensorFactory.py", line 59, in create_sensor
File "./LTVMemory/__init__.py", line 5, in ?
from libdesklets import glibtop
ImportError: cannot import name glibtop

but again they are all installed in ~/.gdesklets/Sensors

both the psi and ltcandy sensors and displays i installed using the shells 'install package...' option so cant think why it doesnt work

any help appreciated

Tom

Splinter
16th January 2005, 10:17 PM
I've tried following the guide... And I've "kindof" gotten it installed. Now I'm a big time newb. My problem is that when I try to run the program here's what I get in the terminal:

Traceback (most recent call last):
File "/usr/local/lib/gdesklets/plugin/PluginRegistry.py", line 58, in __scan_repository
module = __import__(f)
File "/usr/local/lib/gdesklets/shell/plugins/PackageInstaller/__init__.py", line 5, in ?
from Downloader import Downloader
File "/usr/local/lib/gdesklets/shell/plugins/PackageInstaller/Downloader.py", line 8, in ?
import gnome.vfs as gnomevfs
ImportError: No module named vfs
PackageInstaller in /usr/local/lib/gdesklets/shell/plugins/PackageInstaller is NOT a valid plugin!

What am I doing wrong? - can anybody help?
Cheers

Splinter
17th January 2005, 09:20 AM
Heh... I found the problem myself.

As the code showed - if I had only bothered to have a close look. Was that I needed the gnome.vfs. Which I found out in yum was called: gnome-python2-gnomevfs.i386.

I hope that may be able to help someone else in time.

Bamos
21st January 2005, 10:09 PM
Heh... I found the problem myself.

As the code showed - if I had only bothered to have a close look. Was that I needed the gnome.vfs. Which I found out in yum was called: gnome-python2-gnomevfs.i386.

I hope that may be able to help someone else in time.

Thanks from a fellow noob. This is exactly what I needed.

dickinsd
23rd January 2005, 02:18 AM
Great. Thanks! I got i working. But i had to do the following first:
yum install librsvg*
yum install libgtop2*
yum install pygtk2-devel

Doing this, yum has found LOADS of dependencies, and I am only on the librsvg* install seems like a lot to download when all I want to do is install that great looking sysinfo jobby.

Well, as I have found out in my 3 or so fedora months, nothings easy in linux... :(

Dave

EDIT 29 extra packages just from the command yum install librsvg*

dickinsd
23rd January 2005, 02:55 AM
Hi All,

Still finding my way around this Linux thing. I had a go at installing gDesktop but get the following error

[root@fedora gDesklets-0.33.1]# ./configure
...
checking for gcc... no
checking for cc... no
checking for cc... no
checking for cl... no
configure: error: no acceptable C compiler found in $PATH
See `config.log' for more details.
[root@fedora gDesklets-0.33.1]#


Ok I had a similar problem, I had to do as Kama suggested:



Originally Posted by kama
Great. Thanks! I got i working. But i had to do the following first:
yum install librsvg*
yum install libgtop2*
yum install pygtk2-devel


and I had to get gcc as well



yum install gcc-c++*


this got me past that message, a few lines later and I got another message about python


checking for a Python interpreter with version >= 2.3... python
checking for python... /usr/bin/python
checking for python version... 2.3
checking for python platform... linux2
checking for python script directory... ${prefix}/lib/python2.3/site-packages
checking for python extension module directory... ${exec_prefix}/lib/python2.3/site-packages
checking /usr/include/python2.3/Python.h usability... no
checking /usr/include/python2.3/Python.h presence... no
checking for /usr/include/python2.3/Python.h... no
configure: error: Can't find Python.h! You will need the python development package
to successfully compile gDesklets.



any ideas on what I need to get? (package name?)

Dave

Method
26th January 2005, 07:25 AM
I have a fresh install of Fedora Core 3, it is fully updated. gDesklets was installed using the rpm gdesklets-0.33-1.1.fc3.rf.i386.rpm. Therewere no issues installing.
When I run gdesklets, the connection timesout

Starting gdesklets-daemon...
Cannot establish connection to daemon: timeout!

from the log file, the following is displayed
The log file is located in /home/method/.gdesklets/gdesklets:0.0.log

Traceback (most recent call last):
File "/usr/local/lib/gdesklets/gdesklets-daemon", line 194, in ?
gdesklets_main()
File "/usr/local/lib/gdesklets/gdesklets-daemon", line 180, in gdesklets_main
from main.Starter import Starter
File "/usr/local/lib/gdesklets/main/Starter.py", line 1, in ?
from display.Display import Display
File "/usr/local/lib/gdesklets/display/Display.py", line 3, in ?
from TargetGroup import TargetGroup
File "/usr/local/lib/gdesklets/display/TargetGroup.py", line 2, in ?
from utils.TilingImage import TilingImage
File "/usr/local/lib/gdesklets/utils/TilingImage.py", line 9, in ?
import gnome.vfs as gnomevfs
ImportError: No module named vfs

I have only been using linux for a few days, so I don't really know what I'm doing.
I did use yum to install gnomevfs, but it still says there no module named vfs, not sure why

kelcherwong
26th January 2005, 07:29 AM
missing package gnomevfs
yum install gnome-python2-gnomevfs

Method
26th January 2005, 09:00 PM
Thank you, that worked nicely, gdesklets is now able to run. But I can't seem to run any desklets yet, I'm sure I'm missing something eles...My log files are now a few times larger, eg
The log file is located in /home/method/.gdesklets/gdesklets:0.0.log
Traceback (most recent call last):
File "/usr/local/lib/gdesklets/plugin/PluginRegistry.py", line 58,
in __scan_repository
module = __import__(f)
File "./LTThemer/__init__.py", line 3, in ?
from utils.units import UNIT_PX
ImportError: No module named units
LTThemer in /home/method/.gdesklets/Controls/LTThemer is NOT a valid
plugin!

It just goes on and on.
When I download a desklet, I use the install package from the gdesklet shell, then I open the terminal, and install the sensor, I hope I'm doing this correctly. I'm sure there is a way to see what is installed on my system, and compare it to the requirements of gDesklets, I'm sure I'm missing something, but I don't know how to check what I have.

elgreco
30th January 2005, 03:16 AM
Originally Posted by Igoraus
I got error when run gdesklets shell

[igoraus@Muza ~]$ gdesklets shell
[igoraus@Muza ~]$ Cannot establish connection to daemon: timeout!


what daemon gdesklets must connect and why gdesklets not whant connect!!!

Got same problem over here. Anyone solved it?

dickinsd
3rd February 2005, 08:06 PM
When I try to run the sysinfo gdesklet, all I get is an odd sybol it kinda looks like a diamond made up of 4 diamonds. Oh and when I boot into FC Now, my splash screen just sits there, I have to click on it for it to go away, Not sure if that is a gdesklet issue or if it is something to do with a system update I did this after noon also?

Anyway, anyone know why I am not actually seeing the sysinfo gdesklet? (the clock one works fine)

Dave

niloppa
5th February 2005, 05:34 PM
there's answer in this link ===> www.s_gdest-install.at_i.com (linoczka.blox.pl/html)

BoyWonder410
3rd March 2005, 08:55 AM
yea, so it took me a while to get gDesklets working, but it was worth it. My stopping point was this: you have to have pyxdg installed. Get it here. http://www.freedesktop.org/software/pyxdg/releases/
untar and all that stuff.. then..
install it with the command python setup.py install

after I did that, it worked fine. It's so cute! he he he.

alphonsebrown
25th March 2005, 12:25 PM
Well I had it working for some time but as I followed some suggestions for modules witch were not ok... it stopped and reinstall is not helping how can I completely erase it's settings because after rpm -e it still have them all, any help will be appreciated

rempresent
28th March 2005, 06:14 AM
My problem occurs when I try the "make" command:

make[2]: *** [utils.lo] Error 1
make[2]: Leaving directory `/home/rempresent/gDesklets-0.31/utils'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/rempresent/gDesklets-0.31'
make: *** [all] Error 2

Anyone know what I can do to finish out the installation, I am stuck here and I want to get the program running extremely bad. Also, there was a post about this problem earlier and I don't think it was addressed, if so, direct me to it.

Thanks,
Rempresent

alphonsebrown
28th March 2005, 07:08 AM
try .rpm version if applicable

rempresent
28th March 2005, 07:15 AM
I started to use the "gdesklets-0.30-1.1.fc3.rf.i386.rpm " for the installation and now I need the "gnome-python-gconf" package to get the .rpm to run. What version should I use and what would the package be named?

Also, after I get this all to install, how can you kind of clean up the installation files and other such mess that you make when installing? (Newb Question)

Thanks alphonesebrown,
Rempresent

alphonsebrown
28th March 2005, 07:27 AM
well just make a yum install gnome-python-gconf :) and you don't have to clean after rpm package usually AFAIK

rempresent
28th March 2005, 11:26 PM
This is crazy. I had them working for about 5 hours, then on my next reboot I couldn't get them to start. When I start the "gdesklets shell" this is the error I get:

NameError: name 'exists_urllib2' is not defined

Original exception was:
Traceback (most recent call last):
File "/usr/bin/gdesklets", line 4, in ?
from main.DisplayList import DisplayList
File "/usr/share/gdesklets/utils/ErrorFormatter.py", line 119, in _new_imp
module = _old_imp(name, globs, locls, fromlist)
File "/usr/share/gdesklets/main/DisplayList.py", line 4, in ?
from utils import vfs
File "/usr/share/gdesklets/utils/ErrorFormatter.py", line 119, in _new_imp
module = _old_imp(name, globs, locls, fromlist)
File "/usr/share/gdesklets/utils/vfs.py", line 120, in ?
exists = exists_urllib2
NameError: name 'exists_urllib2' is not defined

So, I have no idea what the computer means by this. If anyone speaks computer, translate this for me. Also, props to alphonsebrown for helping me with this. Thanks much.

Thanks,
Rempresent

alphonsebrown
29th March 2005, 07:10 AM
I don't believe this someone just gave one more -1 reputation WOWO
btw: I get the same errors.. this gdesklets is like a NASA mission to lauch

feiming
5th April 2005, 08:57 AM
i'm having the same problem too.....any solution??

abstractism
7th April 2005, 03:17 AM
hey guys, sorry if this has already been brought up before...I can't get this to run right, there's no displays available to run.
also, I have this in the log:
(gDesklets Shell:10835): GConf-CRITICAL **: file gconf-client.c: line 547
(gconf_client_add_dir): assertion `gconf_valid_key (dirname, NULL)' failed
/usr/local/share/gdesklets/shell/BookmarkList.py:19: DeprecationWarning: use
gtk.ComboBox
self.__optmenu = gtk.OptionMenu()
thanks for any help you can give. :-)

abstractism

Sammy
24th April 2005, 06:33 AM
Hopping into this thread as I only downloaded this tonight and finally got the service working. Installed it from rpm figuring it would take care of any dependancy problems. But it didnt and there was one left. Anyways... it loads fine. Added LTV. But only the clock works. All the other gives sensor problems. From what I read they are depreciated anyways. But the ones that use them, are they still supposed to work? Or... are there some workarounds that must be done... or is everything being / has been rewritten? The LTV version I have is .26 abd gDesklets is .31.1 Cheers :-)

malikmaz
1st May 2005, 02:00 AM
Just spent hours trying to install C++, Python and other stuff and now I am stuck after getting the following error:



[malik@localhost gDesklets-0.34.3]$ gdesklets shell
Error in sys.excepthook:
Traceback (most recent call last):
File "/usr/local/lib/gdesklets/utils/__init__.py", line 23, in _pretty_excepth ook
deep_trace = True)
File "/usr/local/lib/gdesklets/utils/ErrorFormatter.py", line 77, in format
if (path and vfs.exists(path)):
File "/usr/local/lib/gdesklets/utils/vfs.py", line 102, in exists
return gnomevfs.exists(gnomevfs.URI(uri))
NameError: global name 'gnomevfs' is not defined

Original exception was:
Traceback (most recent call last):
File "/usr/local/bin/gdesklets", line 4, in ?
from main.DisplayList import DisplayList
File "/usr/local/lib/gdesklets/utils/ErrorFormatter.py", line 119, in _new_imp
module = _old_imp(name, globs, locls, fromlist)
File "/usr/local/lib/gdesklets/main/DisplayList.py", line 4, in ?
from utils import vfs
File "/usr/local/lib/gdesklets/utils/ErrorFormatter.py", line 119, in _new_imp
module = _old_imp(name, globs, locls, fromlist)
File "/usr/local/lib/gdesklets/utils/vfs.py", line 120, in ?
exists = exists_urllib2
NameError: name 'exists_urllib2' is not defined


appreciate any help given!
thnx

the_profiler
1st May 2005, 06:52 AM
yup.. me too, i had tried installing it with RPMs.. using YUMex and the DAG repository.. it didn't worked.. well, the terminal returned some errors (some sort of similar to previous posts).. i dont wanna compile the source.. :D

alphonsebrown
1st May 2005, 08:55 PM
why don't u want to compile it? anyone to tell the proper version to use and which kind of CPU mesurement module is not depricated

Sammy
1st May 2005, 11:35 PM
Since we are on the subject, what are opinions on compiling from source and an equally functional RPM? Ive done both but I do like the package managers in case one needs to be removed. Perhaps I missed something but if compiled from source, how can it be removed later? If I knew how to make RPMs (seems a bit like voodoo to this beginner)... and more importantly, knew how to make sure they actually worked... then that might be the best of both worlds.

cheers


"Technically, M$ Windows is an 'operating system', which means that it supplies your computer with the basic commands that it needs to suddenly, with no warning whatsoever, stop operating." - Dave Barry

now thats funny ;-)

the_profiler
2nd May 2005, 03:23 AM
why don't u want to compile it? anyone to tell the proper version to use and which kind of CPU mesurement module is not depricated

lol.. not really..it's just that i have some priorities..i'm still workin on compiling a driver for a mobile hard drive.. :D

hoanghien
2nd May 2005, 09:35 AM
Just spent hours trying to install C++, Python and other stuff and now I am stuck after getting the following error:



[malik@localhost gDesklets-0.34.3]$ gdesklets shell
Error in sys.excepthook:
Traceback (most recent call last):
File "/usr/local/lib/gdesklets/utils/__init__.py", line 23, in _pretty_excepth ook
deep_trace = True)
File "/usr/local/lib/gdesklets/utils/ErrorFormatter.py", line 77, in format
if (path and vfs.exists(path)):
File "/usr/local/lib/gdesklets/utils/vfs.py", line 102, in exists
return gnomevfs.exists(gnomevfs.URI(uri))
NameError: global name 'gnomevfs' is not defined

Original exception was:
Traceback (most recent call last):
File "/usr/local/bin/gdesklets", line 4, in ?
from main.DisplayList import DisplayList
File "/usr/local/lib/gdesklets/utils/ErrorFormatter.py", line 119, in _new_imp
module = _old_imp(name, globs, locls, fromlist)
File "/usr/local/lib/gdesklets/main/DisplayList.py", line 4, in ?
from utils import vfs
File "/usr/local/lib/gdesklets/utils/ErrorFormatter.py", line 119, in _new_imp
module = _old_imp(name, globs, locls, fromlist)
File "/usr/local/lib/gdesklets/utils/vfs.py", line 120, in ?
exists = exists_urllib2
NameError: name 'exists_urllib2' is not defined


appreciate any help given!
thnx

missing gnome-python2-gnomevfs

i already made gdesklets run but it did not show any translucent thing (start with gdesklets --translucent). Do i have to modify anything in xorg to enable transparency? (i m using FC3)

alphonsebrown
13th May 2005, 09:42 AM
ok pls someone to confirm it's working out of the box for FC4t3?

jim
14th May 2005, 03:00 PM
installing gdesklets with yum


yum install gdesklets gnome-python2-gnomevfs

will get it running Now all you have to do is get some desklets

Sammy
14th May 2005, 07:01 PM
gnome-look.org has some I think. The transparent info stuff its ok. But for me it got old after awhile always having it there. The functional stuff that I actually do something with is better. But then I guess thats why they call it eye candy. ;o)

malikmaz
15th May 2005, 09:09 PM
yum install gdesklets gnome-python2-gnomevfs

I get the following error:

warning: rpmts_HdrFromFdno: V3 DSA signature: NOKEY, key ID 6b8d79e6
public key not available for gdesklets-0.34.3-1.1.fc3.rf.i386.rpm

commadore
18th May 2005, 12:56 PM
checking for g++... no
checking for c++... no
checking for gpp... no
checking for aCC... no
checking for CC... no
checking for cxx... no
checking for cc++... no
checking for cl... no
checking for FCC... no
checking for KCC... no
checking for RCC... no
checking for xlC_r... no
checking for xlC... no
checking whether we are using the GNU C++ compiler... no
checking whether g++ accepts -g... no
checking dependency style of g++... none
checking how to run the C++ preprocessor... /lib/cpp
configure: error: C++ preprocessor "/lib/cpp" fails sanity check
See `config.log' for more details.

what is wrong with that what should i do to get it work ?

the_profiler
19th May 2005, 10:52 AM
checking for g++... no
See `config.log' for more details.
what is wrong with that what should i do to get it work ?

have you tried reading the log file?

stealthz789
1st June 2005, 09:48 PM
I had the exact same problem when starting gdesklets and it failing to connect to the daemon. I did a little Googling and I simply installed gnome-python2-gnomevfs using yum (yum -y install gnome-python2-gnomevfs). Gdesklets started up fine after that.
# gdesklets
Connected to daemon in 384 microseconds.

zerofx
13th June 2005, 08:23 AM
I keep gettin' this error after I initially type './configure'.
It runs through it's checking for various compile tools, which I installed initially.
Then it comes to this:


checking for pygtk-2.0 >= 2.4.0 pyorbit-2 >= 2.0.1 gnome-python-2.0 >= 2.6.0... Package pyorbit-2 was not found in the pkg-config search path.
Perhaps you should add the directory containing `pyorbit-2.pc'
to the PKG_CONFIG_PATH environment variable
No package 'pyorbit-2' found

configure: error: Library requirements (pygtk-2.0 >= 2.4.0 pyorbit-2 >= 2.0.1 gnome-python-2.0 >= 2.6.0) not met; consider adjusting the PKG_CONFIG_PATH env ironment variable if your libraries are in a nonstandard prefix so pkg-config can find them.

I've installed pyorbit via rpm: pyorbit-2.01-2.1.fc3.nr.i386.rpm
And I still get this error message.

I'll admit I'm a n00b, so it's no big deal, I"m just tinkerin'/playin' around with linux.
So don't anyone get the impression that "I'll hate you guys forever if you don't help me solve my problem", much as the feeling I get in these forums to those that don't read in the right areas.

Any help would be greatly appreciated, thanks in advance to those that read my problem.

vladuz976
21st June 2005, 06:53 AM
Great. Thanks! I got i working. But i had to do the following first:
yum install librsvg*
yum install libgtop2*
yum install pygtk2-devel


hi,
what repositories do you use to get these rpms?

alphonsebrown
21st June 2005, 10:05 AM
Resolving Dependencies
Error: Missing Dependency: libgtop-2.0.so.4 is needed by package gdesklets

[alphonse@fbi ~]$ rpm -qa |grep libgtop
gnome-python2-libgtop2-2.10.0-2.1
libgtop2-2.10.1-1
[alphonse@fbi ~]$

[alphonse@fbi ~]$ rpm -ql libgtop2
/usr/lib/libgtop-2.0.so.5

I tried with a symvolic link to point .5 as .4 no luck

Taae
6th April 2006, 11:36 PM
# gdesklets shell

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!


It says


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

I'm sure i have it installed though, i'v tried removing it and intsalling it again but i get the same thing.

FireGunz
11th April 2006, 04:33 PM
i also had the same problem then which I currently using FC5