emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: James Harkins <jamshark70@zoho.com>
To: emacs-orgmode <emacs-orgmode@gnu.org>
Subject: ODT export --> opening in Okular?
Date: Sun, 09 Dec 2018 15:18:34 +0800	[thread overview]
Message-ID: <16791d4fd13.e5d1114317451.3982391053972540870@zoho.com> (raw)
In-Reply-To: 

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

             reply	other threads:[~2018-12-09 23:06 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-12-09  7:18 James Harkins [this message]
2018-12-09 23:25 ` ODT export --> opening in Okular? 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
     [not found] <mailman.79.1544461215.14495.emacs-orgmode@gnu.org>
2018-12-12  0:41 ` James Harkins

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=16791d4fd13.e5d1114317451.3982391053972540870@zoho.com \
    --to=jamshark70@zoho.com \
    --cc=emacs-orgmode@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).