Blank screen: add more timeout values
I found the available options for the screen blanking time a bit lacking. Other OSes offer more options here. Currently only timeouts up to 15 minutes are select-able. I would propose the following change to add some more sensible values:
--- a/panels/power/power.ui
+++ b/panels/power/power.ui
@@ -95,6 +95,26 @@
<col id="0" translatable="yes">15 minutes</col>
<col id="1">900</col>
</row>
+ <row>
+ <col id="0" translatable="yes">20 minutes</col>
+ <col id="1">1200</col>
+ </row>
+ <row>
+ <col id="0" translatable="yes">25 minutes</col>
+ <col id="1">1500</col>
+ </row>
+ <row>
+ <col id="0" translatable="yes">30 minutes</col>
+ <col id="1">1800</col>
+ </row>
+ <row>
+ <col id="0" translatable="yes">45 minutes</col>
+ <col id="1">2700</col>
+ </row>
+ <row>
+ <col id="0" translatable="yes">1 hour</col>
+ <col id="1">3600</col>
+ </row>
<row>
<col id="0" translatable="yes">Never</col>
<col id="1">0</col>
I guess this also impacts the translation files. I have no idea how these are handled/generated. The good thing is though that the added options use strings that are already present in the liststore_time
list. So no new strings need to be translated if I understood that correctly.