From 62c15a8a12d2e8b3ff3f50e8e9907a6766916894 Mon Sep 17 00:00:00 2001 From: Samir Benmendil Date: Sun, 13 Dec 2020 10:47:41 +0000 Subject: [PATCH] mkosi/kodi: disable DPMS 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. --- .../etc/X11/xorg.conf.d/10-disable-dpms.conf | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 mkosi/kodi/mkosi.extra/etc/X11/xorg.conf.d/10-disable-dpms.conf 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 index 0000000..14ff156 --- /dev/null +++ b/mkosi/kodi/mkosi.extra/etc/X11/xorg.conf.d/10-disable-dpms.conf @@ -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 -- 2.48.1