From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 11826 invoked by alias); 27 Sep 2011 16:58:49 -0000 Received: (qmail 11816 invoked by uid 22791); 27 Sep 2011 16:58:47 -0000 X-SWARE-Spam-Status: No, hits=-2.4 required=5.0 tests=BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,RCVD_IN_DNSWL_NONE,RP_MATCHES_RCVD,TW_RX,TW_XR X-Spam-Check-By: sourceware.org Received: from b-pb-sasl-quonix.pobox.com (HELO smtp.pobox.com) (208.72.237.35) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Tue, 27 Sep 2011 16:58:11 +0000 Received: from smtp.pobox.com (unknown [127.0.0.1]) by b-sasl-quonix.pobox.com (Postfix) with ESMTP id E1D5048D9; Tue, 27 Sep 2011 12:58:08 -0400 (EDT) Received: from b-pb-sasl-quonix.pobox.com (unknown [127.0.0.1]) by b-sasl-quonix.pobox.com (Postfix) with ESMTP id D982E48D8; Tue, 27 Sep 2011 12:58:08 -0400 (EDT) Received: from tlrPanP5.pobox.com (unknown [71.70.187.46]) by b-sasl-quonix.pobox.com (Postfix) with ESMTPA id 6FA4248D7; Tue, 27 Sep 2011 12:58:08 -0400 (EDT) From: Tom Roche To: cygwin-xfree@cygwin.com, Subject: Re: how to set X resources in Cygwin? In-Reply-To: <87wrcxmfon.fsf@pobox.com> References: <87wrcxmfon.fsf@pobox.com> <1317057402.14012.ezmlm@cygwin.com> User-Agent: GNU Emacs 23.3.1 (i686-pc-cygwin, GTK+ Version 2.20.1) Reply-to: cygwin-xfree@cygwin.com, Tom Roche Date: Tue, 27 Sep 2011 16:58:00 -0000 Message-ID: <87wrctdira.fsf@pobox.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Pobox-Relay-ID: E03FC390-E929-11E0-9A06-9DB42E706CDE-07218935!b-pb-sasl-quonix.pobox.com Mailing-List: contact cygwin-xfree-help@cygwin.com; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-xfree-owner@cygwin.com Reply-To: cygwin-xfree@cygwin.com Mail-Followup-To: cygwin-xfree@cygwin.com X-SW-Source: 2011-09/txt/msg00020.txt.bz2 Tom Roche Sun, 18 Sep 2011 22:14:23 +0100 > summary: I'm running an up-to-date cygwin X on wxpsp3. I get both > xterm and urxvt-X to start, but cannot get either to pickup settings > from .Xdefaults or .Xresources. What am I doing wrong? Andrew DeFaria Mon, 26 Sep 2011 10:15:48 -0700 (rearranged) > Is $HOME set correctly for X? Dunno what you mean by "for X." $HOME looks correct to me: # after starting X, in xterm tlroche@tlrZ61t ~$ echo -e "${HOME}" /home/tlroche > I would have thought an xrdb -load ~/.Xdefaults would be a cure all > (provided you xrdb'ed it to the proper X server!). > Out of curiosity, what does ax xrdb -query reveal? tlroche@tlrZ61t ~$ xrdb -query tlroche@tlrZ61t ~$ xrdb -query | wc -l 0 tlroche@tlrZ61t ~$ xrdb -all -query | wc -l 0 tlroche@tlrZ61t ~$ cat .Xdefaults ! copy/mod from ! http://www.saltycrane.com/blog/2007/09/cygwin-x-ratposoin-screen-rxvt-setup/ ! https://wiki.archlinux.org/index.php/X_resources#Xterm_resources ! Note: ! * need to capitalize first letter (or 2) of application? see ! http://xwinman.org/resource.php XTerm*background: white ! XTerm*foreground: black XTerm*cursorColor: red XTerm*font: xft:Bitstream Vera Sans Mono:size=8 XTerm*boldFont: xft:Bitstream Vera Sans Mono:size=8:style=Bold XTerm*scrollBar: True XTerm*rightScrollBar: True XTerm*scrollKey: True XTerm*saveLines: 9999 XTerm*toolBar: True !! see https://wiki.archlinux.org/index.php/Urxvt Urxvt*background: white Urxvt*foreground: black ! run "fc-list" for a list of available fonts Urxvt*font: xft:Bitstream Vera Sans Mono:size=8 Urxvt*boldFont: xft:Bitstream Vera Sans Mono:size=8:style=Bold URxvt*scrollBar: False URxvt*scrollTtyOutput: False URxvt*scrollTtyKeypress: True URxvt*secondaryScroll: True URxvt*saveLines: 9999 URxvt.perl-ext-common: default,tabbed tlroche@tlrZ61t ~$ xrdb -load ~/.Xdefaults tlroche@tlrZ61t ~$ xrdb -query XTerm*background: white XTerm*cursorColor: red XTerm*font: xft:Bitstream Vera Sans Mono:size=8 XTerm*boldFont: xft:Bitstream Vera Sans Mono:size=8:style=Bold XTerm*scrollBar: True XTerm*rightScrollBar: True XTerm*scrollKey: True XTerm*saveLines: 9999 XTerm*toolBar: True Urxvt*background: white Urxvt*foreground: black Urxvt*font: xft:Bitstream Vera Sans Mono:size=8 Urxvt*boldFont: xft:Bitstream Vera Sans Mono:size=8:style=Bold URxvt*scrollBar: False URxvt*scrollTtyOutput: False URxvt*scrollTtyKeypress: True URxvt*secondaryScroll: True URxvt*saveLines: 9999 URxvt.perl-ext-common: default,tabbed But if I restart X: no change in display of xterm or urxvt-X And if I restart wXP: no change. > BTW, instead of Xterm and Rxvt you might look into using mintty from > Cygwin itself. It's a quite nice terminal emulator. I'll give that a try, except that I think I should solve this first: not using .Xdefaults seems like a prior issue. Or should I instead just invoke my X apps with ginormous command lines? TIA, Tom Roche -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://x.cygwin.com/docs/ FAQ: http://x.cygwin.com/docs/faq/