From: Samir Benmendil Date: Sun, 13 Dec 2020 10:47:41 +0000 (+0000) Subject: mkosi/kodi: disable DPMS X-Git-Url: https://git.rmz.io/dotfiles.git/commitdiff_plain/62c15a8a12d2e8b3ff3f50e8e9907a6766916894 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. --- 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