From mboxrd@z Thu Jan 1 00:00:00 1970 From: James Harkins Subject: ODT export --> opening in Okular? Date: Sun, 09 Dec 2018 15:18:34 +0800 Message-ID: <16791d4fd13.e5d1114317451.3982391053972540870@zoho.com> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:51833) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gW89H-0002s3-0g for emacs-orgmode@gnu.org; Sun, 09 Dec 2018 18:06:07 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gW89B-0002Y3-OZ for emacs-orgmode@gnu.org; Sun, 09 Dec 2018 18:06:06 -0500 Received: from sender-pp-092.zoho.com ([135.84.80.237]:25402) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1gW89B-0002W6-Cl for emacs-orgmode@gnu.org; Sun, 09 Dec 2018 18:06:01 -0500 In-Reply-To: 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: 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