Downloaded Files Opening Problem
Downloaded Files Opening Problem
I installed chromium browser. But when I try to open the downloaded files (pdf or tar.gz) from the downloaded file tabs within the browser, it opens up midori browser at the same location from where the files were downloaded and asks me to download again instead of opening in epdfview or file-roller or any relevant applications. How could this behavior be corrected? Thanks!
Re: Downloaded Files Opening Problem
Looks like you have to tell chromium to use the appopriate app for each filetype.
Re: Downloaded Files Opening Problem
Yes, that is what I assumed, but there does not seem to be any option like that to associate an application with a file with specific extension! Still trying to figure out!
Re: Downloaded Files Opening Problem
What mimetype is returned by: xdg-mime query filetype /path/to/pdf?
Then check what default application is set for this mimetype: xdg-mime query default mime/type
Then check what default application is set for this mimetype: xdg-mime query default mime/type
Re: Downloaded Files Opening Problem
application/pdf; charset=binary (for pdf)thenktor wrote:What mimetype is returned by: xdg-mime query filetype /path/to/pdf?
application/x-gzip; charset=binary (for gz file)
Returns nothing!Then check what default application is set for this mimetype: xdg-mime query default mime/type
man xdg-mime shows that
Code: Select all
xdg-mime default application mimetype
designates an application to specific filetype, but is recommended not to execuate the command as root.
How can i make any application default to a certain filetype universal for all users?
Re: Downloaded Files Opening Problem
Did you already check if this works for your normal user? No idea how to set it for all users.garby wrote:Code: Select all
xdg-mime default application mimetype
designates an application to specific filetype, but is recommended not to execuate the command as root.
How can i make any application default to a certain filetype universal for all users?