From mboxrd@z Thu Jan 1 00:00:00 1970 From: James Harkins Subject: Re: ODT export --> opening in Okular? Date: Mon, 10 Dec 2018 09:45:35 +0800 Message-ID: <16795ca7e62.123019e8323779.2065181443559693375@zoho.com> References: <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]:41216) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gWAsl-0002Ng-QO for emacs-orgmode@gnu.org; Sun, 09 Dec 2018 21:01:16 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gWAsf-0003vb-Sz for emacs-orgmode@gnu.org; Sun, 09 Dec 2018 21:01:15 -0500 Received: from sender-pp-092.zoho.com ([135.84.80.237]:25337) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1gWAsf-0003ur-G7 for emacs-orgmode@gnu.org; Sun, 09 Dec 2018 21:01:09 -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: briangpowell Cc: emacs-orgmode ---- On Mon, 10 Dec 2018 07:25:13 +0800 briangpowell wrote ---- > * 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 Nope. $ libreoffice --help The program 'libreoffice' is currently not installed. (I installed libreoffice by downloading from their website, not using Ubuntu packages -- because I had some issues with it a while back and the advice from their user community is always, don't use system-bundled packages because they are out of date.) In any case, it doesn't make a difference: org still insists on issuing the command for okular. I also tried the full path to the binary /usr/bin/libreoffice6.0 -- still exports to Okular. As a final test, I deleted both the PDF and ODT entries from org-file-apps -- so that there is absolutely no reference in any org code file or variable to okular -- and it is *still* opening the exported ODT in okular! Which strikes me as insane. org-open-file seems to be a rather complex function. I can't make heads or tails of it. If I had to guess, I would suppose that it has some fallback position that doesn't depend on org configuration variables. Anyway, the solution for now, as I'm under some time pressure, is to declare that ODT export is broken on my system until I can scrape together some time to upgrade org. PDF export is actually OK for now (and working fine). hjh