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

2022-06-10 Thread Demi Marie Obenour
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256

On Fri, Jun 03, 2022 at 10:51:53AM +0200, Johannes Graumann wrote:
> On Mon, 2022-05-30 at 14:11 -0400, Demi Marie Obenour wrote:
> > On Sat, May 28, 2022 at 12:56:42PM +0200, Johannes Graumann wrote:
> > > On Tue, 2022-05-24 at 12:35 -0400, Demi Marie Obenour wrote:
> > > > On Tue, May 24, 2022 at 10:37:18AM +0200, Qubes OS Users Mailing
> > > > List
> > > > wrote:
> > > > > https://www.qubes-os.org/doc/how-to-use-disposables/#making-a-particular-application-open-everything-in-a-disposable
> > > > > 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 ...

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
-BEGIN PGP SIGNATURE-

iQIzBAEBCAAdFiEEdodNnxM2uiJZBxxxsoi1X/+cIsEFAmKjsAsACgkQsoi1X/+c
IsHwWBAAyWtn+ogxFSf7Y9Y3QN762ePZzx9X3aPSRbVIWiSsY0H51VTzQRJBG6tS
Np3yRPSjZrj9iDRv3zaEWMKZ+1ekvH18JkXTulv9W/r6ia1UkfrsIC8fwLrkNE7o
lg1RvLcJLNXu0JkOEor1fRzFyY0VZTLRlnFjxVL7JNugF+56iIigrMUYwsIP2JLx
zS38N3cG+aRtXV9ujWJQtRFULH+CVcPFmAM7NGy4uLeYRApObAsosPasxdNPZPYy
pbTLxBYz0O7WKi5Q0n/aFW8ootdtoZZxHNPosw5wWhAPrVny69/MqxMg839piSQW
umPAdTqpUHdXZKPfM/5exuphg9RBJCPxkukurS6tvDLz9RYg8yLHVFuc5wdc7jvQ
HU9nCnSNsSzunowosks0z68pp8XTE7ruUf+HLZkcGrc5e733cE0UbLp5E8d34+eJ
JDgwC/zCj5NwIoUdtIE9pe3G3oDhUNlL6YyCNvIHkuhydN2sUkIC+uxHOMIZeHS1
Dw73E2M22oRud7s4QOeQGQwpv9QYpQ5WBHlsUECJiqJWm4oeW2yMThuxgEHBuh5i
lVH/UIvHmO5XXXA2J/28h+QZBcqO1z1EF5CTdSX+DIWqNO+u7KL5ohgYEMeKhYZW
OldqpRTMH6uYPQSinbrSWlXy9Ucb6yjibGt1moWZapeZidSftwU=
=/nkQ
-END PGP SIGNATURE-

-- 
You received this message because you are subscribed to the Google Groups 
"qubes-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to qubes-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/qubes-users/YqOwDMZb2s4NZwi/%40itl-email.


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

2022-06-03 Thread 'Johannes Graumann' via qubes-users
On Mon, 2022-05-30 at 14:11 -0400, Demi Marie Obenour wrote:
> On Sat, May 28, 2022 at 12:56:42PM +0200, Johannes Graumann wrote:
> > On Tue, 2022-05-24 at 12:35 -0400, Demi Marie Obenour wrote:
> > > On Tue, May 24, 2022 at 10:37:18AM +0200, Qubes OS Users Mailing
> > > List
> > > wrote:
> > > > https://www.qubes-os.org/doc/how-to-use-disposables/#making-a-particular-application-open-everything-in-a-disposable
> > > > 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

-- 
You received this message because you are subscribed to the Google Groups 
"qubes-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to qubes-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/qubes-users/02d56795d145cff5cea6a9a495ef4241b4a51266.camel%40graumannschaft.org.


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

