* launching appropriate application from file link in org file
@ 2011-11-14 21:08 Marc Croteau
2011-11-15 0:32 ` Jonathan Leech-Pepin
0 siblings, 1 reply; 2+ messages in thread
From: Marc Croteau @ 2011-11-14 21:08 UTC (permalink / raw)
To: emacs-orgmode
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
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: launching appropriate application from file link in org file
2011-11-14 21:08 launching appropriate application from file link in org file Marc Croteau
@ 2011-11-15 0:32 ` Jonathan Leech-Pepin
0 siblings, 0 replies; 2+ messages in thread
From: Jonathan Leech-Pepin @ 2011-11-15 0:32 UTC (permalink / raw)
To: Marc Croteau; +Cc: emacs-orgmode
[-- 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 --]
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2011-11-15 0:33 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-11-14 21:08 launching appropriate application from file link in org file Marc Croteau
2011-11-15 0:32 ` Jonathan Leech-Pepin
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).