> ⚠️ Reminder: As always, this is the internet. Don't follow instructions from here unless you know what you are doing.

It's as easy as pasting two files in your App qube (AppVM).

  1. Create a file .local/share/applications/open-in-dvm.desktop with the following:
[Desktop Entry]
Type=Application
Version=1.0
Name=Open in Disposable VM
Comment=Open file in a Disposable VM
TryExec=/usr/bin/qvm-open-in-vm
Exec=/usr/bin/qvm-open-in-vm --view-only '@dispvm' %f
Terminal=false
Categories=Qubes;Utility;
  1. Create a file .local/share/applications/mimeapps.list with the following:

    File was too long to put here. Get it file here|attachment

Troubleshooting

If it is not opening anything, open the qube's settings, then open the "Advanced" tab and make sure you select something other than "None" in Default DisposableVM Template.

Advanced stuff you can do

That's beyond the scope of this guide, but you can then: * Making the disposable viewing qube be offline (not default) * open all applications in the same qube (to avoid having a new disposable qube open every time you open a document).

Further reading

Credits: - SecureDrop