emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: briangpowell <briangpowellms@gmail.com>
To: jamshark70@zoho.com
Cc: emacs-orgmode <emacs-orgmode@gnu.org>
Subject: Re: ODT export --> opening in Okular?
Date: Sun, 9 Dec 2018 18:25:13 -0500	[thread overview]
Message-ID: <CAFm0skHy3TVpkiunAGJ7Tfz7HxQ+4cVN5fFZ5YvyDeSeiQzF6Q@mail.gmail.com> (raw)
In-Reply-To: <16791d4fd13.e5d1114317451.3982391053972540870@zoho.com>

[-- Attachment #1: Type: text/plain, Size: 1808 bytes --]

* Suggest you try changing this:

 ("\\.odt\\'" . "libreoffice6.0 %s"))))

* To this instead:

 ("\\.odt\\'" . "libreoffice %s"))))

--since "libreoffice6.0" is a specific link that is subject to change--not
only by you but by your chosen operating system package manager

Unless of course, you intentionally run several versions of libreoffice,
which is possible but seems pointless



On Sun, Dec 9, 2018 at 6:07 PM James Harkins <jamshark70@zoho.com> wrote:

> 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
>
>
>

[-- Attachment #2: Type: text/html, Size: 2500 bytes --]

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

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-12-09  7:18 ODT export --> opening in Okular? James Harkins
2018-12-09 23:25 ` briangpowell [this message]
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=CAFm0skHy3TVpkiunAGJ7Tfz7HxQ+4cVN5fFZ5YvyDeSeiQzF6Q@mail.gmail.com \
    --to=briangpowellms@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=jamshark70@zoho.com \
    /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).