delorie.com/archives/browse.cgi | search |
X-Recipient: | archive-cygwin AT delorie DOT com |
DomainKey-Signature: | a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id |
:list-unsubscribe:list-subscribe:list-archive:list-post | |
:list-help:sender:reply-to:subject:to:references:from:message-id | |
:date:mime-version:in-reply-to:content-type | |
:content-transfer-encoding; q=dns; s=default; b=XFIhcB0dqrdtlHBy | |
bWHQQLpIUUJz7+Wi7mThpmaWzP1Bp4Fht0Is2OiNUwtNv4CYxEOTPq7dObF/2YFx | |
dbKHK2TT8XzJyKDKoxg/M6pEn1GrKzuJ9LRzDcKl5iJU2tcrNU55cJqTi06rfwF4 | |
3zcI5K4aIihoXd0OopKfrVSJLjk= | |
DKIM-Signature: | v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id |
:list-unsubscribe:list-subscribe:list-archive:list-post | |
:list-help:sender:reply-to:subject:to:references:from:message-id | |
:date:mime-version:in-reply-to:content-type | |
:content-transfer-encoding; s=default; bh=A+7m428Sbw6pwdffiEUpmt | |
/1AoQ=; b=Cff22/PMgsE+1slAQhPgvMWNxd0sEVZfDyC7aGyJTYtHMccAHzqZ55 | |
1JLeNECd8Xo7n26sWVJjshIn8jb+wdV8aRJZ9/ZYVQ2T4uBkTujmEB6XHi6a6yUi | |
LfYXGirsuQeCQ0TLPRZ347vgL/dl9qXfmbVnVr8k6hCWtawBsJtdc= | |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
List-Id: | <cygwin.cygwin.com> |
List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
List-Archive: | <http://sourceware.org/ml/cygwin/> |
List-Post: | <mailto:cygwin AT cygwin DOT com> |
List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs> |
Sender: | cygwin-owner AT cygwin DOT com |
Mail-Followup-To: | cygwin AT cygwin DOT com |
Delivered-To: | mailing list cygwin AT cygwin DOT com |
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=MUST, reboot, MAY, his |
X-HELO: | smtp-out-no.shaw.ca |
X-Authority-Analysis: | v=2.2 cv=HahkdmM8 c=1 sm=1 tr=0 a=MVEHjbUiAHxQW0jfcDq5EA==:117 a=MVEHjbUiAHxQW0jfcDq5EA==:17 a=N659UExz7-8A:10 a=e5mUnYsNAAAA:8 a=ito8FzffiLLC-Y3GcRUA:9 a=pILNOxqGKmIA:10 a=OALi9x9uU3UA:10 a=Vxmtnl_E_bksehYqCbjh:22 |
Reply-To: | Brian DOT Inglis AT SystematicSw DOT ab DOT ca |
Subject: | Re: [PATCH xpdf] Add desktop menu entry |
To: | cygwin AT cygwin DOT com |
References: | <20171027210030 DOT 12220-1-yselkowi AT redhat DOT com> <208276e9-a108-4936-6b64-6e1fec01e40e AT cornell DOT edu> |
From: | Brian Inglis <Brian DOT Inglis AT SystematicSw DOT ab DOT ca> |
Message-ID: | <fe4a3241-1808-2d5d-7b13-2081acf82a59@SystematicSw.ab.ca> |
Date: | Sat, 28 Oct 2017 13:26:32 -0600 |
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: | <208276e9-a108-4936-6b64-6e1fec01e40e@cornell.edu> |
X-CMAE-Envelope: | MS4wfCQGFTOdtnJ60L424Lz2etZjSvflopbSv9FP/HmZsRdJ+4m9vOeK1zW5eVNTofTlvyVF9C5cAnvLyYP7WfAzzdIvUtPctBMITTV/bYCjuvkUKQfxhUbs 7wuPHd96pf3kloJStd1ZyfEvfmlnnwrXKjvnHBp6fzUd1X9ZeFnka2tYMSWJv289k/jZqxNyYndK3g== |
X-IsSubscribed: | yes |
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: "$XDG_RUNTIME_DIR defines the base directory relative to which user-specific non-essential runtime files and other file objects (such as sockets, named pipes, ...) should be stored. The directory MUST be owned by the user, and he MUST be the only one having read and write access to it. Its Unix access mode MUST be 0700. The lifetime of the directory MUST be bound to the user being logged in. It MUST be created when the user first logs in and if the user fully logs out the directory MUST be removed. If the user logs in more than once he should get pointed to the same directory, and it is mandatory that the directory continues to exist from his first login to his last logout on the system, and not removed in between. Files in the directory MUST not survive reboot or a full logout/login cycle. The directory MUST be on a local file system and not shared with any other system. The directory MUST by fully-featured by the standards of the operating system. More specifically, on Unix-like operating systems AF_UNIX sockets, symbolic links, hard links, proper permissions, file locking, sparse files, memory mapping, file change notifications, a reliable hard link count must be supported, and no restrictions on the file name character set should be imposed. Files in this directory MAY be subjected to periodic clean-up. To ensure that your files are not removed, they should have their access time timestamp modified at least once every 6 hours of monotonic time or the 'sticky' bit should be set on the file. If $XDG_RUNTIME_DIR is not set applications should fall back to a replacement directory with similar capabilities and print a warning message. Applications should use this directory for communication and synchronization purposes and should not place larger files in it, since it might reside in runtime memory and cannot necessarily be swapped out to disk." -- 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
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |