From beaafb2ea6be591882aef21fe19b88e3b2461087 Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Wed, 19 Sep 2012 13:10:10 +0200 Subject: logind: rework power key/suspend key/lid switch handling http://lists.freedesktop.org/archives/systemd-devel/2012-September/006604.html https://bugzilla.gnome.org/show_bug.cgi?id=680689 This changes the meaning of the HandlePowerKey=/HandleSleepKey=/HandleLidSwitch= setting of logind.conf --- src/login/org.freedesktop.login1.policy.in | 48 +++++++++++++++++++++--------- 1 file changed, 34 insertions(+), 14 deletions(-) (limited to 'src/login/org.freedesktop.login1.policy.in') diff --git a/src/login/org.freedesktop.login1.policy.in b/src/login/org.freedesktop.login1.policy.in index 970adbeff2..8d991e40fb 100644 --- a/src/login/org.freedesktop.login1.policy.in +++ b/src/login/org.freedesktop.login1.policy.in @@ -20,7 +20,17 @@ <_description>Allow applications to inhibit system shutdown <_message>Authentication is required to allow an application to inhibit system shutdown. - auth_admin_keep + no + yes + yes + + + + + <_description>Allow applications to delay system shutdown + <_message>Authentication is required to allow an application to delay system shutdown. + + yes yes yes @@ -30,7 +40,17 @@ <_description>Allow applications to inhibit system sleep <_message>Authentication is required to allow an application to inhibit system sleep. - auth_admin_keep + no + yes + yes + + + + + <_description>Allow applications to delay system sleep + <_message>Authentication is required to allow an application to delay system sleep. + + yes yes yes @@ -46,31 +66,31 @@ - - <_description>Allow applications to delay system shutdown - <_message>Authentication is required to allow an application to delay system shutdown. + + <_description>Allow applications to inhibit system handling of the power key + <_message>Authentication is required to allow an application to inhibit system handling of the power key. - yes + no yes yes - - <_description>Allow applications to delay system sleep - <_message>Authentication is required to allow an application to delay system sleep. + + <_description>Allow applications to inhibit system handling of the sleep key + <_message>Authentication is required to allow an application to inhibit system handling of the sleep key. - yes + no yes yes - - <_description>Allow applications to delay automatic system suspend - <_message>Authentication is required to allow an application to delay automatic system suspend. + + <_description>Allow applications to inhibit system handling of the lid switch + <_message>Authentication is required to allow an application to inhibit system handling of the lid switch. - yes + no yes yes -- cgit v1.2.3-54-g00ecf