-
 KDE-Apps.org Applications for the KDE-Desktop 
 GTK-Apps.org Applications using the GTK Toolkit 
 GnomeFiles.org Applications for GNOME 
 MeeGo-Central.org Applications for MeeGo 
 CLI-Apps.org Command Line Applications 
 Qt-Apps.org Free Qt Applications 
 Qt-Prop.org Proprietary Qt Applications 
 Maemo-Apps.org Applications for the Maemo Plattform 
 Java-Apps.org Free Java Applications 
 eyeOS-Apps.org Free eyeOS Applications 
 Wine-Apps.org Wine Applications 
 Server-Apps.org Server Applications 
 apps.ownCloud.com ownCloud Applications 
--
-
 KDE-Look.org Artwork for the KDE-Desktop 
 GNOME-Look.org Artwork for the GNOME-Desktop 
 Xfce-Look.org Artwork for the Xfce-Desktop 
 Box-Look.org Artwork for your Windowmanager 
 E17-Stuff.org Artwork for Enlightenment 
 Beryl-Themes.org Artwork for the Beryl Windowmanager 
 Compiz-Themes.org Artwork for the Compiz Windowmanager 
 EDE-Look.org Themes for your EDE Desktop 
--
-
 Debian-Art.org Stuff for Debian 
 Gentoo-Art.org Artwork for Gentoo Linux 
 SUSE-Art.org Artwork for openSUSE 
 Ubuntu-Art.org Artwork for Ubuntu 
 Kubuntu-Art.org Artwork for Kubuntu 
 LinuxMint-Art.org Artwork for Linux Mint 
 Arch-Stuff.org Art And Stuff for Arch Linux 
 Frugalware-Art.org Themes for Frugalware 
 Fedora-Art.org Artwork for Fedora Linux 
 Mandriva-Art.org Artwork for Mandriva Linux 
--
-
 KDE-Files.org Files for KDE Applications 
 OpenTemplate.org Documents for OpenOffice.org
 GIMPStuff.org Files for GIMP
 InkscapeStuff.org Files for Inkscape
 ScribusStuff.org Files for Scribus
 BlenderStuff.org Textures and Objects for Blender
 VLC-Addons.org Themes and Extensions for VLC
--
-
 KDE-Help.org Support for your KDE Desktop 
 GNOME-Help.org Support for your GNOME Desktop 
 Xfce-Help.org Support for your Xfce Desktop 
--
openDesktop.orgopenDesktop.org:   Applications   Artwork   Linux Distributions   Documents    LinuxDaily.com    Linux42.org    OpenSkillz.com   
 
Apps
News
Groups
Knowledge
Events
Forum
People
Jobs
Register
Login


Sponsoring


-
- Content .- Fans (2) .- Knowledge Base  . 

DaeMon

   0.2  

Plasmoid Script

Score 85%
DaeMon
zoom


DaeMon
zoom


DaeMon
zoom


Minimum required   PyKDE/PyQt
Downloads:  498
Submitted:  Apr 21 2009
Updated:  Apr 24 2009

Description:

DaeMon is a monitor/start/stop-applet for system-daemons (mysql,bluetooth,cups, etc.) created for ArchLinux-systems

To use it, just set the "polling directory" in the configuration-dialog to a
place where a file for each running daemon is created. In Arch-Linux this is
usually /var/run/daemons. Set the damon-start-scripts-directory to the place
where for each daemon a script exists that excepts the parameters "start" and
"stop" to execute the corresponding actions. In Arch-Linux this is /etc/rc.d.
For other distributions you might have to set a suffix for the files to poll.
Assume that your daemon is "called" cups i.e. and does create a file named
"cups.pid" in the polling directory the you have to enter ".pid" here.
Finally set the polling-interval to a value suitable for you and select the
daemons you would like to monitor/handle using DaeMon.

