From mboxrd@z Thu Jan 1 00:00:00 1970 From: briangpowell Subject: Re: ODT export --> opening in Okular? Date: Sun, 9 Dec 2018 18:25:13 -0500 Message-ID: References: <16791d4fd13.e5d1114317451.3982391053972540870@zoho.com> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="000000000000b77c8d057c9f295f" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:56620) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gW8Rz-0004xv-Qv for emacs-orgmode@gnu.org; Sun, 09 Dec 2018 18:25:28 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gW8Ry-0004FG-IN for emacs-orgmode@gnu.org; Sun, 09 Dec 2018 18:25:27 -0500 Received: from mail-wm1-x333.google.com ([2a00:1450:4864:20::333]:55275) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gW8Ry-0004Dg-9f for emacs-orgmode@gnu.org; Sun, 09 Dec 2018 18:25:26 -0500 Received: by mail-wm1-x333.google.com with SMTP id a62so1721612wmh.4 for ; Sun, 09 Dec 2018 15:25:26 -0800 (PST) In-Reply-To: <16791d4fd13.e5d1114317451.3982391053972540870@zoho.com> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: "Emacs-orgmode" To: jamshark70@zoho.com Cc: emacs-orgmode --000000000000b77c8d057c9f295f Content-Type: text/plain; charset="UTF-8" * 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 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 > > > --000000000000b77c8d057c9f295f Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
* Suggest you try changing this:

=C2=A0("\\.odt\\'" . "libreoffice6.0 %s"))= ))

* To this instead:

=C2=A0("\\.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 intentio= nally run several versions of libreoffice, which is possible but seems poin= tless



On S= un, 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 an= d the file would open in LibreOffice. But, just now, emacs insists on issui= ng 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.

=C2=A0'(org-file-apps
=C2=A0 =C2=A0(quote
=C2=A0 =C2=A0 ((auto-mode . emacs)
=C2=A0 =C2=A0 =C2=A0("\\.mm\\'" . default)
=C2=A0 =C2=A0 =C2=A0("\\.x?html?\\'" . "/usr/bin/firefox= %s")
=C2=A0 =C2=A0 =C2=A0("\\.pdf\\'" . "/usr/bin/okular %s&q= uot;)
=C2=A0 =C2=A0 =C2=A0("\\.odt\\'" . "libreoffice6.0 %s&qu= ot;))))

I can find no hard coded reference to Okular anywhere in the org source cod= e.

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 instructi= on somewhere. But I can't.

How to fix this?

hjh


--000000000000b77c8d057c9f295f--