documentation-packages team mailing list archive
-
documentation-packages team
-
Mailing list archive
-
Message #00454
[Bug 1279349] [NEW] In Power Part : Wrong Help Doc at Hibernate
Public bug reported:
This is old Help Documents that work only old version :
{Enable hibernate
If the hibernate test works, you can continue to use the pm-hibernate command when you want to hibernate.
You can also enable the hibernate option in the menus. To do that, use your favorite text editor to create /etc/polkit-1/localauthority/50-local.d/com.ubuntu.enable-hibernate.pkla. Add the following to the file and save:
[Re-enable hibernate by default]
Identity=unix-user:*
Action=org.freedesktop.upower.hibernate
ResultActive=yes
End}
But I do this I did't see Hibernate menu. When I use pm-hibernate command that work for me.
This is work for me also :
[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
ResultActive=yes
For I try search solutions on web there tell... :
{Re-enabling the hibernation option in the menu
To re-enable the hibernation option in the menu, your
/etc/polkit-1/localauthority/50-local.d/com.ubuntu.enable-hibernate.pkla
should be modified to look like the following in saucy (13.10):
[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
ResultActive=yes
Then reboot or run killall indicator-session-service in your session and you should have your hibernate functionality/menu option back.
Investigation from bug report
Citation from Jeffery To's post on Launchpad Bug Report #1232814:
For Saucy, indicator-session was updated to use logind
(org.freedesktop.login1) instead of upower.
If you check
/var/lib/polkit-1/localauthority/10-vendor.d/com.ubuntu.desktop.pkla,
you'll see that hibernate is disabled by default in both upower and
logind.
So the first step to re-enable the Hibernate option is to edit
/etc/polkit-1/localauthority/50-local.d/com.ubuntu.enable-hibernate.pkla
to something like:
[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
ResultActive=yes
After rebooting, the login screen session menu should have a
Hibernate option.
[...]
All thanks and credit go to Jeffery!
Why was hibernation disabled?
There exists a bug report on launchpad that suggests disabling
suspend/hibernate instead of tracking which hardware "certifies" for
which power modes. It's claimed to be a more scalable approach.
However, please understand that this is not a place to complain and please be nice.
End}
ProblemType: Bug
DistroRelease: Ubuntu 13.10
Package: ubuntu-docs 13.10.2
ProcVersionSignature: Ubuntu 3.11.0-17.31-generic 3.11.10.3
Uname: Linux 3.11.0-17-generic x86_64
ApportVersion: 2.12.5-0ubuntu2.2
Architecture: amd64
Date: Wed Feb 12 20:39:16 2014
InstallationDate: Installed on 2014-01-08 (34 days ago)
InstallationMedia: Ubuntu 13.10 "Saucy Salamander" - Release amd64 (20131016.1)
MarkForUpload: True
PackageArchitecture: all
SourcePackage: ubuntu-docs
UpgradeStatus: No upgrade log present (probably fresh install)
** Affects: ubuntu-docs (Ubuntu)
Importance: Undecided
Status: Confirmed
** Tags: amd64 apport-bug saucy
** Changed in: ubuntu-docs (Ubuntu)
Status: New => Confirmed
--
You received this bug notification because you are a member of
Documentation Packages, which is subscribed to ubuntu-docs in Ubuntu.
https://bugs.launchpad.net/bugs/1279349
Title:
In Power Part : Wrong Help Doc at Hibernate
Status in “ubuntu-docs” package in Ubuntu:
Confirmed
Bug description:
This is old Help Documents that work only old version :
{Enable hibernate
If the hibernate test works, you can continue to use the pm-hibernate command when you want to hibernate.
You can also enable the hibernate option in the menus. To do that, use your favorite text editor to create /etc/polkit-1/localauthority/50-local.d/com.ubuntu.enable-hibernate.pkla. Add the following to the file and save:
[Re-enable hibernate by default]
Identity=unix-user:*
Action=org.freedesktop.upower.hibernate
ResultActive=yes
End}
But I do this I did't see Hibernate menu. When I use pm-hibernate command that work for me.
This is work for me also :
[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
ResultActive=yes
For I try search solutions on web there tell... :
{Re-enabling the hibernation option in the menu
To re-enable the hibernation option in the menu, your
/etc/polkit-1/localauthority/50-local.d/com.ubuntu.enable-
hibernate.pkla should be modified to look like the following in saucy
(13.10):
[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
ResultActive=yes
Then reboot or run killall indicator-session-service in your session and you should have your hibernate functionality/menu option back.
Investigation from bug report
Citation from Jeffery To's post on Launchpad Bug Report #1232814:
For Saucy, indicator-session was updated to use logind
(org.freedesktop.login1) instead of upower.
If you check
/var/lib/polkit-1/localauthority/10-vendor.d/com.ubuntu.desktop.pkla,
you'll see that hibernate is disabled by default in both upower and
logind.
So the first step to re-enable the Hibernate option is to edit
/etc/polkit-1/localauthority/50-local.d/com.ubuntu.enable-
hibernate.pkla to something like:
[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
ResultActive=yes
After rebooting, the login screen session menu should have a
Hibernate option.
[...]
All thanks and credit go to Jeffery!
Why was hibernation disabled?
There exists a bug report on launchpad that suggests disabling
suspend/hibernate instead of tracking which hardware "certifies" for
which power modes. It's claimed to be a more scalable approach.
However, please understand that this is not a place to complain and please be nice.
End}
ProblemType: Bug
DistroRelease: Ubuntu 13.10
Package: ubuntu-docs 13.10.2
ProcVersionSignature: Ubuntu 3.11.0-17.31-generic 3.11.10.3
Uname: Linux 3.11.0-17-generic x86_64
ApportVersion: 2.12.5-0ubuntu2.2
Architecture: amd64
Date: Wed Feb 12 20:39:16 2014
InstallationDate: Installed on 2014-01-08 (34 days ago)
InstallationMedia: Ubuntu 13.10 "Saucy Salamander" - Release amd64 (20131016.1)
MarkForUpload: True
PackageArchitecture: all
SourcePackage: ubuntu-docs
UpgradeStatus: No upgrade log present (probably fresh install)
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ubuntu-docs/+bug/1279349/+subscriptions
Follow ups
References