standby 2 hour
Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
standby 2 hour
Hello, i want to set the standby mode on 2 hours but in Cinnamon 17.2 just 5,10,15,30,45, 1 hour and never are possible. How can i change this ? Perhaps with gconf-editor or in a config file ? Thanks for your answers and sorry for my my bad english (french forum is out).
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 1 time in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
Re: standby 2 hour
You should be able to add another entry to SLEEP_DELAY_OPTIONS in /usr/lib/cinnamon-settings/modules/cs_power.py
SLEEP_DELAY_OPTIONS = [
(300, _("5 minutes")),
(600, _("10 minutes")),
(900, _("15 minutes")),
(1800, _("30 minutes")),
(2700, _("45 minutes")),
(3600, _("1 hour")),
(7200, _("2 hours")),
(0, _("Never"))
]
SLEEP_DELAY_OPTIONS = [
(300, _("5 minutes")),
(600, _("10 minutes")),
(900, _("15 minutes")),
(1800, _("30 minutes")),
(2700, _("45 minutes")),
(3600, _("1 hour")),
(7200, _("2 hours")),
(0, _("Never"))
]