Chang's blog
learn and share...
Set Default PDF Reader in Linux

solve the problem that gimp open pdf as default

  • check filetype of a certain file

    xdg-mime query filetype xxx.pdf
  • check default mimetype of a certain filetype

    xdg-mime query default application/pdf
  • set default mimetype for a certain filetype

    xdg-mime default evince.desktop application/pdf


Last modified on 2020-03-12