Python and KDE

Dan Sommers me at privacy.net
Fri Jul 23 09:49:14 EDT 2004


On Fri, 23 Jul 2004 12:04:17 +0100,
Dylan Parry <usenet at dylanparry.com> wrote:

> I was wondering if it is possible, through some module, to check
> whether the screensaver is running in KDE? The reason being that I
> have some Python applications that I have running all of the time
> while I am logged in to KDE, but as they provide purely eye candy I
> would like to make it so they basically do nothing while the
> screensaver is running, thus reducing the processor overhead and
> saving a minute amount of power!

> I would also like to be able to play a wav file, or similar, given a
> certain condition in an IF statement. Is it possible to play sounds
> using Python? If so, how would I go about it?

Do you know about PyKDE?  (I don't know too much about it, except that
it exists, and you didn't mention it.)  You may have good/better luck
with its mailing list, too:

    <http://mats.imk.fraunhofer.de/mailman/listinfo/pykde>

Regards,
Dan

-- 
Dan Sommers
<http://www.tombstonezero.net/dan/>
Never play leapfrog with a unicorn.



More information about the Python-list mailing list