Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Python > How to stop screensaver from starting up

Reply
Thread Tools

How to stop screensaver from starting up

 
 
klappnase
Guest
Posts: n/a
 
      07-28-2003
Hello everyone,

does anyone know a way to stop the screensaver under linux from
starting up while a certain process is running?
I need this because I experience a memory leak while recording
wav-files every time the screensaver starts.
It is a Tkinter application, btw.
Any help would be very appreciated.

Thanks

Michael
 
Reply With Quote
 
 
 
 
klappnase
Guest
Posts: n/a
 
      07-29-2003
Jeff Epler <> wrote in message news:<mailman.1059423822.25875.python->...

Thanks for the feedback,

> For systems using xscreensaver, see xscreensaver-command(1).
>
> You could use
> xscreensaver-command -throttle
> to force screen blanking (not screensaver) when the system is idle
> or
> xscreensaver-command -exit
> to force the screensaver process to exit. In the former case, you would
> use
> xscreensaver-command -unthrottle
> to restart the screensaver, and in the latter case
> xscreensaver -nosplash
> in the latter.
>
> This is not robust if multiple processes all try to manipulate the
> screensaver without some additional kind of locking.
>
> Jeff


I know this, but what I had in mind was, if there is a way to disable
the screensaver directly from within python/tkinter while a certain
process inside my application is running (it is the recording issue I
have posted here a while ago, where it seems like memory leaks occur
while recording when a screensaver starts up).
The basic problem with the xscreensaver command is of course that it
will not work if kde-screensavers are used.
I am sorry if this is a silly question, I just thought it might be
easier to disable the screensaver while recording than to try a
workaround for the snack recording function; maybe what I want is
simply not possible.

Best regards

Michael
 
Reply With Quote
 
 
 
Reply

Thread Tools

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
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Re: How include a large array? Edward A. Falk C Programming 1 04-04-2013 08:07 PM
3 ESSENTIAL TOOLS FOR STARTING AND MAINTAINING...3 ESSENTIAL TOOLSFOR STARTING AND MAINTAINING...3 ESSENTIAL TOOLS FOR STARTING ANDMAINTAINING... Oanh Bui C++ 0 04-27-2009 12:51 PM
3 ESSENTIAL TOOLS FOR STARTING AND MAINTAINING...3 ESSENTIAL TOOLSFOR STARTING AND MAINTAINING...3 ESSENTIAL TOOLS FOR STARTING ANDMAINTAINING... Oanh Bui C Programming 0 04-27-2009 12:51 PM
3 ESSENTIAL TOOLS FOR STARTING AND MAINTAINING...3 ESSENTIAL TOOLSFOR STARTING AND MAINTAINING...3 ESSENTIAL TOOLS FOR STARTING ANDMAINTAINING... Oanh Bui Python 0 04-27-2009 12:46 PM
Re: How do I stop programs from automatically starting? Kathy Microsoft Certification 0 06-03-2004 02:19 PM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57