public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: Brandon Vargo <brandon.vargo@gmail.com>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] Laptop Lid Close...
Date: Sat, 24 Jan 2009 11:21:41 -0500	[thread overview]
Message-ID: <1232814101.15370.34.camel@mercury> (raw)
In-Reply-To: <c30988c30901222314u78507ef1tde0510675b835f8a@mail.gmail.com>

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




  parent reply	other threads:[~2009-01-24 16:21 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-01-23  1:24 [gentoo-user] Laptop Lid Close BRM
2009-01-23  7:14 ` Joshua Murphy
2009-01-23 14:57   ` Gregory SACRE
2009-01-24  3:58     ` BRM
2009-01-26 16:32       ` Gregory SACRE
2009-01-26 17:59         ` BRM
2009-01-29 15:50           ` BRM
2009-01-24 16:21   ` Brandon Vargo [this message]
     [not found] <bXj1Y-7bf-1@gated-at.bofh.it>
2009-01-25 14:59 ` Gian Calgeer

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1232814101.15370.34.camel@mercury \
    --to=brandon.vargo@gmail.com \
    --cc=gentoo-user@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox