[NCLUG] power button & lid actoins in Debian Jessie.

Bob Proulx bob at proulx.com
Mon Sep 15 22:30:31 MDT 2014


John Gilmore wrote:
> So closing the lid suspends, that's fine - except it does it when the
> computer IS IN THE PROCESS of hibernating. Not good. Usually
> hibernates, and the suspends on restore.

Too funny!

Personally I do not suspend upon lid close.  I do nothing on lid
close.  I have my laptop suspend only when I manually press the
suspend key, Fn+F4 on my ThinkPad.  Hibernate is Fn+F12 but I rarely
hibernate and usually just manually suspend.  This is a good behavior
for the way I work.  I can pick up my laptop and carry it around while
it runs (I have an SSD and no spinning hard disk).  If I want to
suspend it for putting away into my bag then I can Fn+Sleep and it
suspends for travel.  Perhaps you might try something like that?

> It's stupid that I have to use the command line tools and type in my
> password to suspend/hibernate

Why do you need to type in your password when using command line
tools?  Please say more.

Does the Fn+sleep key work for you?  How about Fn+hibernate?  If not
then I would try to get that working and disable all of the other
sleep/hibernate functionality.  Put it to sleep first then close the
lid so that it doesn't perform several actions at the same time.

Other than that suggestion I will have little more help since I am not
running either GNOME or systemd.  I am running Debian as well but am
refusing to accept systemd upon it.

Bob


More information about the NCLUG mailing list