On Sun, Jul 12, 2020 at 10:28:44PM +0100, Laurence Tratt wrote:

> I don't seem able to get this to work (at least with 78.0.2 in ports).
> 
> When I click on (say) a PDF, I get the "what should Firefox do with this
> file" dialogue box rather than opening with xdg-mime. If I try browsing the
> file system then, even with mupdf added to unveil.main, it doesn't seem to
> "see" the mupdf binary, so I can't select it (but I can select Bulk Rename,
> Firefox, or Thunderbird?!). Either way, it doesn't seem to be firing up
> xdg-mime. This seems to happen with my existing FF profile and with an
> entirely new profile.

Now that the patch is in ports, I've tried again. I can't get firefox to
load PDFs (etc.) with xdg, but it does work fine with a ~/.mailcap file.
That's certainly good enough for me -- thanks Landry!

Having carefully read the firefox README again, I did wonder if we can tweak
it a bit. For example, it seems to be a bit inconsistent in how it refers to
where the config files are, having both:

  for each type of process are located in ${SYSCONFDIR}/firefox/

and:

  /etc/${MOZILLA_PROJECT}/{unveil,pledge}.{main,content,gpu} to contain

At least for those of us reading the README in CVS, the latter was what
clicked best with me, and I wondered if language along those lines might be
best used in the "pledge(2) and unveil(2) Support" section, since it's at
the top of the README?


Laurie

Reply via email to