RSS

Schlagwort-Archive: ruhezustand

Lubuntu 12.04: Ruhezustand (Hibernate) aktivieren

Lubuntu 12.04: Ruhezustand (Hibernate) aktivieren

Seit Lubuntu 12.04 vermisse ich die Option meinen Rechner in den Ruhezustand setzen zu können. Ich kriege dann nur „not authorized“ angezeigt. Ärgerlich, denn wenn man weiß, daß man den Rechner für längere Zeit nicht braucht, aber trotzdem nicht alle Anwendungen bei der Neuanmeldung starten will. Der Ruhezustand speichert den aktuellen Zustand der Sitzung auf Festplatte und schaltet danach den Rechner aus. Schaltet man irgendwann den Rechner wieder ein, wird die Sitzung wieder von der Festplatte geladen und wieder hergestellt.

Durch Zufall bin ich auf den Link Ubuntu 12.04 tweaks: Re-enable hibernate, move the window buttons, more gestoßen und da steht doch tatsächlich die Lösung, die es sowohl auf Ubuntu, als auch auf Lubuntu 12.04 ermöglicht, den Ruhezustand zu aktivieren. Getestet habe ich das Ganze nur auf Lubuntu. Im Grunde muss man als root nur folgende Datei anlegen und editieren:

juergen@vostro:~$ sudo su -
[sudo] password for juergen: 
root@vostro:~# cd /var/lib/polkit-1/localauthority/50-local.d/
root@vostro:/var/lib/polkit-1/localauthority/50-local.d# vi hibernate.pkla

Inhalt:

[Re-enable Hibernate]
Identity=unix-user:*
Action=org.freedesktop.upower.hibernate
ResultActive=yes

Danach funktioniert der Ruhezustand wieder über Start-Menü > Abmelden > Ruhezustand 🙂

Since I’ve installed Lubuntu 12.04 I’ve missed the hibernate mode. Sure, I could see this option in the logoff menu, but when I clicked it, I only got ’not authorized‘. This is annoying, especially when you know, you do not need your computer for a longer time, but you do not want to restart all applications when you login again. With hibernate, you save energy and money and you will get exactly the same session that you had, before you hibernate it.

By chance I found the link Ubuntu 12:04 tweaks: Re-enable hibernate, move the window buttons, more and there is actually the solution, which works on Ubuntu, as well as on Lubuntu 12.04. It allows you to really put your laptop into hibernate state. To benefit from this solution you only have to create only the following file as root and edit it as follows:

juergen@vostro:~$ sudo su -
[sudo] password for juergen: 
root@vostro:~# cd /var/lib/polkit-1/localauthority/50-local.d/
root@vostro:/var/lib/polkit-1/localauthority/50-local.d# vi hibernate.pkla

content:

[Re-enable Hibernate]
Identity=unix-user:*
Action=org.freedesktop.upower.hibernate
ResultActive=yes

Afterwards the hibernate state could be activated with start menu > logoff > hibernate 🙂

 
Hinterlasse einen Kommentar

Verfasst von - Juni 22, 2012 in Linux

 

Schlagwörter: , , ,

 
Erstelle eine Website wie diese mit WordPress.com
Jetzt starten