mirror of
https://github.com/mpv-player/mpv
synced 2025-03-22 11:18:32 +00:00
DOCS/man: remove "Linux desktop issues" section
This section has no reason to exist anymore because: - No "desktop issues" sections exist for other platforms, and all other Linux-specific issues are represented as notes for options. This section only addressed one specific issue. - This section was shortened significantly with commit2c46ae8ea3
, so there is no need for this to be a separate section anymore. - This section was shortened again with commitd5e681e95d
, when the original rationale behind this section became outdated because GNOME has implemented the idle inhibit protocol. The historical info is moved to the documentation of --stop-screensaver.
This commit is contained in:
parent
a16bad4004
commit
abc2a7484d
@ -1358,27 +1358,6 @@ works like in older mpv releases:
|
|||||||
change, and not apply your additional settings, and/or use a different
|
change, and not apply your additional settings, and/or use a different
|
||||||
profile name.
|
profile name.
|
||||||
|
|
||||||
Linux desktop issues
|
|
||||||
====================
|
|
||||||
|
|
||||||
This subsection describes common problems on the Linux desktop. None of these
|
|
||||||
problems exist on systems like Windows or macOS.
|
|
||||||
|
|
||||||
Disabling Screensaver
|
|
||||||
---------------------
|
|
||||||
|
|
||||||
By default, mpv tries to disable the OS screensaver during playback (only if
|
|
||||||
a VO using the OS GUI API is active). ``--stop-screensaver=no`` disables this.
|
|
||||||
|
|
||||||
A common problem is that Linux desktop environments ignore the standard
|
|
||||||
screensaver APIs on which mpv relies. In particular, mpv uses the Screen Saver
|
|
||||||
extension (XSS) on X11, and the idle-inhibit protocol on Wayland.
|
|
||||||
|
|
||||||
Before mpv 0.33.0, the X11 backend ran ``xdg-screensaver reset`` in 10 second
|
|
||||||
intervals when not paused in order to support screensaver inhibition in these
|
|
||||||
environments. This functionality was removed in 0.33.0, but it is possible to
|
|
||||||
call the ``xdg-screensaver`` command line program from a user script instead.
|
|
||||||
|
|
||||||
|
|
||||||
.. include:: options.rst
|
.. include:: options.rst
|
||||||
|
|
||||||
|
@ -3450,10 +3450,12 @@ Window
|
|||||||
the screensaver will re-enable when playback is not active. ``always`` will
|
the screensaver will re-enable when playback is not active. ``always`` will
|
||||||
always disable the screensaver. Note that stopping the screensaver is only
|
always disable the screensaver. Note that stopping the screensaver is only
|
||||||
possible if a video output is available (i.e. there is an open mpv window).
|
possible if a video output is available (i.e. there is an open mpv window).
|
||||||
|
This is not supported on all video outputs, platforms, or desktop environments.
|
||||||
|
|
||||||
This is not supported on all video outputs or platforms. Sometimes it is
|
Before mpv 0.33.0, the X11 backend ran ``xdg-screensaver reset`` in 10 second
|
||||||
implemented, but does not work (especially with Linux "desktops"). Read the
|
intervals when not paused in order to support screensaver inhibition in some
|
||||||
`Disabling Screensaver`_ section very carefully.
|
environments. This functionality was removed in 0.33.0, but it is possible to
|
||||||
|
call the ``xdg-screensaver`` command line program from a user script instead.
|
||||||
|
|
||||||
``--wid=<ID>``
|
``--wid=<ID>``
|
||||||
This tells mpv to attach to an existing window. If a VO is selected that
|
This tells mpv to attach to an existing window. If a VO is selected that
|
||||||
|
Loading…
Reference in New Issue
Block a user