LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General > LinuxQuestions.org Member Success Stories
User Name
Password
LinuxQuestions.org Member Success Stories Just spent four hours configuring your favorite program? Just figured out a Linux problem that has been stumping you for months?
Post your Linux Success Stories here.

Notices


Reply
  Search this Thread
Old 04-28-2004, 10:30 PM   #1
artistikone
Member
 
Registered: Jul 2003
Distribution: slackware-current
Posts: 76

Rep: Reputation: 15
Lightbulb How-To: Install gdesklets on Slackware 9.0


.::: How I installed gDesklets-0.26.1 on Slackware 9.0 :::..

I spent over 4 hours trying to get this installed and working. After trying out numerous different packages, I had to go from source. This walkthrough will cover installing from source, using checkinstall to make your packages for easy removal, and provide as much information as possible incase you're not the most talented Linux user. This is not guarenteed to work! I've kept my Slackware 9 setup with mostly fresh install settings, so if you installed Slackware with personal settings etc, you may have issues. Although, if you did that, you probably won't need this walkthrough. All download links are active and working as of 04/28/2004. If they are not when you try this, please use Google
and find it.

All this was done from /home/user/

Download and install the following:


#1. XML-Parser-2.34
- wget http://www.cpan.org/modules/by-modul...er-2.34.tar.gz
- tar zxf XML-Parser-2.34.tar.gz
- cd XML-Parser-2.34
- perl Makefile.PL
- make
- checkinstall
- cd ..

#2. PyGTK-2.2.0
- wget http://ftp.gnome.org/pub/GNOME/sourc...k-2.2.0.tar.gz
- tar zxf pygtk-2.2.0.tar.gz
- cd pygtk-2.2.0
- ./configure --prefix=/usr
- make
- checkinstall
- cd ..

#3. PyORBit-2.0.0
- wget http://freshmeat.net/redir/pyorbit/3...t-2.0.0.tar.gz
- tar zxf pyorbit-2.0.0.tar.gz
- cd pyorbit-2.0.0
- ./configure --prefix=/usr
- make
- checkinstall
- cd ..

#4. gnome-python-2.0.0
- wget http://ftp.gnome.org/pub/GNOME/sourc...n-2.0.0.tar.gz
- tar zxf gnome-python-2.0.0.tar.gz
- cd gnome-python-2.0.0
- ./configure --prefix=/usr
- make
- checkinstall
- cd ..

#5. gDesklets-0.26.1
- wget http://www.pycage.de/download/gdeskl...0.26.1.tar.bz2
- tar jxf gDesklets-0.26.1.tar.bz2
- cd gDesklets-0.26.1
- ./configure --prefix=/usr
- make
- checkinstall
- cd ..

#6. Create your Display and Sensors directories:
- mkdir /usr/local/share/gdesklets_sensors
- mkdir /usr/local/share/gdesklets_displays


#7. Download some Displays and Sensors.

I will be using PSI's Package as it's the usally what got you here in the first place.

Go here : http://gdesklets.gnomedesktop.org/ca...p&gd_app_id=38
- Download the Display & Sensor packages (PsiDisplayPackage-20040420.tar.gz & PsiSensorPackage-20040420.tar.gz)

Extract the Displays package into your gdesklets_displays directory:
- mv PsiDisplayPackage-20040420.tar.gz /usr/local/share/gdesklets_displays
- tar zxf PsiDisplayPackage-20040420.tar.gz

Extract the Sensors package into your gdesklets_sensors directory:
- mv PsiSensorPackage-20040420.tar.gz /usr/local/share/gdesklets_sensors
- tar zxf PsiSensorPackage-20040420.tar.gz

#8. Add gDesklets to your Startup Sessions.

Goto Applications > Desktop Preferences > Advanced > Sessions
Click on Startup Programs.
Click on Add.
Type gdesklets into the 'Startup Command:' box, click OK.
Click Close.
Log out of X.
Log back into X.
Start up a terminal.

#9. Install the Sensors.

You should get a popup after each install saying it's ready to use.

- /usr/local/share/gdesklets_sensors/CPU-0.2.0/Install_CPU_Sensor.bin
- /usr/local/share/gdesklets_sensors/Disk-0.2.0/Install_Disk_Sensor.bin
- /usr/local/share/gdesklets_sensors/ExternalInterval-0.1.4/Install_ExternalInterval_Sensor.bin
- /usr/local/share/gdesklets_sensors/FontSelector-0.2.0/Install_FontSelector_Sensor.bin
- /usr/local/share/gdesklets_sensors/IconButton-0.1.4/Install_IconButton_Sensor.bin
- /usr/local/share/gdesklets_sensors/Memo-0.1.5/Install_Memo_Sensor.bin
- /usr/local/share/gdesklets_sensors/MemoOver-0.1.2/Install_MemoOver_Sensorbin
- /usr/local/share/gdesklets_sensors/Memory-0.2.1/Install_Memory_Sensor.bin
- /usr/local/share/gdesklets_sensors/Network-0.2.0/Install_Network_Sensor.bin
- /usr/local/share/gdesklets_sensors/Ping-0.1.0/Install_Ping_Sensor.bin
- /usr/local/share/gdesklets_sensors/Theme-0.1.2/Install_Theme_Sensor.bin
- /usr/local/share/gdesklets_sensors/VariableBorder-0.1.4/Install_VariableBorder_Sensor.bin
- /usr/local/share/gdesklets_sensors/clock-desklet-0.32/Install_Clock_Sensor.bin
- /usr/local/share/gdesklets_sensors/popmail-0.1.5/Install_popmail_Sensor.bin
- /usr/local/share/gdesklets_sensors/Install_StarterBar_Sensor.bin

