Comment 4 for bug 1740771

Revision history for this message
Daniel van Vugt (vanvugt) wrote : Re: the screen keeps locking while I wath video with mpv

It appears Imre is using a wayland session. And starting in Ubuntu 17.10, mpv uses pure Wayland by default. This means any X11 screensaver fix is probably irrelevant.

The required feature for Wayland clients is apparently the 'idle_inhibit_unstable_v1' protocol which can be found in detail in:
  /usr/share/wayland-protocols/unstable/idle-inhibit/idle-inhibit-unstable-v1.xml
And see also:
  https://lists.freedesktop.org/archives/wayland-devel/2016-April/027950.html
  https://blogs.s-osg.org/inhibited-wayland-desktop-part-1/

Given it's an 'unstable' protocol subject to change and that I don't see it being used in the mpv source code yet, maybe the mpv authors have decided to ignore it for now? Or maybe they don't know it exists?

Best that someone logs an issue with MPV directly to get Wayland idle inhibition support added in a future version:
  https://github.com/mpv-player/mpv/issues