emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [O] bug#14605: Problem with export an .org file to .pdf does not ope


From: Carsten Dominik
Subject: Re: [O] bug#14605: Problem with export an .org file to .pdf does not open pdf file
Date: Fri, 20 Sep 2013 14:29:00 +0200

On Sep 20, 2013, at 1:07 PM, Suvayu Ali <address@hidden> wrote:

> 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 <address@hidden> 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


OK, this sounds useful.
Next question:  Maybe people who *are* on a Desktop environment will not like 
it if we force DE=generic onto them as well?
Or would't that make a difference?

- Carsten

> 
> :)
> 
> -- 
> Suvayu
> 
> Open source is the future. It sets us free.

Attachment: signature.asc
Description: Message signed with OpenPGP using GPGMail


reply via email to

[Prev in Thread] Current Thread [Next in Thread]