From owner-freebsd-questions Sun Aug 20 12:35:44 2000 Delivered-To: freebsd-questions@freebsd.org Received: from scientia.demon.co.uk (scientia.demon.co.uk [212.228.14.13]) by hub.freebsd.org (Postfix) with ESMTP id A288437B423 for ; Sun, 20 Aug 2000 12:35:39 -0700 (PDT) Received: from strontium.scientia.demon.co.uk ([192.168.91.36] ident=root) by scientia.demon.co.uk with esmtp (Exim 3.16 #1) id 13QZKe-000DgH-00; Sun, 20 Aug 2000 18:56:28 +0100 Received: (from ben@localhost) by strontium.scientia.demon.co.uk (8.9.3/8.9.3) id SAA54514; Sun, 20 Aug 2000 18:56:27 +0100 (BST) (envelope-from ben) Date: Sun, 20 Aug 2000 18:56:27 +0100 From: Ben Smithurst To: Sean-Paul Rees Cc: questions@freebsd.org Subject: Re: Screen Blanking 10min Message-ID: <20000820185627.W58928@strontium.scientia.demon.co.uk> References: <20000820094553.A62568@seanrees.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2i In-Reply-To: <20000820094553.A62568@seanrees.com> Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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