From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([69.77.167.62] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1LQlGS-00017p-6N for garchives@archives.gentoo.org; Sat, 24 Jan 2009 16:21:44 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id C40B6E0497; Sat, 24 Jan 2009 16:21:42 +0000 (UTC) Received: from eastrmmtao102.cox.net (eastrmmtao102.cox.net [68.230.240.8]) by pigeon.gentoo.org (Postfix) with ESMTP id 8094DE0497 for ; Sat, 24 Jan 2009 16:21:42 +0000 (UTC) Received: from eastrmimpo02.cox.net ([68.1.16.120]) by eastrmmtao102.cox.net (InterMail vM.7.08.02.01 201-2186-121-102-20070209) with ESMTP id <20090124162142.WRON8735.eastrmmtao102.cox.net@eastrmimpo02.cox.net>; Sat, 24 Jan 2009 11:21:42 -0500 Received: from [192.168.125.11] ([70.174.182.153]) by eastrmimpo02.cox.net with bizsmtp id 7UMh1b00C3JzHGu02UMh76; Sat, 24 Jan 2009 11:21:42 -0500 X-Authority-Analysis: v=1.0 c=1 a=lmoYxg5obVcA:10 a=5ZV7qfyrPs0A:10 a=qdgSg42aT8wuZMZeu08A:9 a=e7tNiZ1KjZFXwRM5Q64A:7 a=VAQ53cOG55nMS53xaHz0vZbAfYkA:4 a=LY0hPdMaydYA:10 X-CM-Score: 0.00 Subject: Re: [gentoo-user] Laptop Lid Close... From: Brandon Vargo To: gentoo-user@lists.gentoo.org In-Reply-To: References: <668013.59864.qm@web65415.mail.ac4.yahoo.com> Content-Type: text/plain Date: Sat, 24 Jan 2009 11:21:41 -0500 Message-Id: <1232814101.15370.34.camel@mercury> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org Mime-Version: 1.0 X-Mailer: Evolution 2.24.2 Content-Transfer-Encoding: 7bit X-Archives-Salt: e22406a7-5cfd-49fd-bc9a-a893ff36f5fa X-Archives-Hash: d988a67436028def15cb9f415cfa5804 On Fri, 2009-01-23 at 02:14 -0500, Joshua Murphy wrote: > if radeontool or something will allow you to disable the display even > when you aren't in X, or without proper access to the display (like > xset requires) you might be able to even escape needing that xhost > setting. No way of testing it at all myself though. I use the dpms feature of sys-apps/vbetool to control the state of the display from a shell script called by acpid. It works even when X is not running and does not need access to the X display if X is running. Also, it works with graphics cards from multiple vendors, as it uses VESA extensions. From personal experience, I know it works with the Intel graphics chipset in my laptop (x86) and also with the Nvidia graphics card in my desktop (amd64). The latter does not have a lid to close, of course, but vbetool can still turn off the display. --Brandon Vargo