xdg-open OpenBox

Hello,

I use openbox and chromium. When chromium (or calibre or whatever is using xdg-open) wants to launch a PDF file, it's opened with Chromium.

I have made some configuration changes with xdg-open/xdg-mime without success. Can you help me, please?

Code:
> xdg-mime query default application/pdf
mupdf.desktop

mupdf.desktop is in ~/.local/share/applications/mime

~/.local/share/applications/defaults.list:
Code:
[Default Applications]
application/pdf=mupdf.desktop

Thanks.
 
I found a solution: my FreeBSD contains only my Openbox and pcmanfm, so no DE (desktop environment) is needed for xdg-open. I am basing that on this article and I created my own patch for FreeBSD.
 
Back
Top