LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 09-20-2005, 12:08 AM   #1
tuxedo-notebook
Member
 
Registered: Oct 2003
Distribution: Gentoo 2.6.12, Mepis 2.6.7, KUbuntu PPC
Posts: 43

Rep: Reputation: 15
FVWM + gDesklets problems


On my gentoo machine I have emerged FVWM and gDesklets successfully. I previously ran KDE and have not installed Gnome. I can run gdesklets start and gdesklets shell with any problems, but when I start gdesklets shell from a terminal and try to load a desktop I get the following error:
Code:
==========================================================[09/18/05-21:55:15]===
=== Error in the core! Please report this bug!

[EXC]exceptions.IndexError:
[EXC]list index out of range
in /usr/lib/gdesklets/shell/ItemBrowser.py: line 114 __on_activate_item
in /usr/lib/gdesklets/utils/Observable.py: line 45 update_observer
in ./DisplayBrowser/__init__.py: line 121 __on_activate
in ./gDeskletsClient/__init__.py: line 36 open_display
in /usr/lib/gdesklets/main/client.py: line 58 open_display
[---]/usr/lib/gdesklets/main/client.py
[---]   53
[---]   54         @return: The ID of the new display.
[---]   55         @rtype : str
[---]   56         """
[---]   57
[ERR]>  58         return self.__send(COMMAND_OPEN_DISPLAY, path)[0]
[---]   59
[---]   60
[---]   61
[---]   62     def open_display_with_id(self, path, ident):
[---]   63
[---]   64         """
I know FVWM is compatible with gDesklets and I can't find anyone else anywhere with the same problem. Did I miss something? I re-emerged everything with USE="gnome gtk" but it still doesn't work. Any ideas?
 
Old 09-20-2005, 08:30 AM   #2
ARC1450
Member
 
Registered: Jun 2005
Location: Odenton, MD
Distribution: Gentoo
Posts: 290

Rep: Reputation: 30
Try your Python stuff.

Re-emerge python, run python-updater, revdep-rebuild, and see if it works then.

Just a warning, but last time I ran gDesklets, there was a horrible memory leak that used to just eat RAM like it was going out of style. I'm talking it would eat 512MB of RAM in a day. Kill the gDesklets, and it got freed. Just something to keep your eye on, not a reason to NOT use some of the most awesome eyecandy for Linux.
 
Old 09-21-2005, 02:02 AM   #3
tuxedo-notebook
Member
 
Registered: Oct 2003
Distribution: Gentoo 2.6.12, Mepis 2.6.7, KUbuntu PPC
Posts: 43

Original Poster
Rep: Reputation: 15
Python stuff... good idea.
I changed my use flags in make.conf (to keep support for gtk and gnome) and re-emerge python and anything else I could think of that might be affected (I emerged python-gnome just for the hell of it).

python-updater says:
"Can't determine any previous Python version(s)."
Seems like that could be a problem.

I don't have a revdep-rebuild, but I'll look into it latter.

Time for me to sleep...
 
Old 09-21-2005, 09:25 AM   #4
ARC1450
Member
 
Registered: Jun 2005
Location: Odenton, MD
Distribution: Gentoo
Posts: 290

Rep: Reputation: 30
Well, if python-updater says "No previous version" that's a good thing, as it's less that can be screwed up.

To make sure that whatever packages use your new use flags, you should be able to do:

Code:
emerge --newuse world
revdep-rebuild should be in gentoolkit. If not, it might be in binutils.
 
Old 09-22-2005, 12:00 AM   #5
tuxedo-notebook
Member
 
Registered: Oct 2003
Distribution: Gentoo 2.6.12, Mepis 2.6.7, KUbuntu PPC
Posts: 43

Original Poster
Rep: Reputation: 15
That took awhile!
Still get the exact same error though.
Time to go cleanup config files...

Any other ideas?
Do you think installing Gnome would help at all?
 
Old 09-22-2005, 08:32 AM   #6
ARC1450
Member
 
Registered: Jun 2005
Location: Odenton, MD
Distribution: Gentoo
Posts: 290

Rep: Reputation: 30
Well, I'm going to emerge gdesklets-core here and see what goes. It could be one of the desklets you're trying to start up has an issue (when I used it prior to this, I had to hack the email desklets), so I'm going to see what happens for me and I'll post up the results.

[edit]OOOokay. . .

So I emerge gdesklets-core, which also emerge gnome-python. I had no issues whatsoever starting it up. So right now, I'm at a loss for words.

Have you tried the gdesklets IRC channel? They helped me when I hacked up the email desklet.

