From mboxrd@z Thu Jan 1 00:00:00 1970 From: Suvayu Ali Subject: Re: bug#14605: Problem with export an .org file to .pdf does not open pdf file Date: Fri, 20 Sep 2013 13:07:41 +0200 Message-ID: <20130920110741.GA2394@kuru.dyndns-at-home.com> References: <20130917212557.GC16911@kuru.dyndns-at-home.com> <87eh8m4hx6.fsf@ucl.ac.uk> <20130918121429.GA2905@kuru.dyndns-at-home.com> <7618A639-D354-436C-A7D4-A0030F9C9663@gmail.com> <8761txig54.fsf@gmail.com> <20130919063652.GA443@kuru.dyndns-at-home.com> <20130919142548.GD16381@kuru.dyndns-at-home.com> <46BBAE44-326C-4128-BA68-5361F8632EE3@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:60210) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VMyYs-0001MJ-Nb for emacs-orgmode@gnu.org; Fri, 20 Sep 2013 07:07:51 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VMyYr-00032r-Lf for emacs-orgmode@gnu.org; Fri, 20 Sep 2013 07:07:46 -0400 Received: from mail-ea0-x231.google.com ([2a00:1450:4013:c01::231]:56196) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VMyYr-00032n-EW for emacs-orgmode@gnu.org; Fri, 20 Sep 2013 07:07:45 -0400 Received: by mail-ea0-f177.google.com with SMTP id f15so174032eak.22 for ; Fri, 20 Sep 2013 04:07:44 -0700 (PDT) Content-Disposition: inline In-Reply-To: <46BBAE44-326C-4128-BA68-5361F8632EE3@gmail.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-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Carsten Dominik Cc: Nick Dokos , emacs-orgmode@gnu.org Hi Carsten, On Fri, Sep 20, 2013 at 12:49:43PM +0200, Carsten Dominik wrote: > > On Sep 19, 2013, at 4:25 PM, Suvayu Ali wrote: > > > I have some good news (sort of). We can force generic open by calling > > xdg-open like this[1]: > > > > DE=generic xdg-open /path/to/file > > Hi Suvayu, > > interesting! How does this work? Is this setting an environment variable DE before it is run? > The syntax looks unfamiliar to me. Yes, it is setting the DE variable (internal to xdg-open) to generic. You can temporarily alter the environment of a command by prefixing it with `var=value '. The cool thing is the current shell does not retain the temporary value. Here is an example: $ var=foo $ var=bar sh -c 'echo $var' bar $ echo $var foo :) -- Suvayu Open source is the future. It sets us free.