From: Rusi <rustompmody@gmail.com>
To: help-gnu-emacs@gnu.org
Subject: Re: Set emacs as pdf viewer?
Date: Thu, 5 Feb 2015 17:50:08 -0800 (PST) [thread overview]
Message-ID: <10f6ac9a-42a6-44ee-8eee-3b42f3c5d533@googlegroups.com> (raw)
In-Reply-To: <mailman.19358.1423169207.1147.help-gnu-emacs@gnu.org>
On Friday, February 6, 2015 at 2:16:50 AM UTC+5:30, Tory S. Anderson wrote:
> It feels silly to ask this but I've been using Okular to view all my pdfs for so long that I don't know how to switch to using emacs (now that we have the excellent PDF-Tools package), in particular with Auctex. I use the following to allow okular, but without it the PDF just opens in some hideous no-name application.
>
> (setq browse-pdf-generic-program (executable-find "okular"))
>
> How do I make emacs my default PDF viewer for Auctex?
As it happens I just discovered this yesterday, though it will depend on desktop
(kde/gnome/ etc) I use xfce.
For a long time for certain types of files (certain mime types), instead of starting some editor (let alone emacs) it would start wine and call notepad!
The official app for that is xdg-open -- which I found completely impenetrable.
Yesterday I found that xfce uses exo-open which is linked to xfce4-mime-settings
Your desktop will have something similar
next parent reply other threads:[~2015-02-06 1:50 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <mailman.19358.1423169207.1147.help-gnu-emacs@gnu.org>
2015-02-06 1:50 ` Rusi [this message]
2015-02-06 3:05 ` Set emacs as pdf viewer? Robert Thorpe
2015-02-05 20:46 Tory S. Anderson
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=10f6ac9a-42a6-44ee-8eee-3b42f3c5d533@googlegroups.com \
--to=rustompmody@gmail.com \
--cc=help-gnu-emacs@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 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.