Linux - Newbie This 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.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
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.
 |
GNU/Linux Basic Guide
This 255-page guide will provide you with the keys to understand the philosophy of free software, teach you how to use and handle it, and give you the tools required to move easily in the world of GNU/Linux. Many users and administrators will be taking their first steps with this GNU/Linux Basic guide and it will show you how to approach and solve the problems you encounter.
Click Here to receive this Complete Guide absolutely free. |
|
 |
07-13-2010, 06:00 AM
|
#1
|
|
LQ Newbie
Registered: Jun 2010
Posts: 28
Rep:
|
Widget on desktop to display status
Hi guys,
Is there any way where i can program a widget to display the status of different services. This widget should also be able to auto-update the service status if the service is being toggled with.
Regards.
|
|
|
|
07-13-2010, 06:50 AM
|
#2
|
|
Member
Registered: Apr 2010
Location: Johannesburg
Distribution: Fedora 14, RHEL 5.5, CentOS 5.5, Ubuntu 10.04
Posts: 559
Rep:
|
What distro/version?
Suggest you read the forum rules/how to ask questions - for Ubuntu you can use screenlets; for RHEL like distros gdesklets.
|
|
|
|
07-13-2010, 05:37 PM
|
#3
|
|
LQ Newbie
Registered: Jun 2010
Posts: 28
Original Poster
Rep:
|
Hi,
im sorry, i did do a research on gdesklet, but i cant seem to find a tutorial on how to create a gdesklet widget. and im using Fedora 13 and running an xfce UI.
Any intro on how to start off on programming a gdesklet widget?
|
|
|
|
07-14-2010, 12:24 AM
|
#4
|
|
Member
Registered: Apr 2010
Location: Johannesburg
Distribution: Fedora 14, RHEL 5.5, CentOS 5.5, Ubuntu 10.04
Posts: 559
Rep:
|
Hi
There's not a lot of reading material out there on gdesklets; what I did was install gdesklets and front it with Conky (at the suggestion of one of the LQ Forum guru's) - which worked out quite nicely. There's a lot of stuff you can read as well as sample conky config files you can try out (Google is your friend). All I did was install gdesklets and enable a few basic features.
Not sure if you're using GNOME/KDE; what I've also found is that KDE has by default a whole lot of cool widgets that you can add to your desktop - maybe check those out as well.
|
|
|
|
07-14-2010, 05:38 AM
|
#5
|
|
LQ Newbie
Registered: Jun 2010
Posts: 28
Original Poster
Rep:
|
Gdesklets cant start
Okay, thanks.
however now i encounter a new problem, where i cant even do a 'gdesklets start' in the terminal, it shows:
No protocol specified
Traceback (most recent call last):
File "/usr/bin/gdesklets", line 3, in <module>
from main import client, DISPLAY, HOME, USERHOME
File "/usr/lib/gdesklets/main/__init__.py", line 3, in <module>
import utils
File "/usr/lib/gdesklets/utils/__init__.py", line 3, in <module>
import gtk
File "/usr/lib/python2.6/site-packages/gtk-2.0/gtk/__init__.py", line 64, in <module>
_init()
File "/usr/lib/python2.6/site-packages/gtk-2.0/gtk/__init__.py", line 52, in _init
_gtk.init_check()
RuntimeError: could not open display
any ideas how to solve this ?
|
|
|
|
07-14-2010, 06:45 AM
|
#6
|
|
Member
Registered: Apr 2010
Location: Johannesburg
Distribution: Fedora 14, RHEL 5.5, CentOS 5.5, Ubuntu 10.04
Posts: 559
Rep:
|
You need to run it whilst logged into the GUI (that is run level 5) - not a remote terminal session - the error is given because you're running it from an SSH session into your machine 
|
|
|
|
| Thread Tools |
Search this Thread |
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 01:42 PM.
|
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|