manpage: clean up environment variables section

This commit is contained in:
wm4 2013-08-02 13:43:11 +02:00
parent ac6b150e94
commit 964194b55b
1 changed files with 32 additions and 54 deletions

View File

@ -467,8 +467,15 @@ ENVIRONMENT VARIABLES
There are a number of environment variables that can be used to control the There are a number of environment variables that can be used to control the
behavior of mpv. behavior of mpv.
``HOME``
Used to determine mpv config directory: ``$HOME/.mpv``
``TERM``
Used to determine terminal type.
``MPV_HOME`` ``MPV_HOME``
Directory where mpv looks for user settings. Directory where mpv looks for user settings. Overrides ``HOME``, and mpv
will try to load the config file as ``$MPV_HOME/config``.
``MPV_LOCALEDIR`` ``MPV_LOCALEDIR``
Directory where mpv looks for gettext translation files (if enabled). Directory where mpv looks for gettext translation files (if enabled).
@ -478,12 +485,30 @@ behavior of mpv.
The resulting verbosity corresponds to that of ``--msglevel=5`` plus the The resulting verbosity corresponds to that of ``--msglevel=5`` plus the
value of ``MPV_VERBOSE``. value of ``MPV_VERBOSE``.
libaf: ``MPV_LEAK_REPORT``
``LADSPA_PATH`` If set to ``1``, enable internal talloc leak reporting. Note that this can
Specifies the search path for LADSPA plugins. If it is unset, fully cause trouble with multithreading, so only developers should use this.
qualified path names must be used.
FIXME: This is also mentioned in the ladspa section. ``LADSPA_PATH``
Specifies the search path for LADSPA plugins. If it is unset, fully
qualified path names must be used.
``DISPLAY``
Standard X11 display name to use.
FFmpeg/Libav:
This library accesses various environment variables. However, they are not
centrally documented, and documenting them is not our job. Therefore, the
list is incomplete.
Notable environment variables:
``http_proxy``
URL to proxy for ``http://`` and ``https://`` URLs.
``no_proxy``
List of domain patterns for which no proxy should be used.
List entries are separated by ``,``. Patterns can include ``*``.
libdvdcss: libdvdcss:
``DVDCSS_CACHE`` ``DVDCSS_CACHE``
@ -540,53 +565,6 @@ libdvdcss:
``HOME`` ``HOME``
FIXME: Document this. FIXME: Document this.
osdep:
``TERM``
FIXME: Document this.
libvo:
``DISPLAY``
FIXME: Document this.
``HOME``
FIXME: Document this.
libmpdemux:
``HOME``
FIXME: Document this.
``HOMEPATH``
FIXME: Document this.
``http_proxy``
FIXME: Document this.
``LOGNAME``
FIXME: Document this.
``USERPROFILE``
FIXME: Document this.
libavformat:
``AUDIO_FLIP_LEFT``
FIXME: Document this.
``BKTR_DEV``
FIXME: Document this.
``BKTR_FORMAT``
FIXME: Document this.
``BKTR_FREQUENCY``
FIXME: Document this.
``http_proxy``
FIXME: Document this.
``no_proxy``
FIXME: Document this.
EXIT CODES EXIT CODES
========== ==========
@ -611,7 +589,7 @@ FILES
===== =====
``/usr/local/etc/mpv/mpv.conf`` ``/usr/local/etc/mpv/mpv.conf``
mpv system-wide settings mpv system-wide settings (depends on ``--prefix`` passed to configure)
``~/.mpv/config`` ``~/.mpv/config``
mpv user settings mpv user settings