From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/83243 Path: news.gmane.org!not-for-mail From: Sietse Brouwer Newsgroups: gmane.comp.tex.context Subject: Re: Overriding pdfview Date: Thu, 27 Jun 2013 17:15:08 +0200 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: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1372346160 27520 80.91.229.3 (27 Jun 2013 15:16:00 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 27 Jun 2013 15:16:00 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Thu Jun 27 17:16:00 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 1UsDvS-0003Lz-A4 for gctc-ntg-context-518@m.gmane.org; Thu, 27 Jun 2013 17:15:58 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 671A0101F8; Thu, 27 Jun 2013 17:15: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 kJYJ0xMvMY2y; Thu, 27 Jun 2013 17:15:55 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [IPv6:::1]) by balder.ntg.nl (Postfix) with ESMTP id 13865101E9; Thu, 27 Jun 2013 17:15:55 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 277C2101E9 for ; Thu, 27 Jun 2013 17:15:54 +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 SltJ6vQwzXLu for ; Thu, 27 Jun 2013 17:15:49 +0200 (CEST) Original-Received: from filter3-ams.mf.surf.net (filter3-ams.mf.surf.net [192.87.102.71]) by balder.ntg.nl (Postfix) with ESMTP id 8C20B101E4 for ; Thu, 27 Jun 2013 17:15:39 +0200 (CEST) Original-Received: from mail-ee0-x235.google.com (mail-ee0-x235.google.com [IPv6:2a00:1450:4013:c00::235]) by filter3-ams.mf.surf.net (8.14.3/8.14.3/Debian-9.4) with ESMTP id r5RFFc7i031125 for ; Thu, 27 Jun 2013 17:15:38 +0200 Original-Received: by mail-ee0-f53.google.com with SMTP id c41so477548eek.12 for ; Thu, 27 Jun 2013 08:15:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type; bh=vixlF418Fbcr8OZRZAqs1pj6AeGJHoN9h9fZYFB4F/Y=; b=hNxMmHRLxZP3pkgXzLBdfoRfK0+cXZt8aABASPjoC6ruF1q731bcSB4leBenhRDPMX kIRnvnRqwaDlboQmRIIT/J8SLALVFDtFvAjrSTOFyo5YJCbWWhMlSJ29obiL7brX0kJt k0mk+PoBwelKLxhCdf8l83gQ1cT+XWZ/gGBI5AAoCT7vmH/jKOCc/M0RGeVjfG3TG/NU KMzD96t4haZ2k84UE8pwRLBkIY/cjMr4V9gvq28wZGePRvKYKk/qSdtFEkapG7cIn7qC Ipwgex9HjQ4tldY8uTPEOcpZJda2n6xrpHQLodjbXLxAfCguhRZiJQwoO/TwkXcJoiwM noBQ== X-Received: by 10.15.21.199 with SMTP id d47mr9444989eeu.36.1372346138664; Thu, 27 Jun 2013 08:15:38 -0700 (PDT) Original-Received: by 10.14.85.143 with HTTP; Thu, 27 Jun 2013 08:15:08 -0700 (PDT) In-Reply-To: <20130626205005.GA22202@phlegethon> X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=2a00:1450:4013:c00::235; country=IE X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 03JRrfC2F - b5cb1684596b - 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:83243 Archived-At: 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 ___________________________________________________________________________________