emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Jonathan Leech-Pepin <jonathan.leechpepin@gmail.com>
To: Marc Croteau <mdcroteau@gmail.com>
Cc: emacs-orgmode@gnu.org
Subject: Re: launching appropriate application from file link in org file
Date: Mon, 14 Nov 2011 19:32:59 -0500	[thread overview]
Message-ID: <CAHRqSkSKgi_z7pZQEpBnbnTDq1bs6J3B3rsieAPckttfO+VKjQ@mail.gmail.com> (raw)
In-Reply-To: <4EC18334.1000506@gmail.com>

[-- Attachment #1: Type: text/plain, Size: 1096 bytes --]

Assuming your keePass file has an appropriate file extension you should be
able to have it open automatically by customizing:
M-x customize-variable <ret> org-file-apps <ret>
and adding the file extension to the list of types (either with default or
by specifying exactly which application to use for the attachment.

Regards,

On Mon, Nov 14, 2011 at 16:08, Marc Croteau <mdcroteau@gmail.com> wrote:

> Hello,
>
> Hope someone can help.
> I have made a link to a file in my org file,
> Many links call the appropriate application (for example, a link to a
> '.odt' launches the oowriter application.
> For one specific file, a keePass file, Emac org simply tries to open its
> in fundamental mode (and it appears as a binary file).
> I am able to launch correctly the file from the dired.  Note, however,
> that I have added code to my init.el to use gnome to launch the file.
> My question:  can I somehow tell org-mode about how I want files of this
> type to be opened should I double-click them.
>
> Hope my question is clear enough.
>
> Thank you in advance.
> Marc Croteau
> Toronto
>
>
>

[-- Attachment #2: Type: text/html, Size: 1508 bytes --]

      reply	other threads:[~2011-11-15  0:33 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-11-14 21:08 launching appropriate application from file link in org file Marc Croteau
2011-11-15  0:32 ` Jonathan Leech-Pepin [this message]

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

  List information: https://www.orgmode.org/

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

  git send-email \
    --in-reply-to=CAHRqSkSKgi_z7pZQEpBnbnTDq1bs6J3B3rsieAPckttfO+VKjQ@mail.gmail.com \
    --to=jonathan.leechpepin@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=mdcroteau@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 public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).