From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 38689 invoked by alias); 30 Oct 2017 18:59:49 -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 38681 invoked by uid 89); 30 Oct 2017 18:59:49 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-10.9 required=5.0 tests=AWL,BAYES_00,GIT_PATCH_2,GIT_PATCH_3,KAM_LAZY_DOMAIN_SECURITY,RCVD_IN_DNSWL_LOW autolearn=ham version=3.3.2 spammy=exporting, apps, calgary, H*F:D*ab.ca X-HELO: smtp-out-no.shaw.ca Received: from smtp-out-no.shaw.ca (HELO smtp-out-no.shaw.ca) (64.59.134.12) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Mon, 30 Oct 2017 18:59:47 +0000 Received: from [192.168.1.100] ([24.64.240.204]) by shaw.ca with SMTP id 9FHjeuBnqM9gt9FHkeenb9; Mon, 30 Oct 2017 12:59:44 -0600 X-Authority-Analysis: v=2.2 cv=a+JAzQaF c=1 sm=1 tr=0 a=MVEHjbUiAHxQW0jfcDq5EA==:117 a=MVEHjbUiAHxQW0jfcDq5EA==:17 a=N659UExz7-8A:10 a=e5mUnYsNAAAA:8 a=wddkAKMqBPtPDVitltsA:9 a=pILNOxqGKmIA:10 a=OALi9x9uU3UA:10 a=Vxmtnl_E_bksehYqCbjh:22 Reply-To: Brian.Inglis@SystematicSw.ab.ca 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: Brian Inglis Message-ID: <2242248d-06f2-0341-f6c2-6889ed184c7a@SystematicSw.ab.ca> Date: Mon, 30 Oct 2017 18:59: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 Content-Transfer-Encoding: 8bit X-CMAE-Envelope: MS4wfAZGyGxkEUCWIBHfQh7pK8HPp6146Qog9ZG/kKz4rtVj9Cf9pUW3Y6pgMj9wjnEIfadKSYRczQSRqhz6veuvGRBUmfhf6TwRwaGKZGJheWB4T/OFX9A9 y7hy1ZVUXLcuDMFQB7fNwn39kB+Pxf+fP7igmBkYcNtvCPgb+1iEnjREQT94QZGpxhhLIWrw22JzNQ== X-IsSubscribed: yes X-SW-Source: 2017-10/txt/msg00372.txt.bz2 On 2017-10-28 13:55, Ken Brown wrote: > 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. It's part of the desktop environment support, even if that is only dwm, so I don't think you can eliminate the message, except by exporting XDG_RUNTIME_DIR=/run/user/`id -u` or equivalent for it to use; you may have to create it. -- Take care. Thanks, Brian Inglis, Calgary, Alberta, Canada -- 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