From mboxrd@z Thu Jan 1 00:00:00 1970 From: Rasmus Subject: Re: use of 'system in ox-odt.el Date: Wed, 20 May 2015 13:21:34 +0200 Message-ID: <871tibmr41.fsf@gmx.us> References: <87vbfopqd6.fsf@gmx.us> <20150519203833.GA18927@chitra.no-ip.org> <87egmbmvck.fsf@gmx.us> <20150520110326.GB8817@chitra.no-ip.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:35869) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Yv24e-0003Hi-Ag for emacs-orgmode@gnu.org; Wed, 20 May 2015 07:22:32 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Yv24J-0006rv-U8 for emacs-orgmode@gnu.org; Wed, 20 May 2015 07:22:08 -0400 Received: from plane.gmane.org ([80.91.229.3]:49235) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Yv24J-0006rL-JH for emacs-orgmode@gnu.org; Wed, 20 May 2015 07:21:47 -0400 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1Yv24F-0000dL-9B for emacs-orgmode@gnu.org; Wed, 20 May 2015 13:21:43 +0200 Received: from 46.166.188.233 ([46.166.188.233]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 20 May 2015 13:21:43 +0200 Received: from rasmus by 46.166.188.233 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 20 May 2015 13:21:43 +0200 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-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org Suvayu Ali writes: > On Wed, May 20, 2015 at 11:50:03AM +0200, Rasmus wrote: >> Suvayu Ali writes: >> > >> > Do you have a mailcap which says otherwise? That's what I would suspect >> > given the doc string for org-file-apps and the default value of >> > org-file-apps-defaults-gnu on my system. >> >> I have this in my mailcap >> >> application/msword; antiword %s; >> application/pdf; evince %s; >> application/vnd.lotus-organizer; emacsclient -ca '' %s; >> application/zip file-roller %s; >> >> Org does not open my html and odt files. It does open pdf files. This is >> using emacs -q. I use Gnome 3.16 and xdg-open works as expected from the >> terminal. > > There should also be a system-wide setting in /etc/mailcap. On my > Fedora machine, the system-wide settings all look like this: > > text/html; /usr/bin/xdg-open %s ; copiousoutput > > If yours doesn't, you could override it in ~/.mailcap. If that doesn't > fix things, I'm out of ideas :-|. Now it get the message Running /usr/bin/xdg-open /tmp/test.html ...done But it doesn't actually open the file... The same happens when I mark the file in dired and says & xdg-open. From the terminal it works fine. Weird. —Rasmus -- Send from my Emacs