Last edited by ARC1450; 09-22-2005 at 08:45 AM.
 
Old 09-23-2005, 12:58 AM   #7
tuxedo-notebook
Member
 
Registered: Oct 2003
Distribution: Gentoo 2.6.12, Mepis 2.6.7, KUbuntu PPC
Posts: 43

Original Poster
Rep: Reputation: 15
I've emerged and re-emerged everything I could possibly think of, and finally ran gdesklets check, which returned this:

Code:
Checking requirements:
 - sys ... found
 - xml.parsers.expat ... found
 - xml.sax ... found
 - gtk ... found
 - ORBit ... found
 - gnome ... found
 - gconf ... found
 - gtkhtml2 ... missing
Version check failed.

gtkhtml2 python bindings 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 think gnome-python-extras contains gtkhtml2, and I am sure I have emerged that.
What gives with gdesklets not being able to find it?
I'll look into it more tomorrow.
 
Old 10-09-2005, 12:31 PM   #8
Zero-0-Effect
Member
 
Registered: Sep 2002
Location: Texas
Distribution: SlackWare - Current LFS - CVS
Posts: 267

Rep: Reputation: 31
Ever found out what is causing that problem?? I get the EXACT same errors.



**EDIT**

When you emerge gnome-python-extra it grabs the libgtkhtml 3.0 version, when gdesklets requires the 2.0 version. So you just need to emerge the 2.0 version as well and all is good. More detailed instructions:

Had to go into /usr/portage/gnome-extra/libgtkhtml and then run emerge libgtkhtml-2.6.3.ebuild then unmerge gnome-python-extra and re-emerge it. Once that was done I went ahead and re-emerge gdesklets as well.. just to be sure.

All works fine now


Last edited by Zero-0-Effect; 10-09-2005 at 01:12 PM.
 
Old 10-09-2005, 07:03 PM   #9
tuxedo-notebook
Member
 
Registered: Oct 2003
Distribution: Gentoo 2.6.12, Mepis 2.6.7, KUbuntu PPC
Posts: 43

Original Poster
Rep: Reputation: 15
Ahh, good thinking. I ended up unmasking the testing version of gDesklets which no longer requires libgtkhtml (according to a post on the gdesklets forum). It works now, but the desklets don't remember their positions. I'm not sure if it's a fvwm problem or a problem with their testing version, but I think I'll try what you did and see what happens.
 
Old 10-13-2005, 10:34 PM   #10
Zero-0-Effect
Member
 
Registered: Sep 2002
Location: Texas
Distribution: SlackWare - Current LFS - CVS
Posts: 267

Rep: Reputation: 31
Mine remember the position just fine. I use gdesklets-core 0.34.3-r1. For the gdesklets themselves, I just download the *.tar.bz2 or *.tar.gz and load them through the gdesklets shell instead of using emerge. My system info is listed below.
 
Old 10-18-2005, 11:58 PM   #11
tuxedo-notebook
Member
 
Registered: Oct 2003
Distribution: Gentoo 2.6.12, Mepis 2.6.7, KUbuntu PPC
Posts: 43

Original Poster
Rep: Reputation: 15
I un-emerged the newest version of gdesklets that I had and emerged gdesklets using your directions. Gdesklets 0.34.3-r1 works great now, but the desklets still don't remember their positions. Do you think it might have something to do with FVWM?
 
Old 10-21-2005, 04:39 PM   #12
Zero-0-Effect
Member
 
Registered: Sep 2002
Location: Texas
Distribution: SlackWare - Current LFS - CVS
Posts: 267

Rep: Reputation: 31
Possibly. gDesklets says it supportes FVWM of 2.5.x and up. What version are you using?
 
Old 10-22-2005, 01:15 AM   #13
tuxedo-notebook
Member
 
Registered: Oct 2003
Distribution: Gentoo 2.6.12, Mepis 2.6.7, KUbuntu PPC
Posts: 43

Original Poster
Rep: Reputation: 15
I'm using 2.5.12
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Problems with gDesklets Wakeboardbum83 Linux - Software 2 11-17-2005 02:07 PM
clock not working in fvwm with fvwm-crystal hedpe Linux - Software 0 09-13-2005 09:04 PM
2 fvwm processes with 2 displays, only want one fvwm enzo250gto Linux - Software 0 01-27-2005 05:50 PM
Problems with gDesklets Broax Linux - Software 18 11-19-2004 11:41 AM
problems with gDesklets rockonkenshin Linux - Software 2 10-23-2004 06:55 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 07:30 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration