]> git.rmz.io Git - dotfiles.git/commitdiff
mkosi/kodi: disable DPMS
authorSamir Benmendil <me@rmz.io>
Sun, 13 Dec 2020 10:47:41 +0000 (10:47 +0000)
committerSamir Benmendil <me@rmz.io>
Sun, 13 Dec 2020 14:49:33 +0000 (14:49 +0000)
Xorg doesn't seem to recognise lirc inputs, so it doesn't register when
the remote is being pressed and will blank the screen after 10min even
if it is in use.

Let Kodi manage the screen blanking/saver instead.

Might need to reenable DPMS with no timeout in future though to allow
Kodi to force turn the screen off.

mkosi/kodi/mkosi.extra/etc/X11/xorg.conf.d/10-disable-dpms.conf [new file with mode: 0644]

diff --git a/mkosi/kodi/mkosi.extra/etc/X11/xorg.conf.d/10-disable-dpms.conf b/mkosi/kodi/mkosi.extra/etc/X11/xorg.conf.d/10-disable-dpms.conf
new file mode 100644 (file)
index 0000000..14ff156
--- /dev/null
@@ -0,0 +1,15 @@
+Section "Monitor"
+       Identifier "Monitor"
+       Option "DPMS" "false"
+EndSection
+
+Section "ServerFlags"
+       Option "StandbyTime" "0"
+       Option "SuspendTime" "0"
+       Option "OffTime" "0"
+       Option "BlankTime" "0"
+EndSection
+
+Section "Extensions"
+       Option "DPMS" "Disable"
+EndSection