首页 > 其他 > 详细

octet-stream

时间:2015-09-03 08:08:07      阅读:320      评论:0      收藏:0      [点我收藏+]

firefox突然变成了用gedit打开pdf文件,

 

Where the link to http://download.jw.org/files/media_m...E_20150201.pdf caused the problem of the file being offered to be opened with gedit to occur, the link to http://www.analysis.im/uploads/seminar/pdf-sample.pdf did not and offered me to open it with document viewer as expected.

The difference is the server configuration. The first file is offered with the application/octet-stream mime-type, the latter with application/pdf mime-type as it should be.
To prevent Firefox from opening every file offered with the general application/octet-stream mime-type with gedit you should alter the following files:

  • ~/.local/share/applications/mimeapps.list
  • ~/.config/mimeapps.list



Find the following line in those files and remove it.

application/octet-stream=gedit.desktop;

Save the file, restart Firefox and enjoy your downloads again.

octet-stream

原文:http://www.cnblogs.com/jvava/p/4779860.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!