summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--DOCS/man/mpv.rst1
-rw-r--r--DOCS/man/options.rst3
-rw-r--r--player/main.c3
3 files changed, 5 insertions, 2 deletions
diff --git a/DOCS/man/mpv.rst b/DOCS/man/mpv.rst
index d7d50a4824..653c29d9ce 100644
--- a/DOCS/man/mpv.rst
+++ b/DOCS/man/mpv.rst
@@ -648,6 +648,7 @@ the ``pseudo-gui`` profile being predefined with the following contents:
terminal=no
force-window=yes
idle=once
+ screenshot-directory=~desktop/
This follows the mpv config file format. To customize pseudo-GUI mode, you can
put your own ``pseudo-gui`` profile into your ``mpv.conf``. This profile will
diff --git a/DOCS/man/options.rst b/DOCS/man/options.rst
index 356eff7822..884d6bf7eb 100644
--- a/DOCS/man/options.rst
+++ b/DOCS/man/options.rst
@@ -2665,7 +2665,8 @@ Screenshot
generated.
This option is not set by default, and thus will write screenshots to the
- directory from which mpv was started.
+ directory from which mpv was started. In pseudio-gui mode
+ (see `PSEUDO GUI MODE`_), this is set to the desktop.
``--screenshot-jpeg-quality=<0-100>``
Set the JPEG quality level. Higher means better quality. The default is 90.
diff --git a/player/main.c b/player/main.c
index 1d56f0ceda..641be7a289 100644
--- a/player/main.c
+++ b/player/main.c
@@ -102,7 +102,8 @@ static const char def_config[] =
"[pseudo-gui]\n"
"terminal=no\n"
"force-window=yes\n"
- "idle=once\n";
+ "idle=once\n"
+ "screenshot-directory=~desktop/\n";
static pthread_mutex_t terminal_owner_lock = PTHREAD_MUTEX_INITIALIZER;
static struct MPContext *terminal_owner;