From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 4755 invoked by alias); 22 Feb 2016 21:51:39 -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 4746 invoked by uid 89); 22 Feb 2016 21:51:38 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-0.0 required=5.0 tests=BAYES_40,RP_MATCHES_RCVD,SPF_HELO_PASS,SPF_PASS autolearn=ham version=3.3.2 spammy=freshly, $FILEINCLUDED, FILEINCLUDED, fileincluded X-HELO: limerock02.mail.cornell.edu Received: from limerock02.mail.cornell.edu (HELO limerock02.mail.cornell.edu) (128.84.13.242) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Mon, 22 Feb 2016 21:51:37 +0000 X-CornellRouted: This message has been Routed already. Received: from authusersmtp.mail.cornell.edu (granite4.serverfarm.cornell.edu [10.16.197.9]) by limerock02.mail.cornell.edu (8.14.4/8.14.4_cu) with ESMTP id u1MLpZSu022694 for ; Mon, 22 Feb 2016 16:51:35 -0500 Received: from [10.128.131.81] (dhcp-gs-849.eduroam.cornell.edu [10.128.131.81]) (authenticated bits=0) by authusersmtp.mail.cornell.edu (8.14.4/8.12.10) with ESMTP id u1MLpYcB000308 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128 verify=NOT) for ; Mon, 22 Feb 2016 16:51:35 -0500 Subject: Re: XWin won't run xterm on start To: cygwin@cygwin.com References: <1456090085.415814.30486.4659@mail.rambler.ru> <56CA468C.2010809@cs.umass.edu> <56CB73C2.6010008@ro.ru> From: Ken Brown Message-ID: <56CB82F2.3070506@cornell.edu> Date: Mon, 22 Feb 2016 21:51:00 -0000 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.6.0 MIME-Version: 1.0 In-Reply-To: <56CB73C2.6010008@ro.ru> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-IsSubscribed: yes X-SW-Source: 2016-02/txt/msg00358.txt.bz2 On 2/22/2016 3:46 PM, Jaakov wrote: >> Ah, perhaps. There may be ways to catch that, but it may be easier >> for the >> OP to copy the startxwinrc file's contents. Not the best for >> responding to >> future changes ... > > One way to prevent recursion is > > if [[ "$FILEINCLUDED" != "1" ]]; > then > export FILEINCLUDED=1 > ... # do real job here > fi > > However, placing this either into the systemwide startxwinrc or into the > local .startxwinrc would not do anything useful. > > The right thing to do would be to append a call to > $HOME/.startxwinrc_final (this name is freshly invented, feel free to > change) at the end of the systemwide startxwinrc. An alternative would > be to call $HOME/.startxwinrc_final from the same place from where the > systemwide startxwinrc is called; namely right after it. > > Anyone feeling of doing this? There's no need for this complexity. If you don't like what the system startxwinrc does, just copy it to ~/.startxwinrc and modify it to suit your purposes. 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