On Monday, August 21, 2017 at 11:14:15 AM UTC-4, John Maher wrote:
> On Tuesday, May 2, 2017 at 1:14:47 PM UTC-4, Gaiko wrote:
> > Thanks for the reply!
> > 
> > 
> > my ~/.local/share/applications/mimeapps.list is a bit different than yours, 
> > really I was most interested in it handling http/https 
> > 
> > 
> > [Default Applications]
> > text/html=open_work_vm.desktop
> > x-scheme-handler/http=open_work_vm.desktop
> > x-scheme-handler/https=open_work_vm.desktop
> > x-scheme-handler/about=open_work_vm.desktop
> > x-scheme-handler/unknown=open_work_vm.desktop
> > 
> > 
> > I tried just copying/pasting yours into mine (just for kicks) but that 
> > didn't work either :(
> > 
> > 
> > 
> > 
> > 
> > 
> > On Tue, May 2, 2017 at 4:36 AM,  <[email protected]> wrote:
> > Gaiko <[email protected]> [2017-05-02 03:36 +0200]:
> > 
> > > > What happens if you run `qvm-open-in-vm work https://qubes-os.org` in
> > 
> > > > tbirdVM
> > 
> > >
> > 
> > > it seems to work just fine that way
> > 
> > >
> > 
> > > > and when you run xdg-open https://qubes-os.org in the work VM
> > 
> > > > (without the quotes)?
> > 
> > >
> > 
> > > ok, xdg-open I hadn't tried. But regardless this seems to work fine as 
> > > well.
> > 
> > 
> > 
> > Good! That means qvm-open-in-vm (sending the link to the work VM and
> > 
> > telling it to open it) and opening it internally in the work VM
> > 
> > works as intended.
> > 
> > 
> > 
> > What does ~/.local/share/applications/mimeapps.list in tbird look like?
> > 
> > It should look like this (from the mentioned how-to):
> > 
> > 
> > 
> >         [Default Applications]
> > 
> >         x-scheme-handler/unknown=open_work_vm.desktop
> > 
> >         x-scheme-handler/about=open_work_vm.desktop
> > 
> >         x-scheme-handler/http=open_work_vm.desktop
> > 
> >         x-scheme-handler/https=open_work_vm.desktop
> > 
> >         text/html=open_work_vm.desktop
> > 
> >         text/xml=open_work_vm.desktop
> > 
> >         image/gif=open_work_vm.desktop
> > 
> >         image/jpeg=open_work_vm.desktop
> > 
> >         image/png=open_work_vm.desktop
> > 
> >         application/xhtml+xml=open_work_vm.desktop
> > 
> >         application/xml=open_work_vm.desktop
> > 
> >         application/vnd.mozilla.xul+xml=open_work_vm.desktop
> > 
> >         application/rss+xml=open_work_vm.desktop
> > 
> >         application/rdf+xml=open_work_vm.desktop
> > 
> > 
> > 
> > Remove the lines for any MIME types you don't want to open with your
> > 
> > work VM.
> > 
> > 
> > 
> > --
> > 
> > ubestemt
> 
> Gaiko, did you get this to work? I have the exact same experience. And 
> placing the files in /usr/share/applications did not help. 
> 
> When running "desktop-file-validate browser_vm.desktop" from ~/. I get "file 
> does not exist". From ~/.local/share/applications I get 'browser_vm.desktop: 
> warning: key "Encoding" in group "Desktop Entry" is deprecated', similar to 
> you.
> 
> Thanks.
> John

Well, I got this to work mostly as desired. Turns out that even after running 
"xdg-settings set default-web-browser browser_vm.desktop" (and confirmed with 
"xdg-settings get default-web-browser"), I had to remove all .desktop files in 
the working VM (not the browser VM) related to Chrome and Firefox. That 
included files located in ~/.local/share/applications and in 
/usr/share/applications.

Unfortunately, I really want to use Firefox in the browser VM, but only Chrome 
will launch. Still working on addressing that.

John

-- 
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 [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/qubes-users/9bc3c2b2-32f4-45c7-b1d9-8f9a6e809f76%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to