You are not logged in.
Chromium isn't opening PDFs for me when I click the downloaded file.
I figure chromium is using xdg-open, and because xdg-open appears to be broken for me, that's why it won't open.
Following along with the wiki entry, I tried the following:
$ xdg-open ~/Downloads/my.pdf
error: no associations or custom launchers found for "/home/ryan/Downloads/my.pdf" OK, so let's check the mime type:
$ xdg-mime query filetype ~/Downloads/my.pdf
/home/ryan/Downloads/my.pdf
application/pdfOK, so I need an association for application/pdf.
$ xdg-mime default evince.desktop application/pdf
$ xdg-mime query default application/pdf
evince.desktopOK, seems like it's associated now. Does it work?
$ xdg-open ~/Downloads/my.pdf
error: no associations or custom launchers found for "/home/ryan/Downloads/my.pdf" Nope ![]()
Hmm, do other files work? I did the same for text/plain, associating it with emacs:
$ xdg-mime query default text/plain
emacs.desktop
$ xdg-open ~/Downloads/changes.txt
error: no associations or custom launchers found for "/home/ryan/Downloads/changes.txt"What am I missing?
Offline