emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Matt Price <moptop99@gmail.com>
To: Org Mode <emacs-orgmode@gnu.org>
Subject: org-file-apps settings?
Date: Thu, 15 Sep 2016 09:27:02 -0400	[thread overview]
Message-ID: <CAN_Dec-dcufy8CXrQk=xn35fY4_pa_-0ogtRFyHqqWGLoTPeEw@mail.gmail.com> (raw)

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

hi Everyone,
I have been through this a million times, but I never seem to remember, and
have a hard time finding the answer online or in my archives.

On a Linux system, how should I set org-file-apps to allow org to open odt
files in libreoffice, html files in Firefox, and pdf files in evince
(especially in export-and-open commands)?

I have tried a couple of htings; this is what C-h v org-file-apps currently
says:

Its value is ((remote . emacs) (system . mailcap) (t . mailcap))
Original value was
((auto-mode . emacs)
 ("\\.mm\\'" . default)
 ("\\.x?html?\\'" . default)
 ("\\.pdf\\'" . default))

There's no /etc/mailcap on my mahcine (?), and .mailcap reads:

*/*; xdg-open "%s"


Running `xdg-open file.odt` from a terminal will open the file in
libreoffice, but exporting to odt and opening with C-c C-e o O opens the
file in emacs.  What should I try next? Thank you!
m

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

             reply	other threads:[~2016-09-15 13:27 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-09-15 13:27 Matt Price [this message]
2016-09-15 17:18 ` org-file-apps settings? Adam Porter
2016-09-16  8:16 ` Colin Baxter
2016-09-16 11:46   ` Matt Price
2016-09-17 15:30     ` Adam Porter

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='CAN_Dec-dcufy8CXrQk=xn35fY4_pa_-0ogtRFyHqqWGLoTPeEw@mail.gmail.com' \
    --to=moptop99@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    /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).