Wybierz program, w którym otworzysz plik:

$ mimeopen -a file.pdf
Please choose an application

        1) MuPDF  (mupdf)
        2) Zathura  (org.pwmt.zathura-pdf-poppler)
        3) E-book viewer  (calibre-ebook-viewer)
        4) calibre  (calibre-gui)
        5) Lios  (Lios)
        6) Brave Web Browser  (brave-browser)
        7) GNU Image Manipulation Program  (gimp)
        8) Google Chrome  (google-chrome)
        9) gPDFText ebook editor  (gpdftext)
        10) LibreOffice 7.1 Draw  (libreoffice7.1-draw)
        11) MComix  (mcomix)
        12) gscan2pdf  (net.sourceforge.gscan2pdf)
        13) Document Viewer  (org.gnome.Evince)
        14) Inkscape  (org.inkscape.Inkscape)
        15) PDF Presenter Console  (pdf-presenter-console)
        16) pqiv  (pqiv)
        17) qpdfview  (qpdfview)

use application #

Ustaw domyślny program do otwierania tego typu:

$ mimeopen -d file.pdf

Sprawdź typ pliku:

$ mimetype file.pdf
file.pdf: application/pdf
$ cat ~/.local/share/applications/defaults.list | grep 'application/pdf'
application/pdf=mupdf.desktop;

Zmień opcje uruchamiania:

$ cat ~/.local/share/applications/mupdf.desktop
[Desktop Entry]
Type=Application
Name=MuPDF
Comment=A minimalistic document viewer
Exec=mupdf -r 88 %f
Terminal=false
NoDisplay=true
Categories=Office;Viewer;
MimeType=application/pdf;

More information

$ cat ~/.config/mimeapps.list
[Default Applications]
[...]
image/gif=nsxiv.desktop;
image/jpeg=nsxiv.desktop;
image/gif=nsxiv.desktop;
image/jpeg=nsxiv.desktop;
image/png=nsxiv.desktop;
image/bmp=nsxiv.desktop;

Refs