Skip to main content

How to Re-enable Hibernation in Ubuntu 14.04

1) Open the terminal (Ctrl+alt+T)

2) type: sudo gedit /var/lib/polkit-1/localauthority/10-vend­or.d/com.ubuntu.desktop.pkla

3) Enter your password when requested.

4) Search for the section 
[Disable hibernate by default in upower]
Identity=unix-user:*
Action=org.freedesktop.upower.hibernate
ResultActive=no


[Disable hibernate by default in logind]
Identity=unix-user:*
Action=org.freedesktop.login1.hibernate
ResultActive=no

5) Change both value of "ResultActive=no" to "ResultActive=yes"

6) Save and close the editor.

7) Log out and then log back in, or reboot the system. You are now good to go!

Comments

Popular posts from this blog

Multi Node Apache Kafka 0.9 in Linux

Manually Deploying Apache Kafka Please Install Java version 8 before proceeding the Kafka installation. 1) Edit the  /etc/hostname in each  node.         $  vi /etc/hostname                    kafka1 or kafka2 or kafka3 2) Check hostname.         $ hostname 3)  Confirm everything went right.      $ sudo hostname -F /etc/hostname 4) Now edit /etc/hosts to point one node to other nodes and do the same in each node.      $ nano /etc/hosts          127.0.0.1       localhost 127.0.1.1       ubuntu <IP of node1 >   kafka1 <IP of node2>    kafka2 <IP of node3>    kafka3 # The following lines are desirable for IPv6 capable hosts ::1     localhost ip6-localhost ip6-loopba...

StandAlone Apache Storm Installation in Ubuntu 14.04 LTS

Deploying Apache Storm  1) If Java 7 is not present, please install it. 2) Zookeeper Installation Download zookeeper-3.4.6 from Apache site       $ tar -xvf zookeeper-3.4.6.tar.gz       $ cd zookeeper-3.4.6/       $ cp conf/zoo_sample.cfg conf/zoo.cfg       $ bin/zkServer.sh start 3) Storm Cluster Installation Download the storm tarball from official Apache Mirror.  Untar it.       $ tar xzvf apache-storm-0.9.2-incubating.tar.gz Move to new directory.       $ sudo cp -R apache-storm-0.9.2-incubating /usr/lib/ Go to /usr/lib/apache-storm-0.9.2-incubating/ and configure storm.yaml present in conf folder, add the followuing line, this folder must have write permissions too. storm.zookeeper.servers:     - "localhost" storm.zookeeper.port: 2181 nimbus.host: "localhost" storm.local.dir: "/var/stormtmp"    ...

Grub Customizer 4.0.1 released, Install in Ubuntu/Linux Mint/other Ubuntu derivatives

Install Grub Customizer 4.0.1 in Ubuntu 14.04 Trusty/13.10 Saucy/13.04 Raring/12.10 and other Ubuntu derivatives Grub Customizer - a new graphical GRUB 2, You can now select the default boot entry, change the menu visibility and timeout, set kernel parameters, disable recovery entries and change screen resolution (GFX_MODE) - all by using Grub Customizer. With Grub-Customizer you can set default boot Entry/OS easily, Also visibility options provide custom time and look for new Operating System. For advance users Kernel Parameters option is available. Advance settings for experts Grub background is quite interesting feature offered by Grub-Customizer. There are options to set it manually but with this tool you can easily add any image to your grub, can set custom resolution and also font customization is available. Features: Move, remove or rename menuentries (they stey updatable by update-grub) Edit the contents of menuentries or create new ones (internally it edi...