From owner-freebsd-questions Sun Aug 20 13:41:18 2000 Delivered-To: freebsd-questions@freebsd.org Received: from mta03-svc.ntlworld.com (mta03-svc.ntlworld.com [62.253.162.43]) by hub.freebsd.org (Postfix) with ESMTP id A0BF437B423; Sun, 20 Aug 2000 13:41:14 -0700 (PDT) Received: from parish.my.domain ([62.255.97.218]) by mta03-svc.ntlworld.com (InterMail vM.4.01.02.27 201-229-119-110) with ESMTP id <20000820204113.GQXA16423.mta03-svc.ntlworld.com@parish.my.domain>; Sun, 20 Aug 2000 21:41:13 +0100 Received: (from mark@localhost) by parish.my.domain (8.9.3/8.9.3) id VAA02536; Sun, 20 Aug 2000 21:41:16 +0100 (BST) (envelope-from mark) Date: Sun, 20 Aug 2000 21:41:16 +0100 From: Mark Ovens To: Ben Smithurst Cc: Sean-Paul Rees , questions@freebsd.org Subject: Re: Screen Blanking 10min Message-ID: <20000820214115.O254@parish> References: <20000820094553.A62568@seanrees.com> <20000820185627.W58928@strontium.scientia.demon.co.uk> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit User-Agent: Mutt/1.2.5i In-Reply-To: <20000820185627.W58928@strontium.scientia.demon.co.uk>; from ben@freebsd.org on Sun, Aug 20, 2000 at 06:56:27PM +0100 Organization: Total lack of Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Sun, Aug 20, 2000 at 06:56:27PM +0100, Ben Smithurst wrote: > 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. It's the X screen saver. You need to mod your script: xset -dpms s off; xautolock -disable fxtv "$@" xset +dpms s on; xautolock -enable although if you have DPMS (which you obviously do) the you may as well permanently disable the screen saver with ``xset s off'' in ~/.xinitrc. > 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 -- 4.4 - The number of the Beastie ________________________________________________________________ 51.44°N FreeBSD - The Power To Serve http://www.freebsd.org 2.057°W My Webpage http://ukug.uk.freebsd.org/~mark mailto:marko@freebsd.org http://www.radan.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message