From 5f102718c2c86919e96cb1694d50f070acb34dad Mon Sep 17 00:00:00 2001 From: Ben Grande Date: Thu, 22 Feb 2024 22:32:33 +0100 Subject: [PATCH] doc: inform how to get a better mpv performance https://github.com/ben-grande/qusal/issues/19 --- salt/media/README.md | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/salt/media/README.md b/salt/media/README.md index 48b0a3a..bb3ceb4 100644 --- a/salt/media/README.md +++ b/salt/media/README.md @@ -34,15 +34,22 @@ qubesctl --skip-dom0 --targets=media state.apply media.configure ## Usage -You will store multimedia files in the "media" qube. When you try to open a +You will store multimedia files in the `media` qube. When you try to open a file in that qube, it will open instead in the disposable "disp-media". -No file browser is installed in the "media" qube as code execution exploits in +No file browser is installed in the `media` qube as code execution exploits in file browsers are common when rendering thumbnails, indexing file name, automatically running scripts saved in the home directory. You are open to forward files from the "media" qube to "disp-media" by running `xdg-open /path/file` or more explicitly, `qvm-open-in-dvm /path/file`. +To get a decent performance with `mpv`, you will need to configure it in +`/etc/mpv/mpv.conf`: +```cfg +vo=x11 +profile=sw-fast +``` + ## Credits - [Unman](https://github.com/unman/shaker/tree/main/multimedia)