Find the answer to your Linux question:
Results 1 to 7 of 7
How do I enable hibernate on lid close, and on low battery power, as well as enable the hibernate button to appear alongside shutdown, suspend and restart? pm-hibernate works(most of ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Aug 2012
    Posts
    13

    Hibernate on Linux Mint 13


    How do I enable hibernate on lid close, and on low battery power, as well as enable the hibernate button to appear alongside shutdown, suspend and restart? pm-hibernate works(most of the time!) fine, but I really want lid close to trigger hibernate!

    Thanks!

  2. #2
    Linux Newbie mactruck's Avatar
    Join Date
    Apr 2012
    Location
    City of Salt
    Posts
    185
    Is this KDE or Cinnamon?

  3. #3
    Just Joined!
    Join Date
    Aug 2012
    Posts
    13
    I'm using Cinnamon.

  4. #4
    Linux Guru rokytnji's Avatar
    Join Date
    Jul 2008
    Location
    Desert
    Posts
    4,003
    Post from terminal in Mint

    Code:
    inxi -F
    Code:
    free
    So users/members can see what hardware you are talking about. You posted in Netbook/Minibooks and maybe your gear won't support what you want to do maybe.
    We won't know till you elaborate more on your hardware. Like make and model number plus the readouts of the commands I gave in Mint.
    Linux Registered User # 475019
    Lead,Follow, or get the heck out of the way. I Have a Masters in Raising Hell
    Tech Books
    Free Linux Books
    Newbie Guide
    Courses at Home

  5. #5
    Just Joined!
    Join Date
    Aug 2012
    Posts
    13
    Here's the output:

    Code:
    sathyu-CR400-CR401 ~ # inxi -F
    System:    Host: sathyu-CR400-CR401 Kernel: 3.2.0-23-generic x86_64 (64 bit) Desktop: Gnome Distro: Linux Mint 13 Maya
    Machine:   System: Micro-Star (portable) product: CR400 / CR401 version: Ver.001 serial: FFFFFFFF 
               Mobo: Micro-Star model: CR400 / CR401 version: Ver.001 serial: FFFFFFFF
               Bios: American Megatrends version: E1451NMS VER.10N date: 12/04/2009
    CPU:       Dual core Pentium CPU T4200 (-MCP-) cache: 1024 KB flags: (lm nx sse sse2 sse3 ssse3) 
               Clock Speeds: 1: 1200.00 MHz 2: 1200.00 MHz
    Graphics:  Card: NVIDIA C79 [GeForce 9200M G] 
               X.org: 1.11.3 drivers: nvidia (unloaded: nouveau,vesa,fbdev) tty size: 168x40 Advanced Data: N/A for root 
    Audio:     Card: NVIDIA MCP79 High Definition Audio driver: snd_hda_intel Sound: ALSA ver: 1.0.24
    Network:   Card-1: NVIDIA MCP79 Ethernet driver: forcedeth 
               IF: eth0 state: down mac: 40:61:86:19:e2:0d
               Card-2: Ralink RT3090 Wireless 802.11n 1T/1R PCIe driver: rt2800pci 
               IF: wlan0 state: up mac: 40:61:86:3f:6d:4b
    Drives:    HDD Total Size: 250.1GB (66.0% used) 1: /dev/sda ST9250315AS 250.1GB 
    Partition: ID: / size: 34G used: 9.2G (29%) fs: ext4 ID: swap-1 size: 3.00GB used: 0.22GB (7%) fs: swap 
    Sensors:   System Temperatures: cpu: 59.0C mobo: N/A gpu: 51C 
               Fan Speeds (in rpm): cpu: N/A 
    Info:      Processes: 140 Uptime: 1 day Memory: 1004.3/1749.0MB Client: Shell inxi: 1.7.33

    Code:
    sathyu-CR400-CR401 ~ # free
                 total       used       free     shared    buffers     cached
    Mem:       1791000    1616156     174844          0      77884     512068
    -/+ buffers/cache:    1026204     764796
    Swap:      2931824     219024    2712800

  6. #6
    Linux Guru rokytnji's Avatar
    Join Date
    Jul 2008
    Location
    Desert
    Posts
    4,003
    Ok. You have 3 gig of swap and 2 gig of ram and dual core laptop so you have the specs for handling what comes next.
    Just for info. You don't need to be root to run inxi.

    Check this post and thread for reference.

    Linux Mint Forums ? View topic - Howto Disable Hibernate when I close my Laptop Lid?

    I can make this change in Mate fairly easily via the screen saver settings dialog. Cinnamon seems to have no such dialog or similar setting.
    Just more info below

    Fix Ubuntu (or Linux) Suspend/Hibernate Not Working Bug : Code Central
    Linux Registered User # 475019
    Lead,Follow, or get the heck out of the way. I Have a Masters in Raising Hell
    Tech Books
    Free Linux Books
    Newbie Guide
    Courses at Home

  7. #7
    Just Joined!
    Join Date
    Aug 2012
    Posts
    13
    I tried both the links, and neither making the changes suggested in dconf-editor, nor the script worked... What should I do now?
    (sorry for the long hiatus; I'd been traveling)

Posting Permissions

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