Page 1 of 1
Downloaded Files Opening Problem
Posted: 20. Jan 2011, 13:14
by garby
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
Posted: 21. Jan 2011, 08:25
by gapan
Looks like you have to tell chromium to use the appopriate app for each filetype.
Re: Downloaded Files Opening Problem
Posted: 21. Jan 2011, 10:19
by garby
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
Posted: 21. Jan 2011, 11:35
by thenktor
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
Re: Downloaded Files Opening Problem
Posted: 25. Jan 2011, 06:45
by garby
thenktor wrote:What mimetype is returned by: xdg-mime query filetype /path/to/pdf?
application/pdf; charset=binary (for pdf)
application/x-gzip; charset=binary (for gz file)
Then check what default application is set for this mimetype: xdg-mime query default mime/type
Returns nothing!
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
Posted: 25. Jan 2011, 08:33
by thenktor
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?
Did you already check if this works for your normal user? No idea how to set it for all users.