[ltp] How to catch close lid event?

Daniel Castro linux-thinkpad@linux-thinkpad.org
Fri, 30 Jan 2009 15:29:15 +0000


--001636c5a2b52299590461b4de6e
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit

Hello!

Anyone knows how can I catch the lid close and open events?

I have a T61 (widescreen), running Ubuntu 8.10. I would like to run some
scripts whenever I close and open the lid.

Any help is much appreciated.

Thanks!

-- 
________________________

Daniel Castro, M.Sc.
+353 083-318-2058
dancasmo@gmail.com
castromd@tcd.ie
________________________

--001636c5a2b52299590461b4de6e
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit

Hello!<br><br>Anyone knows how can I catch the lid close and open events?<br><br>I have a T61 (widescreen), running Ubuntu 8.10. I would like to run some scripts whenever I close and open the lid.<br><br>Any help is much appreciated.<br>
<br>Thanks!<br clear="all"><br>-- <br>________________________<br><br>Daniel Castro, M.Sc.<br>+353 083-318-2058<br><a href="mailto:dancasmo@gmail.com">dancasmo@gmail.com</a><br><a href="mailto:castromd@tcd.ie">castromd@tcd.ie</a><br>
________________________<br>

--001636c5a2b52299590461b4de6e--