Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 16 Feb 2020 07:08:41 +0300
From:      Yuri Pankov <yuripv@yuripv.me>
To:        Noah Palmer <noahpalmerversion1@gmail.com>, freebsd-questions@freebsd.org
Subject:   Re: Update X when laptop lip is closed
Message-ID:  <2061301f-4f78-e50a-1864-f9a608b7c504@yuripv.me>
In-Reply-To: <CACd7u-8CNo8OgqO21v%2BBpqesO-cUwKw-uUieYjqsSxiNFu1taw@mail.gmail.com>
References:  <CACd7u-8CNo8OgqO21v%2BBpqesO-cUwKw-uUieYjqsSxiNFu1taw@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Noah Palmer wrote:
> is there a way to automatically remove or add the display to X when the
> laptop lid is opened or closed. I have been using a script to read
> dev.acpi_lid.0.state, but is there better way? Also what is the proper way
> to reply to someone while using a mailing list. Do you reply to the person
> or freebsd-questions@freebsd.org.

If you are polling the dev.acpi_lid.0.state value, see /etc/devd.conf 
for examples of ACPI events notification, so you could invoke the need 
actions when lid is open/closed.

As for the reply policy, I don't think there's one, so I just press 
"Reply all" in Thunderbird -- if someone doesn't want to be answered 
directly, they could (and usually do) set the Reply-To to the list.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?2061301f-4f78-e50a-1864-f9a608b7c504>