summarylogtreecommitdiffstats
path: root/ubuntu_lock-on-suspend.patch
blob: 611091c72ca1f82b3862522387002b1b0b6ba35a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
Description: Add a new preference to lock the screen when the system suspends.
Author: Marc Deslauriers <marc.deslauriers@canonical.com>
Forwarded: No, likely a Ubuntu-specific preference
Bug-Ubuntu: https://bugs.launchpad.net/bugs/938076

Index: gsettings-desktop-schemas-3.7.2/schemas/org.gnome.desktop.screensaver.gschema.xml.in
===================================================================
--- gsettings-desktop-schemas-3.7.2.orig/schemas/org.gnome.desktop.screensaver.gschema.xml.in	2012-11-20 05:19:36.000000000 +1300
+++ gsettings-desktop-schemas-3.7.2/schemas/org.gnome.desktop.screensaver.gschema.xml.in	2012-11-26 13:23:34.173902589 +1300
@@ -25,6 +25,11 @@
       <_summary>Show full name in the lock screen</_summary>
       <_description>Whether the user's full name is shown in the lock screen or not. This only affects the screen shield, the name is always shown in the unlock dialog.</_description>
     </key>
+    <key name="ubuntu-lock-on-suspend" type="b">
+      <default>true</default>
+      <summary>Lock on suspend</summary>
+      <description>Set this to TRUE to lock the screen when the system suspends.</description>
+    </key>
     <key name="embedded-keyboard-enabled" type="b">
       <default>false</default>
       <_summary>Allow embedding a keyboard into the window</_summary>