You are not logged in.

#1 2013-07-08 15:29:35

EnigmaCurry
Member
Registered: 2013-07-08
Posts: 1

Can't get Chromium to open downloads (xdg-open broken)

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/pdf

OK, so I need an association for application/pdf.

$ xdg-mime default evince.desktop application/pdf
$ xdg-mime query default application/pdf
evince.desktop

OK, 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 sad

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

Board footer

Powered by FluxBB