#10. Install the Displays.

$shell> gdesklets /usr/local/share/gdesklets_displays/psi-displays-v0.2/*.display

This will load all the displays, each popping up one at a time on your mouse cursor. Place them anywhere until all are loaded.
Once all are loaded on your desktop, drag them around until you are satisfied with how you want your layout.
You may need additional displays, as in more then 1 ETH monitor or another border. For these, do this:

- $shell> gdesklets /usr/local/share/gdesklets_displays/psi-displays-v0.2/name_of_display.display

#11. Configure your Displays.

Once all are loaded and in their spot, right click on each display and goto Configure Display. Play around with all the settings until you find what you like, then set the others to look the same.

Last edited by artistikone; 05-01-2004 at 08:01 PM.
 
Old 04-29-2004, 01:34 AM   #2
shilo
Senior Member
 
Registered: Nov 2002
Location: Stockton, CA
Distribution: Slackware 11 - kernel 2.6.19.1 - Dropline Gnome 2.16.2
Posts: 1,132

Rep: Reputation: 50
Great post. If I would of have had this two weeks ago, it would have saved me about four days of mucking around with installing gdesklets. Keep up the good work!!!

Shilo
 
Old 04-29-2004, 04:55 AM   #3
Ninja Cow
Member
 
Registered: May 2003
Location: Pensacola, Florida
Distribution: Debian, Slackware, Amigo, Ubuntu
Posts: 221

Rep: Reputation: 30
In the first package (XML), after untaring, there isn't a configure file in there.

Any ideas why?

Edit: Ah-ha. You have to run perl Makefile.PL to get the Makefile.

Last edited by Ninja Cow; 04-29-2004 at 04:59 AM.
 
Old 04-29-2004, 05:11 AM   #4
Aussie
Senior Member
 
Registered: Sep 2001
Location: Brisvegas, Antipodes
Distribution: Slackware
Posts: 4,590

Rep: Reputation: 58
I love these type of posts

I love it so much that I'm going to move it to Member Success Stories
 
Old 04-29-2004, 05:17 AM   #5
Ninja Cow
Member
 
Registered: May 2003
Location: Pensacola, Florida
Distribution: Debian, Slackware, Amigo, Ubuntu
Posts: 221

Rep: Reputation: 30
http://gdesklets.gnomedesktop.org/ca...p&gd_app_id=38

The site isn't working for me. ^
 
Old 05-01-2004, 08:03 PM   #6
artistikone
Member
 
Registered: Jul 2003
Distribution: slackware-current
Posts: 76

Original Poster
Rep: Reputation: 15
Updated the XML part, wrote this after I did it and forgot that part. Also, the http://gdesklets.gnomedesktop.org site seems to timeout from time to time. If it does for you, try later =).
 
Old 05-09-2004, 12:09 AM   #7
doralsoral
Member
 
Registered: Aug 2003
Location: raleigh
Distribution: Gentoo 2005.1 x86_64
Posts: 931

Rep: Reputation: 31
ok i finally gopt it installed but now when i try to run it it gives me this error:
You need a recent version of PyGTK to run this program.
Traceback (most recent call last):
File "/usr/local/bin/gdesklets", line 10, in ?
from main import init
File "/usr/local/share/gdesklets/main/__init__.py", line 38, in ?
from utils.i18n import Translator
File "/usr/local/share/gdesklets/utils/__init__.py", line 1, in ?
from FileWatcher import FileWatcher
File "/usr/local/share/gdesklets/utils/FileWatcher.py", line 3, in ?
import gtk
ImportError: No module named gtk

i have pygtk2.2 installed and i tried it with 2.0 as well can anyone tell me whats going on. gdesklets is so frustrating. superkaramba installed in like 5 seconds for me but i hate kde so i really want to get gdesklets running.
 
Old 05-28-2004, 02:50 PM   #8
xunilpassion
LQ Newbie
 
Registered: Oct 2003
Posts: 12

Rep: Reputation: 0
got it done. except for starterbar. saying that error occured while loading the sensor. And saying that the display file is corrupted. Have tried few of the work arounds suggested in gnome discussion forum and this forum. Nothing worked yet. Any one had a similar experience in this line.
 
Old 05-30-2004, 09:11 PM   #9
gong
LQ Newbie
 
Registered: May 2004
Posts: 13

Rep: Reputation: 0
I installed everything in the order you suggested (even installing gnome-libs first after it didn't work the first time). When i ./configure gnome-python I get a message saying that it could not build the following modules:

gnome.ui
zvt
bonobo
bonobo.activation
bonobo.ui
gnome.applet
nautilus

It also says:
Note: PyORBit 2.0.0 or later is required by bonobo, gnomeui, and nautilus bindings.

But I installed that before hand using the method you said, but I had a permission error when logged in as user for that particular install so i had to su to root.

What should I do to fix this?

Thanks
 
Old 06-04-2004, 11:30 AM   #10
navawatanasob
LQ Newbie
 
Registered: Nov 2003
Posts: 13

Rep: Reputation: 0
I just got everything installed successfully on my Slackware 9.1 box. Everything seemed to work, but when I try to actually run gDesklets, I get the same errors as xunilpassion. Can anyone help us? I would LOOOOVE to get this working. BTW, I'm running Fluxbox 0.9.9 without GNOME or Nautilus, but that shouldn't matter, right?
 
Old 06-04-2004, 09:06 PM   #11
doralsoral
Member
 
Registered: Aug 2003
Location: raleigh
Distribution: Gentoo 2005.1 x86_64
Posts: 931

Rep: Reputation: 31
when you download displays and sensors you need to pay attention to what the requirements are. Starterbar requires Gnome 2, and PyXDG if you odnt have both of these it wont work. if y ou do its something else. make sure you run ldconfig
 
Old 06-05-2004, 07:41 PM   #12
navawatanasob
LQ Newbie
 
Registered: Nov 2003
Posts: 13

Rep: Reputation: 0
Every time I try to load any display, I get the following error:

Traceback (most recent call last):
File "/usr/share/gdesklets/factory/SensorFactory.py", line 71, in create_sensor
sensor = module.new_sensor(args)
File "./Theme/__init__.py", line 82, 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
list index out of range
Traceback (most recent call last):
File "/usr/share/gdesklets/factory/SensorFactory.py", line 71, in create_sensor
sensor = module.new_sensor(args)
File "./Theme/__init__.py", line 82, 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
list index out of range
Could not load sensor Theme

A google search led me to this page, with somebody experiencing the same error:

http:///hardwarefr/OSAlternatifs/sujet-33828-1.htm

However, the page is in French, and I couldn't figure out if the person who had the error solved the problem or how. Does anyone know what I'm doing wrong? I follow the instructions at the begining exactly, download the exact sensors he listed on the page. Anyone? Thanks in advance.
 
Old 06-07-2004, 03:47 PM   #13
XavierP
Moderator
 
Registered: Nov 2002
Location: Kent, England
Distribution: Debian Testing
Posts: 19,192
Blog Entries: 4

Rep: Reputation: 475Reputation: 475Reputation: 475Reputation: 475Reputation: 475
artistikone - your Success Story on installing GDesklets seems to be ideal for our LinuxAnswers section.

Would you be willing to submit it? It would be of help to the site and to the rest of our membership if you would do so (it would also put your instructions in a prominent place for anyone searching for it ).

If you are willing to do so, read this link on submitting an Answer beforehand.

Thanks.
 
Old 06-23-2004, 02:02 AM   #14
artistikone
Member
 
Registered: Jul 2003
Distribution: slackware-current
Posts: 76

Original Poster
Rep: Reputation: 15
I have submitted it to the LinuxAnswers section. I wish I could answer some of the questions above regarding issues with gDesklets, however I am no longer using it and have moved over to SuperKaramba....walkthrough coming soon !
 
Old 06-23-2004, 03:04 AM   #15
XavierP
Moderator
 
Registered: Nov 2002
Location: Kent, England
Distribution: Debian Testing
Posts: 19,192
Blog Entries: 4

Rep: Reputation: 475Reputation: 475Reputation: 475Reputation: 475Reputation: 475
Ace - if it's as detailed as the one above, turn it into an LA.
 
  


Reply



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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
gDesklets on Slackware 10.2 introuble Slackware 2 09-26-2005 11:33 PM
Gdesklets and Slackware adds2one Slackware 1 08-31-2005 01:06 AM
DISCUSSION: Installing gDesklets-0.26.1 on Slackware 9.0 artistikone LinuxAnswers Discussion 0 08-22-2004 09:39 PM
Gdesklets on Slackware doralsoral Linux - Software 0 02-09-2004 12:10 PM
Can't install gDesklets! :( Tyir Linux - Software 2 11-20-2003 09:07 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General > LinuxQuestions.org Member Success Stories

All times are GMT -5. The time now is 05:57 PM.

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