Page 2 of 2 FirstFirst 12
Results 11 to 13 of 13

Thread: How to make lidclose suspend?

  1. #11
    Join Date
    Jun 2008
    Location
    Auckland, NZ
    Posts
    20,006
    Blog Entries
    1

    Default Re: How to make lidclose suspend?

    I would expect it to suspend to RAM or the disk (ie. not only the screen should power off, the fans and the disk etc. should too, and it should log me out so that I'm greeted with the gdm login screen when I open it/power it back on.
    Just to clarify 'suspending to disk' is hibernation, while 'suspending to RAM' is suspending in the Linux world. From your earlier description, it appears that only the display is shutting down (with backlight turned off), rather than suspending actually occurring.

    Do you have an additional display device attached or just the laptop display?

    Did you try configuring via GNOME Tweak Tool as Malcolm already mentioned?

    Does ~/.config/autostart/ignore-lid-switch-tweak.desktop exist?

  2. #12
    Join Date
    Jun 2008
    Location
    Auckland, NZ
    Posts
    20,006
    Blog Entries
    1

    Default Re: How to make lidclose suspend?

    FWIW, the first answer in this Ubuntu thread contains an image showing the advanced settings in the Gnome Tweak Tool that might be helpful. How are your lid close settings configured? (AC and battery)

  3. #13
    Join Date
    Sep 2012
    Posts
    4,941

    Default Re: How to make lidclose suspend?

    Quote Originally Posted by rtbj View Post
    not only the screen should power off, the fans and the disk etc. should too
    Well, you never said they did not.
    and it should log me out so that I'm greeted with the gdm login screen when I open it/power it back on
    The whole point of suspend is that it does not log you out - it leaves system in exactly the same state it was. Your DE may notice suspend and display lock screen on wakeup, but it is configurable and may be disabled. But you also did not mention what DE you are using.
    "loginctl show-session" gave:
    Code:
    BlockInhibited=handle-power-key:handle-suspend-key:handle-hibernate-key
    DelayInhibited=shutdown:sleep
    InhibitDelayMaxUSec=5s
    HandleLidSwitch=suspend
    HandleLidSwitchDocked=ignore
    Docked=no
    So logind is configured to suspend on lid close, this action is not inhibited (or intercepted) and logind believes your system is not docked. The obvious first step to troubleshoot is to check whether it suspends manually - "systemctl suspend".

    And it will likely be useful if you upload "journalctl -b" output after lid close/open; it should show whether any suspend was attempted at all.

Page 2 of 2 FirstFirst 12

Posting Permissions

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