[Okular-devel] [okular] [Bug 324863] New: Okular hijacks PDF viewer default in Emacs org-mode

brian.zbr at gmail.com brian.zbr at gmail.com
Fri Sep 13 01:24:52 UTC 2013


https://bugs.kde.org/show_bug.cgi?id=324863

            Bug ID: 324863
           Summary: Okular hijacks PDF viewer default in Emacs org-mode
    Classification: Unclassified
           Product: okular
           Version: unspecified
          Platform: Mint (Ubuntu based)
                OS: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: general
          Assignee: okular-devel at kde.org
          Reporter: brian.zbr at gmail.com

After installing Okular, a "file:" link to a PDF in Emacs org-mode is opened in
Okular, even if the variable, "org-file-apps" specifies "default" and Okular is
not set as a default viewer in Gnome.

Reproducible: Always

Steps to Reproduce:
1. Ensure that Okular is not the default viewer in Gnome, and that
"org-file-apps" in Emacs specifies "default" option for PDF files. 
2. Create a "file:" link to a PDF in an org-mode file in Emacs and launch the
link.
Actual Results:  
PDF opens in Okular

Expected Results:  
PDF should open in the Gnome default viewer, generally Document Viewer
(evince).

Not sure exactly what this means, but according to the emacs documentation,
setting the org-files-app to the value "default" tells emacs the following:

"Use the default application for this file type, which is the association for t
in the list, most likely in the system-specific part. This can be used to
overrule an unwanted setting in the system-specific variable."

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the Okular-devel mailing list