LinuxQuestions.org
Visit the LQ Articles and Editorials section
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices

Reply
 
LinkBack Search this Thread
Old 03-21-2011, 02:48 PM   #1
0zMe
Member
 
Registered: Jun 2009
Posts: 85

Rep: Reputation: 15
Question Screenlets on Xfce (GConf python module not found)


hi,

I'm trying to use screenlets on my slackware on my xfce desktop.
I could start some screenlets without any errors, but I couldn't install some other because of the error mesagge below:

Quote:
GConf python module not found. GConf settings backend is disabled.
Traceback (most recent call last):
File "TerminalScreenlet.py", line 18, in <module>
import gconf
ImportError: No module named gconf
How could I solve this problem?
Which package am I missing? I already installed gnome-python-desktop and gconf from slackbuilds.org
 
Old 03-21-2011, 05:11 PM   #2
lumak
Member
 
Registered: Aug 2008
Location: Phoenix
Distribution: Arch
Posts: 799
Blog Entries: 32

Rep: Reputation: 109Reputation: 109
I haven't tried installing screenlets yet... BUT...
If you installed the gnome-python-desktop and gconf AFTER you compiled screenlets, then that's probably your problem. Recompile screenlets and check the output of ./configure --help to see if there is an option to enable gconf.

Additionally, make sure the 'gconf' python module is installed with gnome-python-desktop by viewing the /var/log/packages/gnome-python-desktop-* file.
 
Old 03-21-2011, 08:35 PM   #3
larryhaja
Member
 
Registered: Jul 2008
Distribution: Slackware 13.1
Posts: 291

Rep: Reputation: 75
Quote:
Originally Posted by 0zMe View Post
How could I solve this problem?
Which package am I missing? I already installed gnome-python-desktop and gconf from slackbuilds.org
Install GConf and then build and install gnome-python. That should satisfy the GConf python dependency.
 
2 members found this post helpful.
Old 03-22-2011, 04:39 AM   #4
lumak
Member
 
Registered: Aug 2008
Location: Phoenix
Distribution: Arch
Posts: 799
Blog Entries: 32

Rep: Reputation: 109Reputation: 109
err yeah, forgot that part, GConf has to come first so that everything else can link against it.
 
Old 03-22-2011, 05:57 PM   #5
0zMe
Member
 
Registered: Jun 2009
Posts: 85

Original Poster
Rep: Reputation: 15
So I removed both packets via pkgtool and installed first GConf and then gnome-python-desktop like you said, but I still get the same error message :/
 
Old 03-22-2011, 06:33 PM   #6
lumak
Member
 
Registered: Aug 2008
Location: Phoenix
Distribution: Arch
Posts: 799
Blog Entries: 32

Rep: Reputation: 109Reputation: 109
"both packages"? All 3 had to be reinstalled. But that's OK, just remove screenlets now and recompile that as well.

Also, before compiling screenlets, in it's source directory run
./configure --help

review all the options and make sure if you have to use "--enable-gconf" or something similar.

Most makefiles/configure scripts will auto determine this if gconf is installed at compile time. However, sometimes it's not.

Last edited by lumak; 03-22-2011 at 06:35 PM.
 
1 members found this post helpful.
Old 03-23-2011, 08:14 PM   #7
larryhaja
Member
 
Registered: Jul 2008
Distribution: Slackware 13.1
Posts: 291

Rep: Reputation: 75
Quote:
Originally Posted by 0zMe View Post
So I removed both packets via pkgtool and installed first GConf and then gnome-python-desktop like you said, but I still get the same error message :/
The python bindings for GConf are NOT in gnome-python-desktop. The bindings are in gnome-python. gnome-python uses waf and it just picks up my GConf automatically. All of these are from slackbuilds.org.
 
1 members found this post helpful.
Old 03-25-2011, 07:14 AM   #8
0zMe
Member
 
Registered: Jun 2009
Posts: 85

Original Poster
Rep: Reputation: 15
many thanks, I had also to install gnome-python.
Now I was able to launch the screenlets but don't really look good.

http://img852.imageshack.us/img852/6985/ideas013.jpg

I have of course my nvidia drivers installed.
 
Old 03-25-2011, 04:47 PM   #9
lumak
Member
 
Registered: Aug 2008
Location: Phoenix
Distribution: Arch
Posts: 799
Blog Entries: 32

Rep: Reputation: 109Reputation: 109
you have to (probably) enable composite features in your window manager or use a composite manager.
 
1 members found this post helpful.
Old 03-26-2011, 12:39 PM   #10
0zMe
Member
 
Registered: Jun 2009
Posts: 85

Original Poster
Rep: Reputation: 15
So as you said, I had to enable some features in my window manager.
Many thanks to you guys. Everything solved
 
Old 03-30-2011, 01:01 AM   #11
lumak
Member
 
Registered: Aug 2008
Location: Phoenix
Distribution: Arch
Posts: 799
Blog Entries: 32

Rep: Reputation: 109Reputation: 109
For the curious

I wrote a SlackBuild script for screenlets. Please note. This is the frame work only. I now need to make one for the "individual screenlets" which is a big package of generally accepted base widgets... I may just include it under the main package since it's useless without any widgets. Either way, it will be submitted to SlackBuilds once it's fully done.

Core Framework @ Launchpad
Screenlets Package @ Launchpad

Attached script.

Requires: ORBit2, GConf, libtasn1, gnome-keyring, gnome-python, gnome-python-desktop
Recommended: pyxdg
Attached Files
File Type: txt screenlets.SlackBuild.txt (3.8 KB, 5 views)
 
Old 03-30-2011, 10:45 PM   #12
lumak
Member
 
Registered: Aug 2008
Location: Phoenix
Distribution: Arch
Posts: 799
Blog Entries: 32

Rep: Reputation: 109Reputation: 109
For the extra curious

Here is a more complete script to package the default set of screenlets. Note, some screenlets require other programs or python modules. Run screenlets from a terminal window to see the output of any screenlet that will not launch.

Unfortunately, Slackbuilds submission is closed right now. Wait till 13.37
Attached Files
File Type: txt screenlets.SlackBuild.txt (6.5 KB, 7 views)
 
  


Reply

Tags
gconf


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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Python gconf not working when ran as root figure002 Programming 5 08-04-2010 06:41 AM
[SOLVED] Is there a way to start screenlets on python 2.6? lampamp Linux - General 1 09-22-2009 05:57 PM
Python YUM Module not found von_vea Linux - General 2 07-28-2009 08:42 PM
BloGTK doesn't work - python gtkhtml2 module not found vharishankar Debian 2 11-21-2006 09:29 PM
gconf error installing python program on mandriva crazypig Linux - Software 2 08-09-2005 09:30 AM


All times are GMT -5. The time now is 10:16 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration