qubes-issues icon indicating copy to clipboard operation
qubes-issues copied to clipboard

Document "Open certain applications in disposables" feature

Open marmarek opened this issue 2 years ago • 6 comments

How to file a helpful issue

Qubes OS release (if applicable)

4.1

Brief summary

Add documentation for https://github.com/QubesOS/qubes-issues/issues/6877 Few parts:

  • document relevant "services" in qvm-service man page
  • add page to qubes-doc for users, including what to expect, what are the limitations, and maybe list of applications known to work/known to not work with it

marmarek avatar Dec 17 '21 02:12 marmarek

In the meantime, for anybody wanting to try this:

qvm-service --enable <vmname> app-dispvm.<application-id>

The <application-id> is the application's desktop file name, without an extension. For example:

qvm-service --enable work-mail app-dispvm.mozilla-thunderbird

marmarek avatar Dec 17 '21 02:12 marmarek

This feature does not currently work with Flatpak applications.

DemiMarie avatar Dec 17 '21 04:12 DemiMarie

In the meantime, for anybody wanting to try this:

qvm-service --enable <vmname> app-dispvm.<application-id>

The <application-id> is the application's desktop file name, without an extension. For example:

qvm-service --enable work-mail app-dispvm.mozilla-thunderbird

Should this be working now on an up to date R4.0 with a Debian 11 AppVM? I tried this command for Thunderbird, but when I try to open an attachment (text file), it doesn´t open in a DispVM. Instead I get a file dialog from Thunderbird whether I want to open or save it, and when I click open, it opens inside the same AppVM. EDIT: I see the issue may be that this feature is only in R4.1.

Geblaat avatar Feb 08 '22 16:02 Geblaat

This works really well in R1. You can easily add other types to open with via the handlers.json file or directly in thunderbird via right clicking. Thank you @marmarek

TheWanderer1983 avatar Aug 11 '22 22:08 TheWanderer1983

I've been playing around with this a bit today. I noticed that If I attached a disp that didn't have a browser installed (firefox, librewolf etc) and I clicked a web link within a thunderbird email it would keep spawning multiple DISPs over and over. Instead of just attempting once and stopping.

TheWanderer1983 avatar Aug 12 '22 08:08 TheWanderer1983

I've been playing around with this a bit today. I noticed that If I attached a disp that didn't have a browser installed (firefox, librewolf etc) and I clicked a web link within a thunderbird email it would keep spawning multiple DISPs over and over. Instead of just attempting once and stopping.

I believe this is https://github.com/QubesOS/qubes-issues/issues/7046

marmarek avatar Aug 12 '22 10:08 marmarek