From mboxrd@z Thu Jan  1 00:00:00 1970
From: Torsten Wagner <torsten.wagner@gmail.com>
Subject: bug#14605: bug#14605: bug#14605: bug#14605: bug#14605: Problem with
 export an .org file to .pdf does not open pdf file
Date: Mon, 2 Sep 2013 18:22:09 +0200
Message-ID: <CAPaq-gP65DMo6HRo3S=q7+Y_Q2yqO7nLCJ6h3NGVLKJK7zoe6g@mail.gmail.com>
References: <51B9C912.4050100@redhat.com> <51C979DF.9080106@redhat.com>
	<520A312B.5080003@redhat.com>
	<6CD2860F-6518-4BC6-B431-507BB088B588@gmail.com>
	<8738pnlj09.fsf@gmail.com>
	<81237114-C902-40D8-95F9-70AA2055C4D3@gmail.com>
	<20130902094701.GI2828@kuru.dyndns-at-home.com>
	<1B84ED41-BCE5-46AE-BBFB-92D656CD373E@gmail.com>
Mime-Version: 1.0
Content-Type: multipart/alternative; boundary=047d7b66f28b5f8d4304e568f996
Return-path: <emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org>
Received: from eggs.gnu.org ([2001:4830:134:3::10]:39227)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <Debian-debbugs@debbugs.gnu.org>) id 1VGWy4-0000pk-Ga
	for emacs-orgmode@gnu.org; Mon, 02 Sep 2013 12:27:13 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <Debian-debbugs@debbugs.gnu.org>) id 1VGWxz-0004kD-J8
	for emacs-orgmode@gnu.org; Mon, 02 Sep 2013 12:27:08 -0400
Sender: "Debbugs-submit" <debbugs-submit-bounces@debbugs.gnu.org>
Resent-Message-ID: <handler.14605.B14605.137813920117059@debbugs.gnu.org>
In-Reply-To: <1B84ED41-BCE5-46AE-BBFB-92D656CD373E@gmail.com>
List-Id: "General discussions about Org-mode." <emacs-orgmode.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/emacs-orgmode>,
	<mailto:emacs-orgmode-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/archive/html/emacs-orgmode>
List-Post: <mailto:emacs-orgmode@gnu.org>
List-Help: <mailto:emacs-orgmode-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/emacs-orgmode>,
	<mailto:emacs-orgmode-request@gnu.org?subject=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 <carsten.dominik@gmail.com>
Cc: 14605@debbugs.gnu.org

--047d7b66f28b5f8d4304e568f996
Content-Type: text/plain; charset=ISO-8859-1

Hi Carsten,
just by chance I read this thread.

It might be a good idea to announce this somehow for package maintainers on
a prominent place in the change-log of the next official release. Some
Linux package systems do allow recommendation on packages.
As I understood the xdg-utils package is not mandatory for using org-mode,
because it would work without xdg-open too. However, we could ask the
package maintainers to make a recommendation to install xdg-util whenever,
org-mode gets installed. Just a nice customer service ;)

BTW: Emacs itself does *not* require xdg-utils or refer to it as optional.
That would have made it even easier to assume it is already on all Linux
systems.

All the best

Torsten



On 2 September 2013 12:08, Carsten Dominik <carsten.dominik@gmail.com>wrote:

> Hi everyone,
>
> OK, we now use xdg-open when available on a Linux system.
>
> Thanks to everyone for the input.
>
> - Carsten
>
> On Sep 2, 2013, at 11:47 AM, Suvayu Ali <fatkasuvayu+linux@gmail.com>
> wrote:
>
> > Hi Carsten,
> >
> > On Mon, Sep 02, 2013 at 10:44:39AM +0200, Carsten Dominik wrote:
> >>
> >> On Sep 2, 2013, at 10:34 AM, Jambunathan K <kjambunathan@gmail.com>
> wrote:
> >>
> >>>    '(org-file-apps-defaults-gnu
> >>>      (quote
> >>>       ((remote . emacs)
> >>>        (system . "xdg-open %s")
> >>>        (t . mailcap))) t))
> >>>
> >>
> >>
> >> I have not followed the discussion earlier.  The problem I see is that
> >> I do not know how widely available these commands are on Linux.  Maybe
> >> we can built the default value using executable-find or something like
> >> this?
> >
> > I think I can shed some light on the availability of xdg-open.  It is
> > provided by xdg-utils, part of the freedesktop specification.  It is
> > expected to be present in most desktop systems (almost anything with a
> > GUI installed).  It is a direct dependency for kde-libs, gnome-libs, and
> > many desktop applications.
> >
> > The introduction in this Archlinux wiki page gives a very succint
> > summary: <https://wiki.archlinux.org/index.php/Xdg-open>
> >
> > Hope this helps,
> >
> > --
> > Suvayu
> >
> > Open source is the future. It sets us free.
> >
> >
> >
>
>
>
>
>