2022-05-30 Thread Demi Marie Obenour
On Sat, May 28, 2022 at 12:56:42PM +0200, Johannes Graumann wrote:
> On Tue, 2022-05-24 at 12:35 -0400, Demi Marie Obenour wrote:
> > On Tue, May 24, 2022 at 10:37:18AM +0200, Qubes OS Users Mailing List
> > wrote:
> > > https://www.qubes-os.org/doc/how-to-use-disposables/#making-a-particular-application-open-everything-in-a-disposable
> > > 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).
-- 
Sincerely,
Demi Marie Obenour (she/her/hers)
Invisible Things Lab

-- 
You received this message because you are subscribed to the Google Groups 
"qubes-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to qubes-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/qubes-users/YpUI0vyWFUt%2B6/o9%40itl-email.


signature.asc
Description: PGP signature


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

2022-05-28 Thread 'Johannes Graumann' via qubes-users
On Tue, 2022-05-24 at 12:35 -0400, Demi Marie Obenour wrote:
> On Tue, May 24, 2022 at 10:37:18AM +0200, Qubes OS Users Mailing List
> wrote:
> > https://www.qubes-os.org/doc/how-to-use-disposables/#making-a-particular-application-open-everything-in-a-disposable
> > 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?


-- 
You received this message because you are subscribed to the Google Groups 
"qubes-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to qubes-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/qubes-users/48af07c3fae3c96c5a012615641609946e29735e.camel%40graumannschaft.org.


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

2022-05-24 Thread Demi Marie Obenour
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256

On Tue, May 24, 2022 at 10:37:18AM +0200, Qubes OS Users Mailing List wrote:
> https://www.qubes-os.org/doc/how-to-use-disposables/#making-a-particular-application-open-everything-in-a-disposable
> 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.

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

iQIzBAEBCAAdFiEEdodNnxM2uiJZBxxxsoi1X/+cIsEFAmKNCU4ACgkQsoi1X/+c
IsEMuA//VFfRexOsdHC7jd1eb7tZOCsBgeXlX6e/jU84XDvwCETveFUWrP0jRjva
cZshRg3AilVXQVuLfLQMyqTP2w5izlsXQByFdTo5/V3vWiHIvO1ohl+Ugrkg7sZc
albGEfGnOoNheGjGhdCWX4XLmteR79DR8tyjhTyP3hc6KvHAKmrT4ighPFVI+hRn
6XZbP5BWQOZ1QSva9wwa6bXJh2/7ZujsNrMOR5V+vLXa/wEc/Xwx4Hwv83UljD8E
BkccHrp3nfEuorV9PTiBVavVKHZfaPbZu1wxkA9ws2Hh0Akse1PyRtABk1TJAQgT
2hZwHs0mbjstrgTjSb8SgG/oXwkyIxubLljBcRpbU1XRSmOZzr8QbGd3Mh3JU2xx
mDZs7i1qTM+Vbb4SyTMfN8gKtv9TyREOGdKNP247g3SxzRUw4u/ZJ2OthUH1+vwC
4o8ohCSfVgvMBcM3BhQN7i3jr0wD38KCdJHSL6OkxVdPn7H2DWZorhfm6Ov14qr7
UKX1/tErPMbv6GTlwBjVHx9X1WSkCrzWOZNxssXs6e4OoDA+LF8PJuLFiIMT89as
DAu/PKwD0cyBPM+91weSRgp3XgI8gETPLTAxRC9WwIBpPBjQ3Yf/H6mHWkH76rBU
+BLIE5mOwBCqawxb4azFF0Ww0fgd8NXzZ3TISK2H86hdTPFxheM=
=1FBd
-END PGP SIGNATURE-

-- 
You received this message because you are subscribed to the Google Groups 
"qubes-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to qubes-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/qubes-users/Yo0JTb%2Bzm3cYGmtI%40itl-email.


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

2022-05-24 Thread 'Johannes Graumann' via qubes-users
https://www.qubes-os.org/doc/how-to-use-disposables/#making-a-particular-application-open-everything-in-a-disposable
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

-- 
You received this message because you are subscribed to the Google Groups 
"qubes-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to qubes-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/qubes-users/2a5cb7e4937d4dc24f095a9fa263c773e8f0e447.camel%40graumannschaft.org.