Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I am running Fedora 9. It has by default 2.5 python I think. I installed compat-python24 to add python2.4, because that is what gdesklets needs (at least, I thought!)
Then I went through each of gdesklets files and wrote in python2.4 instead of just python. I have confirmed I have in my /usr/bin a folder called python2.4.
So....what am I doing wrong? I get this error when running gdeskelets:
gdesklets
Traceback (most recent call last):
File "/usr/bin/gdesklets", line 3, in ?
from main import client, DISPLAY, HOME, USERHOME
File "/usr/lib64/gdesklets/main/__init__.py", line 3, in ?
import utils
File "/usr/lib64/gdesklets/utils/__init__.py", line 3, in ?
import gtk
ImportError: No module named gtk
Can anyone help me? I just want gdesklets to work. I am not interested in screenlets or any other thing because I have favorite desklets I like.
I am running Fedora 9. It has by default 2.5 python I think. I installed compat-python24 to add python2.4, because that is what gdesklets needs (at least, I thought!)
Then I went through each of gdesklets files and wrote in python2.4 instead of just python. I have confirmed I have in my /usr/bin a folder called python2.4.
So....what am I doing wrong? I get this error when running gdeskelets:
gdesklets
Traceback (most recent call last):
File "/usr/bin/gdesklets", line 3, in ?
from main import client, DISPLAY, HOME, USERHOME
File "/usr/lib64/gdesklets/main/__init__.py", line 3, in ?
import utils
File "/usr/lib64/gdesklets/utils/__init__.py", line 3, in ?
import gtk
ImportError: No module named gtk
Can anyone help me? I just want gdesklets to work. I am not interested in screenlets or any other thing because I have favorite desklets I like.
L
Looks like python is trying to import a module for gtk (http://www.pygtk.org/, probably) and it can't find it. Try to install that first through your package manager and see if that helps. I would not be messing around with two different python environments if I were you. When something goes wrong you will need to track down the problem within two environments. But hey, that is just me =)
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.