Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 20 Aug 2000 18:56:27 +0100
From:      Ben Smithurst <ben@FreeBSD.org>
To:        Sean-Paul Rees <sean@seanrees.com>
Cc:        questions@freebsd.org
Subject:   Re: Screen Blanking 10min
Message-ID:  <20000820185627.W58928@strontium.scientia.demon.co.uk>
In-Reply-To: <20000820094553.A62568@seanrees.com>
References:  <20000820094553.A62568@seanrees.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Sean-Paul Rees wrote:

> Have XFree 3.3.6 going great, however, every 10 minutes of "idle" (like, when
> I'm watching TV fullscreen) the screen blanks. That is really irritating, 
> especially when watching TV.
> 
> Is there a way to stop the screen blanking? 

You could put a wrapper around fxtv, assuming that's what you use to
watch TV.

#!/bin/sh

PATH=/usr/local/bin:/usr/X11R6/bin:/usr/bin:/usr/sbin:/sbin:/bin
export PATH

xset -dpms; xautolock -disable
fxtv "$@"
xset +dpms; xautolock -enable

I'm not quite sure if this works though, as I'm sure I've had the
screen blank while watching TV.  I'll have to see if I can find out
what's causing this.  Note that this script lives in ~/bin, so I have
to explicitly set the path to not include ~/bin, otherwise there'd be a
nasty loop.  (I don't explicitly run /usr/X11R6/bin/fxtv in the script
since I think fxtv sometimes calls itself when doing video capture and
so on, so I wan't the path set up such that it will call the real fxtv
in those cases, rather than my wrapper script.)

-- 
Ben Smithurst                 / ben@FreeBSD.org / PGP: 0x99392F7D
FreeBSD Documentation Project /


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20000820185627.W58928>