From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 28359 invoked by alias); 28 Oct 2017 19:55:44 -0000 Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com Received: (qmail 28351 invoked by uid 89); 28 Oct 2017 19:55:43 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-12.2 required=5.0 tests=AWL,BAYES_00,GIT_PATCH_2,GIT_PATCH_3,RP_MATCHES_RCVD,SPF_HELO_PASS,SPF_PASS autolearn=ham version=3.3.2 spammy=Hx-languages-length:1448, HContent-Transfer-Encoding:8bit X-HELO: limerock04.mail.cornell.edu Received: from limerock04.mail.cornell.edu (HELO limerock04.mail.cornell.edu) (128.84.13.244) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Sat, 28 Oct 2017 19:55:42 +0000 X-CornellRouted: This message has been Routed already. Received: from authusersmtp.mail.cornell.edu (granite4.serverfarm.cornell.edu [10.16.197.9]) by limerock04.mail.cornell.edu (8.14.4/8.14.4_cu) with ESMTP id v9SJteSe002186 for ; Sat, 28 Oct 2017 15:55:40 -0400 Received: from [10.13.22.3] (65-112-130-194.dia.static.qwest.net [65.112.130.194]) (authenticated bits=0) by authusersmtp.mail.cornell.edu (8.14.4/8.12.10) with ESMTP id v9SJtcBW013336 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128 verify=NOT) for ; Sat, 28 Oct 2017 15:55:39 -0400 Subject: Re: [PATCH xpdf] Add desktop menu entry To: cygwin@cygwin.com References: <20171027210030.12220-1-yselkowi@redhat.com> <208276e9-a108-4936-6b64-6e1fec01e40e@cornell.edu> From: Ken Brown Message-ID: Date: Sat, 28 Oct 2017 19:55:00 -0000 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.4.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 8bit X-PMX-Cornell-Gauge: Gauge=X X-PMX-CORNELL-AUTH-RESULTS: dkim-out=none; X-IsSubscribed: yes X-SW-Source: 2017-10/txt/msg00361.txt.bz2 On 10/28/2017 3:26 PM, Brian Inglis wrote: > On 2017-10-28 12:00, Ken Brown wrote: >> On 10/27/2017 5:00 PM, Yaakov Selkowitz wrote: >>> --- >>>   xpdf.cygport | 4 ++++ >>>   1 file changed, 4 insertions(+) >> >> After making this change I get the following warning when starting xpdf in an >> xterm window: >> >> QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/tmp/runtime-kbrown' >> >> I googled the message, but none of the solutions appeared to apply.  Do you know >> how to suppress this warning?  I assume it results from the fact that I'm not >> working in a desktop environment. > > Normally set to /run/user/$(id -u)/, sometimes .../$(id -un)/, created by first > app after login. > I have a postinstall script to create /run/{,blkid,lock,user}/ directories with > mode a+rwxt, remove /var/{run,lock} directories and create symlinks from those > to /run/{,lock}/, to provide a more normal Unix/Linux environment for ported apps. > > From https://standards.freedesktop.org/basedir-spec/basedir-spec-latest.html: [...] Thanks for all the information, Brian, but I think you misunderstood the context of my question. I'm the maintainer of xpdf, and Yaakov suggested a modification to my .cygport file. This results in a warning (presumably when xpdf is not run under a desktop environment). I'm simply asking if there's an easy way to suppress the warning so that users aren't annoyed by it. Ken -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple