I'm using mpv Media Player in Ubuntu 17.10, and whenever I take a screenshot it goes to the home directory. Is there any way to change the directory for the screenshots taken?
Edit: Based on a comment by doug, who does a lot of work with mpv, one can simply edit
~/.config/mpv.conf to add
$HOME/Public is the desired destination.
The following works with
mpv/xenial,now 2:0.28.0~xenial1 amd64 [installed] and with
mpv/bionic,now 0.27.0-2ubuntu4 amd64 [installed]. I haven't tested with the version available on 17.10.
I copied over
I then modified the
Exec line from
Exec=mpv --player-operation-mode=pseudo-gui -- %U
Exec=mpv --player-operation-mode=pseudo-gui --screenshot-directory=$HOME/Public/ -- %U
SHOME/.local/share/applications/mpv.desktop. Now, when I open a video with mpv and take a screenshot, the screenshot is saved to
Read https://mpv.io/manual/master/ for adjusting the quality of screenshots, naming them, and the format desired.