all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Suvayu Ali <fatkasuvayu+linux@gmail.com>
To: Carsten Dominik <carsten.dominik@gmail.com>
Cc: Nick Dokos <ndokos@gmail.com>, emacs-orgmode@gnu.org
Subject: Re: bug#14605: Problem with export an .org file to .pdf does not open pdf file
Date: Thu, 19 Sep 2013 16:25:48 +0200	[thread overview]
Message-ID: <20130919142548.GD16381@kuru.dyndns-at-home.com> (raw)
In-Reply-To: <20130919063652.GA443@kuru.dyndns-at-home.com>

On Thu, Sep 19, 2013 at 08:36:52AM +0200, Suvayu Ali wrote:
> On Thu, Sep 19, 2013 at 08:24:51AM +0200, Carsten Dominik wrote:
> > 
> > On 19.9.2013, at 06:34, Nick Dokos <ndokos@gmail.com> wrote:
> > 
> > > Carsten Dominik <carsten.dominik@gmail.com> writes:
> > > 
> > >> On 18.9.2013, at 14:14, Suvayu Ali <fatkasuvayu+linux@gmail.com> wrote:
> > >> ...
> > >>> I think that is expected.  The bug is in the desktop specific open
> > >>> commands.  Since you use none, generic open is used.  That is simply a
> > >>> shell function, and does the right thing.
> > >> 
> > >> Is there a generic open command in Linux?  Why don't we use this instead?
> > >> 
> > > 
> > > Not really. There is a shell function called open_generic inside of
> > > xdg-open. I believe that's what Suvayu was referring to. But there is
> > > no clean way of calling it, short of pulling it out of the xdg-open
> > > script into a new script: as a general solution, that's hopeless.
> > 
> > All right.  Too bad.  Thank you.
> 
> Nick said it accurately.  It is part of the xdg-open script.

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

I tested this with

  (start-process-shell-command "DE=generic xdg-open test.html"
                               nil "DE=generic xdg-open test.html")

and it works well.  Do you think this is acceptable?

Cheers,


Footnotes:

[1] <https://bugzilla.redhat.com/show_bug.cgi?id=653249#c20>

-- 
Suvayu

Open source is the future. It sets us free.

  reply	other threads:[~2013-09-19 14:26 UTC|newest]

Thread overview: 75+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-06-13 13:28 bug#14605: Problem with export an .org file to .pdf does not open pdf file Petr Hracek
2013-06-25 11:07 ` Petr Hracek
2013-06-25 11:07 ` Petr Hracek
2013-08-13 13:14   ` Petr Hracek
2013-08-17 12:31     ` Bastien
2013-08-17 12:31     ` Bastien
2013-09-02  5:35     ` bug#14605: " Carsten Dominik
2013-09-02  5:35     ` bug#14605: [O] " Carsten Dominik
2013-09-02  8:34       ` Jambunathan K
2013-09-02  8:44         ` Carsten Dominik
2013-09-02  9:40           ` Jambunathan K
2013-09-02  9:40           ` bug#14605: " Jambunathan K
2013-09-02  9:47           ` bug#14605: [O] " Suvayu Ali
2013-09-02 10:12             ` bug#14605: " Jambunathan K
2013-09-02 10:12             ` Jambunathan K
2013-09-02 10:12             ` bug#14605: [O] " Jambunathan K
2013-09-03 13:35               ` bug#14605: " Suvayu Ali
2013-09-03 13:35               ` bug#14605: [O] " Suvayu Ali
2013-09-02  9:47           ` Suvayu Ali
2013-09-02  9:55             ` bug#14605: [O] bug#14605: " Carsten Dominik
2013-09-02  9:55             ` bug#14605: " Carsten Dominik
2013-09-02 10:08             ` Carsten Dominik
2013-09-02 16:54               ` Achim Gratz
2013-09-02 19:05                 ` Jambunathan K
2013-09-03 17:14                   ` Achim Gratz
2013-09-02 20:54                 ` Carsten Dominik
2013-09-02 23:27                   ` Suvayu Ali
2013-09-03  7:52                   ` Carsten Dominik
2013-09-03  8:44                     ` Suvayu Ali
2013-09-03  9:12                   ` Achim Gratz
2013-09-03  9:57                     ` Carsten Dominik
2013-09-17  4:42                     ` Matt Price
2013-09-17  6:01                       ` Matt Price
2013-09-17  7:16                         ` Carsten Dominik
2013-09-17  8:04                           ` Glyn Millington
2013-09-17 13:56                             ` Suvayu Ali
2013-09-17 19:34                               ` Carsten Dominik
2013-09-17 19:42                                 ` Suvayu Ali
2013-09-17 19:53                                   ` Carsten Dominik
2013-09-17 20:21                                   ` Suvayu Ali
2013-09-17 20:31                                     ` Carsten Dominik
2013-09-17 21:25                                       ` Suvayu Ali
2013-09-17 21:34                                         ` Glyn Millington
2013-09-17 22:10                                         ` Matt Price
2013-09-18  6:51                                           ` Suvayu Ali
2013-09-18  6:53                                             ` Carsten Dominik
2013-09-18  8:28                                             ` Glyn Millington
2013-09-18  9:07                                         ` Eric S Fraga
2013-09-18 12:14                                           ` Suvayu Ali
2013-09-19  2:25                                             ` Carsten Dominik
2013-09-19  4:34                                               ` Nick Dokos
2013-09-19  6:24                                                 ` Carsten Dominik
2013-09-19  6:36                                                   ` Suvayu Ali
2013-09-19 14:25                                                     ` Suvayu Ali [this message]
2013-09-20 10:49                                                       ` Carsten Dominik
2013-09-20 11:07                                                         ` Suvayu Ali
2013-09-20 12:29                                                           ` Carsten Dominik
2013-09-20 13:14                                                             ` Suvayu Ali
     [not found]                                                               ` <CAN_Dec9q-DOpDvkDtvv85gHUQQxZ1NYWZ-OTBcYufrRXr4UCRQ@mail.gmail.com>
2013-09-20 22:35                                                                 ` Matt Price
2013-09-22  8:49                                                                   ` Suvayu Ali
2013-09-22  9:19                                                                     ` Carsten Dominik
2013-09-17 21:25                                 ` Glyn Millington
2013-09-17 22:11                                   ` Matt Price
2013-09-18  5:21                                     ` Glyn Millington
2013-09-17  6:34                       ` Matt Price
2013-09-02 10:08             ` bug#14605: [O] bug#14605: bug#14605: " Carsten Dominik
2013-09-02 10:20               ` Jambunathan K
2013-09-02 10:20               ` bug#14605: " Jambunathan K
2013-09-02 16:22               ` bug#14605: " Torsten Wagner
2013-09-02 16:22               ` bug#14605: [O] " Torsten Wagner
2013-09-03  4:59               ` Jambunathan K
2013-09-03  4:59               ` Jambunathan K
2013-09-02  8:44         ` bug#14605: " Carsten Dominik
2013-09-02  8:34       ` Jambunathan K
2013-08-13 13:14   ` Petr Hracek

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20130919142548.GD16381@kuru.dyndns-at-home.com \
    --to=fatkasuvayu+linux@gmail.com \
    --cc=carsten.dominik@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=ndokos@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.