--047d7b66f28b5f8d4304e568f996
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><div><div><div><div>Hi Carsten,<br></div>just by chance I =
read this thread. <br><br></div>It might be a good idea to announce this so=
mehow for package maintainers on a prominent place in the change-log of the=
 next official release. Some Linux package systems do allow recommendation =
on packages.<br>
</div>As I understood the xdg-utils package is not mandatory for using org-=
mode, because it would work without xdg-open too. However, we could ask the=
 package maintainers to make a recommendation to install  xdg-util whenever=
, org-mode gets installed. Just a nice customer service ;)<br>
<br></div><div>BTW: Emacs itself does *not* require xdg-utils or refer to i=
t as optional. That would have made it even easier to assume it is already =
on all Linux systems.<br><br></div>All the best<br><br>Torsten<br><br> </di=
v>
<div class=3D"gmail_extra"><br><br><div class=3D"gmail_quote">On 2 Septembe=
r 2013 12:08, Carsten Dominik <span dir=3D"ltr">&lt;<a href=3D"mailto:carst=
en.dominik@gmail.com" target=3D"_blank">carsten.dominik@gmail.com</a>&gt;</=
span> wrote:<br>
<blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p=
x #ccc solid;padding-left:1ex">Hi everyone,<br>
<br>
OK, we now use xdg-open when available on a Linux system.<br>
<br>
Thanks to everyone for the input.<br>
<span class=3D"HOEnZb"><font color=3D"#888888"><br>
- Carsten<br>
</font></span><div class=3D"im HOEnZb"><br>
On Sep 2, 2013, at 11:47 AM, Suvayu Ali &lt;<a href=3D"mailto:fatkasuvayu%2=
Blinux@gmail.com">fatkasuvayu+linux@gmail.com</a>&gt; wrote:<br>
<br>
&gt; Hi Carsten,<br>
&gt;<br>
&gt; On Mon, Sep 02, 2013 at 10:44:39AM +0200, Carsten Dominik wrote:<br>
&gt;&gt;<br>
&gt;&gt; On Sep 2, 2013, at 10:34 AM, Jambunathan K &lt;<a href=3D"mailto:k=
jambunathan@gmail.com">kjambunathan@gmail.com</a>&gt; wrote:<br>
&gt;&gt;<br>
&gt;&gt;&gt; =A0 =A0&#39;(org-file-apps-defaults-gnu<br>
&gt;&gt;&gt; =A0 =A0 =A0(quote<br>
&gt;&gt;&gt; =A0 =A0 =A0 ((remote . emacs)<br>
&gt;&gt;&gt; =A0 =A0 =A0 =A0(system . &quot;xdg-open %s&quot;)<br>
&gt;&gt;&gt; =A0 =A0 =A0 =A0(t . mailcap))) t))<br>
&gt;&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt; I have not followed the discussion earlier. =A0The problem I see i=
s that<br>
&gt;&gt; I do not know how widely available these commands are on Linux. =
=A0Maybe<br>
&gt;&gt; we can built the default value using executable-find or something =
like<br>
&gt;&gt; this?<br>
&gt;<br>
&gt; I think I can shed some light on the availability of xdg-open. =A0It i=
s<br>
&gt; provided by xdg-utils, part of the freedesktop specification. =A0It is=
<br>
&gt; expected to be present in most desktop systems (almost anything with a=
<br>
&gt; GUI installed). =A0It is a direct dependency for kde-libs, gnome-libs,=
 and<br>
&gt; many desktop applications.<br>
&gt;<br>
</div><div class=3D"HOEnZb"><div class=3D"h5">&gt; The introduction in this=
 Archlinux wiki page gives a very succint<br>
&gt; summary: &lt;<a href=3D"https://wiki.archlinux.org/index.php/Xdg-open"=
 target=3D"_blank">https://wiki.archlinux.org/index.php/Xdg-open</a>&gt;<br=
>
&gt;<br>
&gt; Hope this helps,<br>
&gt;<br>
&gt; --<br>
&gt; Suvayu<br>
&gt;<br>
&gt; Open source is the future. It sets us free.<br>
&gt;<br>
&gt;<br>
&gt;<br>
<br>
<br>
<br>
<br>
</div></div></blockquote></div><br></div>

--047d7b66f28b5f8d4304e568f996--