Hi,
After installing mint16 KDE, I discovered that hibernation did not work.
Instead of hibernating, the screen was locked.
This is due to a wrong policikit file.
The mint devs probably did this willingly because on some hardware hibernation does not work well.
So here is how to enable hibernation
- first check if your swap file is at least equal or larger than the ammount of ram in your system
since during hibernation ram contents are saved to swap, there needs to be room to save this data
- Before making changes to the policikit file, check if your system really supports well hibernation with this command
sudo pm-hibernate this command will put your system in hibernation
- Edit this file with your preffered text editor, (but first save it with another name so you can put it back if needed)
(I used kate) sudo kate /etc/polkit-1/localauthority/50-local.d/com.ubuntu.enable-hibernate.pkla
- Replace the contents by this
[Enable Hibernate]
Identity=unix-user:*
Action=org.freedesktop.upower.hibernate
ResultActive=yes
- save the file
- log out
- log in
- voila, your system should now hibernate.
I got this info by googling around, and found this site
http://www.howtogeek.com/113923/how-to- ... ntu-12.04/
So thanks & credits to the people who posted it there.
#Mohamed.
After installing mint16 KDE, I discovered that hibernation did not work.
Instead of hibernating, the screen was locked.
This is due to a wrong policikit file.
The mint devs probably did this willingly because on some hardware hibernation does not work well.
So here is how to enable hibernation
- first check if your swap file is at least equal or larger than the ammount of ram in your system
since during hibernation ram contents are saved to swap, there needs to be room to save this data
- Before making changes to the policikit file, check if your system really supports well hibernation with this command
sudo pm-hibernate this command will put your system in hibernation
- Edit this file with your preffered text editor, (but first save it with another name so you can put it back if needed)
(I used kate) sudo kate /etc/polkit-1/localauthority/50-local.d/com.ubuntu.enable-hibernate.pkla
- Replace the contents by this
[Enable Hibernate]
Identity=unix-user:*
Action=org.freedesktop.upower.hibernate
ResultActive=yes
- save the file
- log out
- log in
- voila, your system should now hibernate.
I got this info by googling around, and found this site
http://www.howtogeek.com/113923/how-to- ... ntu-12.04/
So thanks & credits to the people who posted it there.
#Mohamed.