swaywm/swayidle

How to stop swayidle when playing movie with mpv player?

alvin998179 opened this issue · 5 comments

How to stop swayidle when playing movie with mpv player? I use arch linux with sway wm .

mpv implements idle-inhibit-unstable-v1, you're either out of date or not using the wayland backend (--gpu-context=wayland last time I checked) it should just work.

Thank you !

But I can not use "--gpu-context=wayland" to play movie, as there is not video optput. Could you please tell me how to use the wayland backend in mpv ?

It works here on mpv 0.30.0-297-gad2cda343b. This isn't the place to discuss user problems, please ask on #sway (or your compositor's channel), or #mpv, on irc.freenode.net for more interactive discussions

Thank you !