[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[no subject]
- <!--x-content-type: text/plain -->
- <!--x-date: Wed Jun 8 12:15:53 2005 -->
- <!--x-from-r13: wybqra ng gbhtuthl.arg (Xnl Zbqra) -->
- <!--x-message-id: [email protected] -->
- <!--x-reference: [email protected] -->
- <!--x-reference: [email protected] -->
- <!--x-reference: [email protected] --> "http://www.w3.org/TR/html4/loose.dtd">
- <!--x-subject: [ale] annoying, unknown X crash - only when laptop lid is closed. -->
- <li><em>date</em>: Wed Jun 8 12:15:53 2005</li>
- <li><em>from</em>: jloden at toughguy.net (Jay Loden)</li>
- <li><em>in-reply-to</em>: <<a href="msg00335.html">[email protected]</a>></li>
- <li><em>references</em>: <<a href="msg00293.html">[email protected]</a>> <<a href="msg00323.html">[email protected]</a>> <<a href="msg00335.html">[email protected]</a>></li>
- <li><em>subject</em>: [ale] annoying, unknown X crash - only when laptop lid is closed.</li>
Well, mine did too....it just started crashing recently :-)
Anyway, I changed /etc/acpi/lid.sh to contain this:
-------------------------- lid.sh ------------------------------
#!/bin/sh
. /usr/share/acpi-support/power-funcs
getXuser;
grep -q closed /proc/acpi/button/lid/*/state
if [ $? = 0 ]
then
su $user -c "(xscreensaver-command -throttle && xscreensaver-command
-lock)"
xset dpms force off
fi
-------------------------- lid.sh ------------------------------
and it no longer crashes. It appears to be something in the default lid.sh
that ran when the lid was shut that was crashing, not sure what, but at least
it's not crashing anymore.
-Jay
</pre>
<!--X-Body-of-Message-End-->
<!--X-MsgBody-End-->
<!--X-Follow-Ups-->
<hr>
<ul><li><strong>Follow-Ups</strong>:
<ul>
<li><strong><a name="00356" href="msg00356.html">[ale] annoying, unknown X crash - only when laptop lid is closed.</a></strong>
<ul><li><em>From:</em> fd0man at gmail.com (Michael B. Trausch)</li></ul></li>
</ul></li></ul>
<!--X-Follow-Ups-End-->
<!--X-References-->
<ul><li><strong>References</strong>:
<ul>
<li><strong><a name="00293" href="msg00293.html">[ale] annoying, unknown X crash - only when laptop lid is closed.</a></strong>
<ul><li><em>From:</em> jloden at toughguy.net (Jay Loden)</li></ul></li>
<li><strong><a name="00323" href="msg00323.html">[ale] annoying, unknown X crash - only when laptop lid is closed.</a></strong>
<ul><li><em>From:</em> jloden at toughguy.net (Jay Loden)</li></ul></li>
<li><strong><a name="00335" href="msg00335.html">[ale] annoying, unknown X crash - only when laptop lid is closed.</a></strong>
<ul><li><em>From:</em> fd0man at gmail.com (Michael B. Trausch)</li></ul></li>
</ul></li></ul>
<!--X-References-End-->
<!--X-BotPNI-->
<ul>
<li>Prev by Date:
<strong><a href="msg00354.html">[ale] Drive recovery</a></strong>
</li>
<li>Next by Date:
<strong><a href="msg00356.html">[ale] annoying, unknown X crash - only when laptop lid is closed.</a></strong>
</li>
<li>Previous by thread:
<strong><a href="msg00337.html">[ale] annoying, unknown X crash - only when laptop lid is closed.</a></strong>
</li>
<li>Next by thread:
<strong><a href="msg00356.html">[ale] annoying, unknown X crash - only when laptop lid is closed.</a></strong>
</li>
<li>Index(es):
<ul>
<li><a href="maillist.html#00355"><strong>Date</strong></a></li>
<li><a href="threads.html#00355"><strong>Thread</strong></a></li>
</ul>
</li>
</ul>
<!--X-BotPNI-End-->
<!--X-User-Footer-->
<!--X-User-Footer-End-->
</body>
</html>