Connect with us

HOW TO

How To Hibernate your computer in Ubuntu?

Published

on

How To Hibernate your computer in Ubuntu - hackwarenews (1)

How To Hibernate your computer in Ubuntu? The great thing is that Ubuntu is extremely powerful and at the same time it integrates some rather impressive visual ideas to. That being said, if you want to hibernate Ubuntu, you just have to visit the Terminal and include the command “ sudo pm-hibernate”.

Your PC will automatically turn off once you initiate and complete the command. And if you want to stop hibernation, you just have to stop it manually with the power button.

Is there a way to enable hibernation permanently?

For those people that don’t want the computer to enter hibernation all the time with the method above, you can use a rather tricky option if you want.

· Create a new text editor on the command line by writing “sudo nano /etc/polkit-1/localauthority/50-local.d/com.ubuntu.enable-hibernate.pkla”

· Then, you have to copy and paste this text: “[Re-enable hibernate by default in upower] Identity=unix-user:*
Action=org.freedesktop.upower.hibernate
ResultActive=yes

[Re-enable hibernate by default in logind] Identity=unix-user:*
Action=org.freedesktop.login1.hibernate;org.freedesktop.login1.handle-hibernate-key;org.freedesktop.login1;org.freedesktop.login1.hibernate-multiple-sessions;org.freedesktop.login1.hibernate-ignore-inhibit
ResultActive=yes”

How To Hibernate your computer in Ubuntu?

How To Hibernate your computer in Ubuntu?

You will need to save this manually, just use CTRL and X. Logout the system, login again and you will have the hibernate option available.

There will be situations where you need to format the partition with the BTRFS file system. If this happens, you can’t do any sort of hibernation. Also, if you want to enter this sort of feature, you need to make sure that that the swap partition is as large as your RAM amount is. Used adequately, this can bring you a distinct and unique set of features that you may definitely need!

Technology Enthusiast with a keen eye on the Cyberspace, Entrepreneur, Hacker, Co-Founder - Hack Ware News

Continue Reading
Advertisement
Click to comment

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.