qusal/salt/media
Ben Grande f9ead06408 fix: remove extraneous package repository updates
Updates happens multiple times, normally 2 to 3, even if we consider a
state without includes. On states with multiple includes, it could
easily get approximately 10 updates being ran. This behavior leads to
unnecessary network bandwidth being spent and more time to run the
installation state. When the connection is slow and not using the
cacher, such as torified connections on Whonix, the installation can
occurs much faster.

Adding external repositories has to be done prior to update to ensure it
is also fetched.

Fixes: https://github.com/ben-grande/qusal/issues/29
2024-03-18 17:51:36 +01:00
..
files feat: enhance mpv performance 2024-02-23 20:48:49 +01:00
clone.sls refactor: initial commit 2023-11-13 14:33:28 +00:00
clone.top refactor: initial commit 2023-11-13 14:33:28 +00:00
configure.sls refactor: initial commit 2023-11-13 14:33:28 +00:00
configure.top refactor: initial commit 2023-11-13 14:33:28 +00:00
create.sls chore: copyright update 2024-01-29 16:49:54 +01:00
create.top refactor: initial commit 2023-11-13 14:33:28 +00:00
init.top refactor: initial commit 2023-11-13 14:33:28 +00:00
install.sls fix: remove extraneous package repository updates 2024-03-18 17:51:36 +01:00
install.top refactor: initial commit 2023-11-13 14:33:28 +00:00
README.md feat: enhance mpv performance 2024-02-23 20:48:49 +01:00

media

Media opener through disposables in Qubes OS.

Table of Contents

Description

Creates the offline "media" qube for storing multimedia files and open the files in a named disposable "disp-media" via MIME configuration.

Installation

  • Top:
sudo qubesctl top.enable media
sudo qubesctl --targets=tpl-media,media state.apply
sudo qubesctl top.disable media
  • State:
sudo qubesctl state.apply media.create
sudo qubesctl --skip-dom0 --targets=tpl-media state.apply media.install
sudo 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 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 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.

You can personalize mpv by editing $XDG_CONFIG_HOME/mpv/mpv.conf.

Credits