From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/83244 Path: news.gmane.org!not-for-mail From: Mica Semrick Newsgroups: gmane.comp.tex.context Subject: Re: Overriding pdfview Date: Thu, 27 Jun 2013 08:44:39 -0700 Message-ID: References: <51CAF274.9050503@meahan.net> <51CB0614.5030208@meahan.net> <51CB4133.7060707@wxs.nl> <20130626205005.GA22202@phlegethon> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1255724749==" X-Trace: ger.gmane.org 1372347898 15826 80.91.229.3 (27 Jun 2013 15:44:58 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 27 Jun 2013 15:44:58 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Thu Jun 27 17:44:59 2013 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from balder.ntg.nl ([195.12.62.10]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1UsENV-00064X-T3 for gctc-ntg-context-518@m.gmane.org; Thu, 27 Jun 2013 17:44:58 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id D44F2101FA; Thu, 27 Jun 2013 17:44:56 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id LA6EqN6bYotX; Thu, 27 Jun 2013 17:44:54 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [IPv6:::1]) by balder.ntg.nl (Postfix) with ESMTP id A7082101E9; Thu, 27 Jun 2013 17:44:54 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 4F60A101E9 for ; Thu, 27 Jun 2013 17:44:53 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id CeyPuTSMWnwH for ; Thu, 27 Jun 2013 17:44:51 +0200 (CEST) Original-Received: from filter2-til.mf.surf.net (filter2-til.mf.surf.net [194.171.167.218]) by balder.ntg.nl (Postfix) with ESMTP id 2D9EE101E4 for ; Thu, 27 Jun 2013 17:44:41 +0200 (CEST) Original-Received: from mail-we0-x22d.google.com (mail-we0-x22d.google.com [IPv6:2a00:1450:400c:c03::22d]) by filter2-til.mf.surf.net (8.14.3/8.14.3/Debian-9.4) with ESMTP id r5RFieUm024553 for ; Thu, 27 Jun 2013 17:44:40 +0200 Original-Received: by mail-we0-f173.google.com with SMTP id x54so715789wes.32 for ; Thu, 27 Jun 2013 08:44:40 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=8C4zCkRY/RCLucEutbdjfdhWbm18df8V4tgfGMD9af4=; b=B0eU9tr9lDyOymq/NTqQ9gukBzvNSn0ReRj4N7Sb2X1HhPQfc9JQ8uLfhX9alSaSUp 6//aHrYWQzg6Ugaqa9nMdP6h4QoUc2mOCh75dM3BWtlJM5GPKJMZCH+O51NvSj76SMga 289EQEbn3GbC24eR9y9SMQIeMLoloTqsejlhtNeAvuFQ0KPzBKuEJzsuMO50az33caqv SRvWWIvXqBVpwQ5uTgdsWWTQbtUd49J6ru3a1ZMi9qgb++Un8gjkOLpNKKs9SeQ3v8Jd wj34K7iU9aXAgMgABr5CVf45XbOdQUDbnKyt4l0y/+uatyhkehV92xhH7ynZSqcktzQt I0qA== X-Received: by 10.180.211.233 with SMTP id nf9mr6418517wic.41.1372347880090; Thu, 27 Jun 2013 08:44:40 -0700 (PDT) Original-Received: by 10.194.235.198 with HTTP; Thu, 27 Jun 2013 08:44:39 -0700 (PDT) In-Reply-To: X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=2a00:1450:400c:c03::22d; country=IE X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 0TJRrIEsk - 63224b94aa9f - 20130627 (trained as not-spam) X-Scanned-By: CanIt (www . roaringpenguin . com) X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.14 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: ntg-context-bounces@ntg.nl Original-Sender: ntg-context-bounces@ntg.nl Xref: news.gmane.org gmane.comp.tex.context:83244 Archived-At: --===============1255724749== Content-Type: multipart/alternative; boundary=001a11c338d0e6b32304e024a333 --001a11c338d0e6b32304e024a333 Content-Type: text/plain; charset=ISO-8859-1 > On Linux, there separate programmes for KDE, new gnome and old gnome, and desktop-agnostic: kde-open myfile.pdf || gvfs-open myfile.pdf || gnome-open myfile.pdf || xdg-open myfile.pdf On my linux mint/debian boxes, xdg-open works fine across MATE, XFCE, and KDE. On Thu, Jun 27, 2013 at 8:15 AM, Sietse Brouwer wrote: > Instead of choosing our own default PDF viewer, we should probably > invoke the user's default PDF viewer. Every OS has a command-line > program to open a file with the system default program: > > On OS X: > open myfile.pdf > > On Windows: > start myfile.pdf > > On Linux, there separate programmes for KDE, new gnome and old gnome, > and desktop-agnostic: > kde-open myfile.pdf || gvfs-open myfile.pdf || gnome-open myfile.pdf > || xdg-open myfile.pdf > > Cheers, > Sietse > > ___________________________________________________________________________________ > If your question is of interest to others as well, please add an entry to > the Wiki! > > maillist : ntg-context@ntg.nl / > http://www.ntg.nl/mailman/listinfo/ntg-context > webpage : http://www.pragma-ade.nl / http://tex.aanhet.net > archive : http://foundry.supelec.fr/projects/contextrev/ > wiki : http://contextgarden.net > > ___________________________________________________________________________________ > --001a11c338d0e6b32304e024a333 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable
>=A0On Linux, there separate programmes for KDE, new gnome and ol= d gnome,
and desktop-agnostic:
kde-open myfile= .pdf || gvfs-open myfile.pdf || gnome-open myfile.pdf
|| xdg-open myfile.pdf

On my linux mint/debian boxes, xdg-open works fine across MATE, X= FCE, and KDE.


On Thu, Jun 27, 2013 at 8:15 AM, Sietse Brouwer <= ;sbbrouwer@gmail.c= om> wrote:
Instead of choosing our own default PDF view= er, we should probably
invoke the user's default PDF viewer. Every OS has a command-line
program to open a file with the system default program:

On OS X:
open myfile.pdf

On Windows:
start myfile.pdf

On Linux, there separate programmes for KDE, new gnome and old gnome,
and desktop-agnostic:
kde-open myfile.pdf || gvfs-open myfile.pdf || gnome-open myfile.pdf
|| xdg-open myfile.pdf

Cheers,
Sietse
___________________________________= ________________________________________________
If your question is of interest to others as well, please add an entry to t= he Wiki!

maillist : ntg-context@ntg.nl / <= a href=3D"http://www.ntg.nl/mailman/listinfo/ntg-context" target=3D"_blank"= >http://www.ntg.nl/mailman/listinfo/ntg-context
webpage =A0: http://= www.pragma-ade.nl / http://tex.aanhet.net
archive =A0: http://foundry.supelec.fr/projects/contextrev/
wiki =A0 =A0 : http:= //contextgarden.net
___________________________________________________________________________= ________

--001a11c338d0e6b32304e024a333-- --===============1255724749== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline ___________________________________________________________________________________ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________ --===============1255724749==--