1
0
gnome-settings-daemon/gnome-settings-daemon-sle-configure-timeout-blank.patch

29 lines
1.2 KiB
Diff

Index: plugins/power/gsd-power-constants.h
===================================================================
--- plugins/power/gsd-power-constants.h.orig 2013-11-12 01:25:13.000000000 +0800
+++ plugins/power/gsd-power-constants.h 2014-03-27 11:39:34.100125030 +0800
@@ -18,7 +18,7 @@
*/
/* The blank delay when the screensaver is active */
-#define SCREENSAVER_TIMEOUT_BLANK 15 /* seconds */
+#define SCREENSAVER_TIMEOUT_BLANK 300 /* seconds */
/* The dim delay when dimming on idle is requested but idle-delay
* is set to "Never" */
Index: plugins/power/gsd-power-manager.c
===================================================================
--- plugins/power/gsd-power-manager.c.orig 2014-03-27 11:39:34.089124716 +0800
+++ plugins/power/gsd-power-manager.c 2014-03-27 11:39:34.101125059 +0800
@@ -1921,8 +1921,8 @@ handle_screensaver_active (GsdPowerManag
* and its fade has finished.
*
* See also idle_configure() */
- if (active)
- idle_set_mode (manager, GSD_POWER_IDLE_MODE_BLANK);
+ /* if (active) */
+ /* idle_set_mode (manager, GSD_POWER_IDLE_MODE_BLANK); */
}
}