zoukankan      html  css  js  c++  java
  • ubuntu 设置 okular为默认PDF查看器

    https://askubuntu.com/questions/204823/how-do-you-change-the-default-document-viewer-to-okular

    Well, none of the other answers worked on 14.04, Okular simply doesn't show up in the list. But this worked perfectly:

    mimeopen -d myfile.pdf
    

    It will give you a list of applications that can open the file, and will also update the default application for you.

    $ mimeopen -d myfile.pdf
    Please choose a default application for files of type application/pdf
    
    1) Print Preview  (evince-previewer)
    2) Xournal  (xournal)
    3) MuPDF  (mupdf)
    4) Adobe Reader 9  (AdobeReader)
    5) GIMP Image Editor  (gimp)
    6) Document Viewer  (evince)
    7) Other...
    
    use application
    

    Selecting one of these will set it as the default for application/pdf file types. You can easily set any executable to be the default by using the Other... option:

  • 相关阅读:
    2019JAVA第三次实验报告
    第二次作业
    第一周作业
    2019年春总结
    第二周作业
    第十二周作业
    第十一周作业
    第十周作业
    第九周作业
    第八周作业
  • 原文地址:https://www.cnblogs.com/imoon22/p/13909241.html
Copyright © 2011-2022 走看看