After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 331717 - Need to describe new locking system
Need to describe new locking system
Status: RESOLVED FIXED
Product: gnome-power-manager
Classification: Deprecated
Component: gnome-power-preferences
SVN TRUNK
Other All
: Normal minor
: ---
Assigned To: GNOME Power Manager Maintainer(s)
GNOME Power Manager Maintainer(s)
Depends on: 331754
Blocks:
 
 
Reported: 2006-02-18 22:03 UTC by Daniel Silverstone
Modified: 2006-02-19 21:53 UTC
See Also:
GNOME target: ---
GNOME version: 2.13/2.14



Description Daniel Silverstone 2006-02-18 22:03:52 UTC
Documentation 
Section: The gnome-power-manager/gnome-power-preferences yelp file
The wrong thing

Correct version:
The right thing

Other information:
------- Comment #39 from Richard Hughes  2006-02-18 21:27 UTC -------
2006-02-18  Richard Hughes  <richard@hughsie.com>
 * data/gpm-prefs.glade, src/gpm-prefs.c (gpm_prefs_setup_checkbox,
gpm_prefs_checkbox_lock_cb): Remove the lock checkboxes. :-)
 * data/gnome-power-manager.schemas.in, src/gpm-prefs.h: Add
lock_use_screensaver_settings to *finally* fix bug (#331164)
 * src/gpm-manager.c (manager_policy_do): Allow over-ride with settings from
gnome-screensaver. Default to using gnome-screensaver settings as it's most
obvious. Sabayon can be used to tweak these settings per domain if required.

I think this keeps everyone happy. I'm closing this bug as I know the number
off by heart now. Daniel, can you create a bugzilla for adding this information
to the yelp file and we'll discuss the best way to do that in the new bug.
Comment 1 Richard Hughes 2006-02-19 16:55:41 UTC
=== Locking ===

By default, gnome-power-manager supports a simple locking scheme.
This means that the screen will lock if set to "Lock screen" in gnome-screensaver when the lid is closed, or the system performs a suspend or hibernate action.

There is a complex locking scheme available for power-users that allows locking policy to change for the lid, suspend and hibernate actions.

To enable this complex mode, you will have to disable the gconf key:

/apps/gnome-power-manager/lock_use_screensaver_settings

Then the policy keys can be set to force a gnome-screensaver lock and unlock when the action is performed:

/apps/gnome-power-manager/lock_on_blank_screen
/apps/gnome-power-manager/lock_on_suspend
/apps/gnome-power-manager/lock_on_hibernate

NOTE: The lock policy for gnome-screensaver is ignored until the simple mode is re-enabled.

---------

What about that Daniel?
Comment 2 Daniel Silverstone 2006-02-19 19:39:45 UTC
Yep, sounds good to me.
Comment 3 Richard Hughes 2006-02-19 21:53:52 UTC
2006-02-19  Richard Hughes  <richard@hughsie.com>

* help/C/gnome-power-manager.xml: document /apps/gnome-power-manager/lock_use_* to fix bug #331717.