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.
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.
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?
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.
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
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
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.