From 2bc11c8db34fef8cf2ac34370ecca6a2bf7af2ca Mon Sep 17 00:00:00 2001 From: slepton Date: Wed, 13 Sep 2017 23:53:06 +0200 Subject: [PATCH] Update cs_power.py Allow for longer times till the system goes to sleep - added 2 and 3 hours. This is useful when listening to albums ( > 60 min) without having to move the mouse or watching movies. Maybe this could/should be fixed else where for all different media/video players and maybe browsers (html5 or flash) but given the simplicity of this solution I guess this is useful already - See feature request #6185 I tested the "fix" (actually just additional options) but the translation(s) for "hours" are missing afterwards. Where or how can I add translations? --- files/usr/share/cinnamon/cinnamon-settings/modules/cs_power.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/files/usr/share/cinnamon/cinnamon-settings/modules/cs_power.py b/files/usr/share/cinnamon/cinnamon-settings/modules/cs_power.py index 72b8fe7578..d03428b112 100755 --- a/files/usr/share/cinnamon/cinnamon-settings/modules/cs_power.py +++ b/files/usr/share/cinnamon/cinnamon-settings/modules/cs_power.py @@ -40,6 +40,8 @@ (1800, _("30 minutes")), (2700, _("45 minutes")), (3600, _("1 hour")), + (7200, _("2 hours")), + (10800, _("3 hours")), (0, _("Never")) ]