Since this is my very first plasma-applet and my first python-work for quite
some time I have to apologize for all the errors and imperfections of it. Right
now it is just slightly more than a finger exercise.
Please keep in mind, that I wrote it with an Arch-Linux system in mind, though
it should work for othe distributions as well.

Quite a lot of things can undoubtly be improved and if there is any interest in
the following ideas or if you have something else in mind that could be done,
please let me know.

- give more detailed feedback about the result of a start/stop
- create translations
- create and use a DBUS-service to handle starts und stops of daemons instead
of kdesu

I am always happy about any feedback if somebody really should decide to use
this. ;-)


Have fun!




Changelog:

0.1 - first try

0.2 - some minor fixes (allow to startup when default polling-directory does not exist, typing-errors)
replaced method of formatting strings to allow running on python < 2.6
added suffix of polling files to configuration dialog




LicenseGPL
Ark(DaeMon-0.2.plasmoid)
Send to a friend
Subscribe
Other  Apps  from tiberiusGER
Report inappropriate content



goto page: prev   1  2 

-

 problems witth kde 4.3

 
 by scheffe on: Sep 19 2009
 
Score 50%

Hello,
this applet does not run under kde 4.3.
The traceback from .xsession-errors says following:
Traceback (most recent call last):
File "/usr/share/apps/plasma_scriptengine_python/pyappletscript.py", line 55, in init
self.pyapplet.init()
File "/home/frank/.kde4/share/apps/plasma/plasmoids/DaeMon/contents/code/main.py", line 49, in init
self.initSettings()
File "/home/frank/.kde4/share/apps/plasma/plasmoids/DaeMon/contents/code/main.py", line 166, in initSettings
self.settings["polling_interval"] = int(self.cg.readEntry("polling_interval", "2000").toInt())
TypeError: int() argument must be a string or a number, not 'tuple'
TypeError: invalid result type from PythonAppletScript.shape()
TypeError: invalid result type from PythonAppletScript.shape()
TypeError: invalid result type from PythonAppletScript.shape()
TypeError: invalid result type from PythonAppletScript.shape()
TypeError: invalid result type from PythonAppletScript.shape()
TypeError: invalid result type from PythonAppletScript.shape()
TypeError: invalid result type from PythonAppletScript.shape()
TypeError: invalid result type from PythonAppletScript.shape()
TypeError: invalid result type from PythonAppletScript.shape()
TypeError: invalid result type from PythonAppletScript.shape()
TypeError: invalid result type from PythonAppletScript.shape()
TypeError: invalid result type from PythonAppletScript.shape()
TypeError: invalid result type from PythonAppletScript.shape()
TypeError: invalid result type from PythonAppletScript.shape()
TypeError: invalid result type from PythonAppletScript.shape()
TypeError: invalid result type from PythonAppletScript.shape()
TypeError: invalid result type from PythonAppletScript.shape()


Reply to this

goto page: prev   1  2 

Add commentBack






-
-
How do you like Plasma 5?
 The best KDE Desktop ever.
 Definitely a nice improvement.
 Not decided yet. Haven't tried it yet.
 I do not like some of the changes.
 KDE is taking the wrong way.
 I am still sticking with KDE 3.5.
 I have no opinion, but wanted to vote anyway.

resultmore
 
 
 Who we are
Contact
More about us
Frequently Asked Questions
Register
Twitter
Blog
Explore
Apps
Jobs
Knowledge
Events
People
Updates on identi.ca
Updates on Twitter
Facebook App
Content RSS   
Events RSS   

Participate
Groups
Forum
Add App
Public API
About KDE-Apps.org
Legal Notice
Spreadshirt Shop
CafePress Shop
Advertising
Sponsor us
Report Abuse
 

Copyright 2003-2014 KDE-Apps.org Team  
All rights reserved. KDE-Apps.org is not liable for any content or goods on this site.
All contributors are responsible for the lawfulness of their uploads.
KDE and K Desktop Environment are trademarks of KDE e.V.