Page 1 of 1
How to hibernate Linux Mint LMDE XFCE & GNOME
Posted: Tue Mar 20, 2012 2:42 pm
by on4aa
I got this great info from
http://experiencinglinux.blogspot.com/2 ... pdate.html and
tested it successfully on a Lenovo SL510 notebook running LMDE 64-bit XFCE.
Please, note that you will need a functional swap partition for hibernate to work.
First, make sure that the following packages are installed:
Code: Select all
sudo apt-get install acpi acpi-support acpi-support-base acpi-fakekey acpid acpitool pm-utils powermgmt-base hibernate
For XFCE, you will also need:
Code: Select all
sudo apt-get install xfce4-power-manager xfce4-power-manager-data xfce4-power-manager-plugins
whereas for GNOME, you will need:
Code: Select all
sudo apt-get install gnome-power-manager
Next, take note of the device name /dev/sdx and the UUID of your swap partition:
Make sure that RESUME=UUID= is filled out correctly in the following configuration file:
Code: Select all
gksu gedit /etc/initramfs-tools/conf.d/resume
Open GRUB's configuration file and write the swap device name
between the quotes following the variable GRUB_CMDLINE_LINUX="resume=/dev/sdax" where x is the swap partition number
Finally,
Code: Select all
sudo update-initramfs -u && update-grub
and reboot.
Hibernate should work now. Keep your computing green
Re: How to hibernate Linux Mint LMDE XFCE & GNOME
Posted: Sun Apr 01, 2012 9:13 am
by zShell
Hey man I ran into some problems
First I couldn't get the
Code: Select all
sudo apt-get install acpi acpi-support acpi-support-base acpi-fakekey acpid acpitool pm-utils powermgmt-base hibernate
part, it wouldnt find the repo and when I went and DL it manually it wouldnt install, said there was an error during process
There was nothing in /etc/initramfs-tools/conf.d/
And after running
Code: Select all
sudo update-initramfs -u && update-grub
I rebooted and got a kernel panic just after selecting Mint in grub (hard freeze with blinking caps lock and scroll lock leds blinking)
It did restart fine the second time, but I'm still unable to hibernate
I got a Dell Vostro with Mint 12 LXDE, what could be the problem
Re: How to hibernate Linux Mint LMDE XFCE & GNOME
Posted: Mon Jun 18, 2012 1:25 pm
by vincezd
Thanks a lot !!
Re: How to hibernate Linux Mint LMDE XFCE & GNOME
Posted: Tue Jul 17, 2012 1:00 pm
by donv
Just worked great for me on LMDE/Mate 201204, thanks! Only issue was that the combined command line:
Code: Select all
sudo update-initramfs -u && update-grub
did not execute update-grub as root/sudo (error returned), so I had to enter a separate
to complete the action as root. Also, note gedit is now replaced by pluma as the text editor, apparently (at least on my default install).
Re: How to hibernate Linux Mint LMDE XFCE & GNOME
Posted: Tue Aug 21, 2012 12:58 pm
by bfrancom
Thanks! This worked nicely for me on LMDE XFCE.
I had to change the UUID to what LVM showed in lvdisplay, and also had to change the GRUB_CMDLINE_LINUX to my logical volume path.
Re: How to hibernate Linux Mint LMDE XFCE & GNOME
Posted: Tue Aug 28, 2012 11:40 am
by luis.nando
Hello guys, I have a question related to this thread. How to hibernate and suspend in the command line, so I can assign keystrokes in xfce??
thanks
Re: How to hibernate Linux Mint LMDE XFCE & GNOME
Posted: Fri Oct 19, 2012 8:36 am
by TarasMK
Hi all,
I had another configuration without swap partition and with swap file. Some steps would differ in this case and it's described here:
http://ubuntuforums.org/showthread.php?t=1042946
May be someone else will gain from it too
Re: How to hibernate Linux Mint LMDE XFCE & GNOME
Posted: Fri Oct 19, 2012 3:42 pm
by jjaythomas
I believe also...
your swap partition need to be => then installed memory (I usually use 1.25 installed memory for swap) I.E. 5MB if 4MB sticks installed
J.Jay
Re: How to hibernate Linux Mint LMDE XFCE & GNOME
Posted: Fri Oct 19, 2012 8:43 pm
by bigbenaugust
luis.nando wrote:Hello guys, I have a question related to this thread. How to hibernate and suspend in the command line, so I can assign keystrokes in xfce??
thanks
I do it with: pm-suspend or pm-hibernate.
I set this up on my netbook at home yesterday, but didn't install any other packages other than what came with the LMDE XFCE install... but it seems that I should have ACPI installed.
EDIT: I checked, acpi was part of the default LMDE install on my machines.
Also, pm-suspend and pm-hibernate (symlinks to /usr/lib/pm-utils/bin/pm-action) are world-executable. I'd been running them via sudo all this time. Oops.
Re: How to hibernate Linux Mint LMDE XFCE & GNOME
Posted: Wed Dec 19, 2012 7:11 am
by luis.nando
Hello all,
Is there any way of doing this using mate? I made a new install in my system using btrfs and mate. I followed the tutorial
http://forums.linuxmint.com/viewtopic.p ... ts#p635755, but after the system was ready I couldn't set the hibernation changing the parameters as suggested in this forum entry. Does someone have any idea of how to solve this case?
My fstab:
Code: Select all
# /etc/fstab: static file system information.
#
# <file system> <mount point> <type> <options> <dump> <pass>
proc /proc proc defaults 0 0
/dev/sda1 / btrfs defaults,subvol=@ 0 0
/dev/sda1 /home btrfs defaults,subvol=home 0 0
/dev/sda5 none swap sw 0 0
My /etc/initramfs-tools/conf.d/resume
Best regards,
Luís Fernando
Re: How to hibernate Linux Mint LMDE XFCE & GNOME
Posted: Mon Feb 25, 2013 8:28 am
by talora
It worked perfectly on Linux Mint Debian Edition. Thanks a lot!
Re: How to hibernate Linux Mint LMDE XFCE & GNOME
Posted: Fri May 03, 2013 8:20 am
by grokenberger
Now my machine hibernates again. Thanks a lot! This has been bugging me since way too long.
Re: How to hibernate Linux Mint LMDE XFCE & GNOME
Posted: Sun Nov 03, 2013 3:12 pm
by tunist
hmm.. maybe i missed something here.. but i used this process to activate hibernation on lmde here and was unable to reboot..
the hibernate and suspend buttons have always been visible and generally the suspend has been ok and i 'thought' hibernate worked at least once.
recently though they both stopped being triggered when i pressed their buttons and instead the screen was locked.
i thought maybe this process would resolve the issue, though my challenge appears to be located elsewhere..
if anyone has any other ideas i would appreciate hearing them.
Re: How to hibernate Linux Mint LMDE XFCE & GNOME
Posted: Sat Feb 01, 2014 12:47 pm
by screenshot
does it work for lmde mate also? i tried it once and it did make some snapshots of the system and worked once, but most of the time it just hangs during the loading animation
Re: How to hibernate Linux Mint LMDE XFCE & GNOME
Posted: Sat Feb 01, 2014 3:01 pm
by kurotsugi
if you could disable plymouth and grab the log file it will be easier for us to identify your problem.