Results 1 to 2 of 2

Thread: No sleep when lid closed...

  1. #1
    Join Date
    Dec 2011
    Location
    Manchester, UK
    Beans
    169
    Distro
    Ubuntu 16.04 Xenial Xerus

    Question No sleep when lid closed...

    Hello, I am running Ubutu 11.10 on a Dell XPS L502x and almost everything works perfectly...the only problem I'm having at the moment is when I close the lid the poor thing won't sleep! I have set it to suspend when lid closed in power settings, and suspend works fine from the desktop. Not a big deal, just curious if anyone can help? I saw a similar thread from a couple of years ago, didn't help though, hopefully someone can now. Ta!

  2. #2
    hakermania's Avatar
    hakermania is offline Τώρα ξέρεις τι γράφω εδώ!
    Join Date
    Aug 2009
    Location
    Greece
    Beans
    1,705
    Distro
    Ubuntu Development Release

    Re: No sleep when lid closed...

    If you get your hands a little dirty you may solve this. This is how to capture the event that lid is closed:
    http://ubuntuforums.org/archive/inde...t-1076486.html
    And that's the custom command you have to run in order to put it in suspend:


    Code:
    dbus-send --system --print-reply --dest=org.freedesktop.UPower /org/freedesktop/UPower org.freedesktop.UPower.Suspend
    The command works fine for me, so you shouldn't have any problem with this. But let us know whether the tutorial on how to capture the lid close action is outdated or something and you cannot follow!

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •