[qubes-users] Force a flatpaked application to open attachments, links etc. in a dismVM?

states:

To do this [make a particular application open everything in a
disposable VM], enable a service named app-dispvm.X in that qube,
where X is the application ID.

and invokes `app-dispvm.thunderbird` as an example.

How would you do that for an application installes and run through
flatpak?

Thanks for any pointers.

Sincerely, Joh

Flatpak-installed applications still have an application ID, which is
what gets passed to qubes.StartApp to launch the application.

- --
Sincerely,
Demi Marie Obenour (she/her/hers)
Invisible Things Lab

Thank you for your answer. Lengthy googling has dug up no answer to
what an "application ID" actually is or how to look it up. Could you
please help with that? Given a running program, how do I identify it?

It is the name of the .desktop file the application has within the VM.
For Flatpak apps, I believe it will always be the ID of the flatpak (the
reverse-DNS name).

> > > How to use disposables | Qubes OS
> > > states:
> > > > To do this [make a particular application open everything in
> > > > a
> > > > disposable VM], enable a service named app-dispvm.X in that
> > > > qube,
> > > > where X is the application ID.
> > >
> > > and invokes `app-dispvm.thunderbird` as an example.
> > >
> > > How would you do that for an application installes and run
> > > through
> > > flatpak?
> >
> > Flatpak-installed applications still have an application ID,
> > which is
> > what gets passed to qubes.StartApp to launch the application.
>
> Thank you for your answer. Lengthy googling has dug up no answer to
> what an "application ID" actually is or how to look it up. Could
> you
> please help with that? Given a running program, how do I identify
> it?

It is the name of the .desktop file the application has within the
VM.
For Flatpak apps, I believe it will always be the ID of the flatpak
(the
reverse-DNS name).

Thank you.
I did the following:
1) in `dom0`:

qvm-service task-privcom app-dispvm.org.gnome.Evolution on

2) restart task-privcom

This does not work: neither *.pdf, nor *.jpeg, etc. get opened in a
dispvm when opening (double clicking) from within Evolution ...

Further pointers?

Sincerely, Joh

That is not good.

Does it work if you set XDG_DATA_DIRS to /usr/share/qubes/xdg-override
in the launch script for the flatpak?

- --
Sincerely,
Demi Marie Obenour (she/her/hers)
Invisible Things Lab