1

Is there any way of disabling xscreensaver when a video is being played back in Kodi (17.6). I'm running Ubuntu 17.10.

I've seen proposed workarounds for Flash or Youtube video playback, but nothing for Kodi ???

user1175461
  • 121
  • 3
  • 15
  • GNOME? Then see this. – pomsky Dec 06 '17 at 18:43
  • Thanks for the link. It looks as if the Gnome Tweak Tool and Caffeine offer some options for disabling the screensaver, but neither is smart enough to detect whether you are watching a video and disable the screensaver if you are (as Windows does, for example). Caffeine can spot whether you're running a full-screen app (e.g. Kodi), but not whether a video is playing. It seems that you can set rules for when to disable the screensaver, but they're not smart enough to work out when you're actually watching a video. – user1175461 Dec 06 '17 at 23:12

1 Answers1

1

kodi-prevent-xscreensaver keeps XScreenSaver from coming on when Kodi is active. This bash script is infinitely more lightweight than some alternatives such as caffeine.

git clone https://github.com/graysky2/kodi-prevent-xscreensaver 
sudo make  
sudo make install 

kodi-prevent-xscreensaver

and add it to ~/.config/autostart to add it to start-up application list but this prevents it any time Kodi is running, not only when it is at full screen.

Melebius
  • 11,431
  • 9
  • 52
  • 78