Re: Funny action on "opening" a pdf document
- From: Theodore Kilgore <kilgota banach math auburn edu>
- To: Piotr Ozarowski <ozarow gmail com>
- Cc: mc gnome org
- Subject: Re: Funny action on "opening" a pdf document
- Date: Fri, 18 Jan 2013 11:11:10 -0600 (CST)
On Fri, 18 Jan 2013, Piotr Ozarowski wrote:
[Theodore Kilgore, 2013-01-18]
"xdg-open opens a file or URL in the user's preferred application"
explicitly mentioning "a file or a url" and then it says
"If a file is provided the file will be opened in the preferred
application for files of that type." These words would indicate that it is
going to open a file by doing something to the file, not by doing the
extraneous act of starting a web browser.
do you have something like:
application/pdf; xpdf '%s'; prioryty=1; test=test -n "$DISPLAY"
in ~/.mailcap or /etc/mailcap?
No I did not.
If not, can you add it to ~/.mailcap and check
xdg-open again?
You can also add to ~/.mime.types:
I have no such file
application/pdf pdf
(didn't try adding any .mime.types file. Are you sure it isn't "xpdf" at
the end?)
if /etc/mime.types doesn't have it.
No such file in /etc, either. The man page says it has something to do
with cups. I do have a networked printer at the office, and I do have cups
installed, and it sends things to the printer all the same. Thus so far I
have not been missing this file.
No help from adding the line to .mailcap.
Theodore Kilgore
--
Piotr O?arowski Debian GNU/Linux Developer
www.ozarowski.pl www.griffith.cc www.debian.org
GPG Fingerprint: 1D2F A898 58DA AF62 1786 2DF7 AEF6 F1A2 A745 7645
_______________________________________________
mc mailing list
https://mail.gnome.org/mailman/listinfo/mc
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]