emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* ODT export --> opening in Okular?
@ 2018-12-09  7:18 James Harkins
  2018-12-09 23:25 ` briangpowell
  0 siblings, 1 reply; 7+ messages in thread
From: James Harkins @ 2018-12-09  7:18 UTC (permalink / raw)
  To: emacs-orgmode

Hi,

I realize I'm running an older version of org-mode (8.3.3), but things are working for me generally and I'm not in a position to monkey around with my environment right now.

Anyway, something strange. A few months ago, I was able to export to ODT and the file would open in LibreOffice. But, just now, emacs insists on issuing a command to open it in okular.

Creating ODT file...
Running zip -mX0 project-notes.odt mimetype
Running zip -rmTq project-notes.odt .
Created /blah/blah/project-notes.odt
Parsing archive file...done.
Running okular /blah/blah/project-notes.odt --icon okular -caption Okular...done

Okular? That makes no sense at all.

I tried adding an entry to org-file-apps to force it to use libreoffice6.0 to open ODT files, but this is having no effect.

 '(org-file-apps
   (quote
    ((auto-mode . emacs)
     ("\\.mm\\'" . default)
     ("\\.x?html?\\'" . "/usr/bin/firefox %s")
     ("\\.pdf\\'" . "/usr/bin/okular %s")
     ("\\.odt\\'" . "libreoffice6.0 %s"))))

I can find no hard coded reference to Okular anywhere in the org source code.

This is quite mysterious to me. If it's using a particular app to open this type of file, I should be able to find some settings or some instruction somewhere. But I can't.

How to fix this?

hjh

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2018-12-12  0:41 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <mailman.79.1544461215.14495.emacs-orgmode@gnu.org>
2018-12-12  0:41 ` ODT export --> opening in Okular? James Harkins
2018-12-09  7:18 James Harkins
2018-12-09 23:25 ` briangpowell
2018-12-10  1:45   ` James Harkins
2018-12-10  2:20     ` Ken Mankoff
2018-12-10 16:08       ` Eric S Fraga
2018-12-10 16:41     ` Nick Dokos

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).