On Wed, Jan 04, 2017 at 10:00:35AM +0000, Robin Green wrote:
> On Wed, 4 Jan 2017 at 00:16 Unman <[email protected]> wrote:
> 
> > Did you actually read that bug report?
> 
> 
> Yes.
> 
> 
> > I'm amazed it's still open.
> >
> > I assume that you are using a Fedora template
> 
> 
> Yes.
> 
> 
> > since 'mimeopen'
> > works for a vanilla Debian template.
> >
> 
> I don't think the Fedora template uses mimeopen directly any more.
> 
> 
> >
> > For Fedora based dvms, the dvm does NOT pick up the association from the
> > template. It's therefore necessary to customize the DispVM: there are
> > instructions for doing this in the docs.
> >
> > In brief, for a fedora-24-dvm:
> > qvm-run -a fedora-24-dvm xterm
> >
> > In the dvm:
> > mimeopen -d test.pdf
> > touch /home/user/.qubes-dispvm-customized
> > sudo halt
> >
> > Regenerate DispVM template using qvm-create-default-dvm:
> > qvm-create-default-dvm fedora-24
> >
> >
> > I haven't tested this with Okular, but it works for setting other default
> > applications. Can you confirm it with Okular?
> >
> 
> No, it doesn't. I tried both ways of settings the file associations.
> Neither works.
> 

You're right that the mimeopen method doesnt work for okular, although I
wonder if this is a matter of getting the command right.

However, setting okular as default application in nautilus in
fedora-24-dvm, and then regenerating the DispVM template DOES work, at
least for me.
Can you check again with the xpdf/evince switch, and then add okular to
the mix?

One thing I have noticed - for some reason it's best to restart
nautilus in the qube, before opening a file in a dispVM.

Andrew - can you test also and report back?

unman

-- 
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/20170104142631.GA31999%40thirdeyesecurity.org.
For more options, visit https://groups.google.com/d/optout.

Reply via email to