From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Bob Proulx Newsgroups: gmane.emacs.help Subject: Re: Linux: .Xdefaults, geometry not recognized Date: Wed, 7 Jan 2015 15:40:31 -0700 Message-ID: <20150107152841757917829@bob.proulx.com> References: <8761ci5m5a.fsf@mat.ucm.es> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1420670468 24086 80.91.229.3 (7 Jan 2015 22:41:08 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 7 Jan 2015 22:41:08 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed Jan 07 23:41:03 2015 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Y8zHX-0008Di-Cu for geh-help-gnu-emacs@m.gmane.org; Wed, 07 Jan 2015 23:40:51 +0100 Original-Received: from localhost ([::1]:43200 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Y8zHW-00085F-PE for geh-help-gnu-emacs@m.gmane.org; Wed, 07 Jan 2015 17:40:50 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:59150) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Y8zHL-000859-7f for help-gnu-emacs@gnu.org; Wed, 07 Jan 2015 17:40:40 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Y8zHF-0008Jo-FA for help-gnu-emacs@gnu.org; Wed, 07 Jan 2015 17:40:39 -0500 Original-Received: from joseki.proulx.com ([216.17.153.58]:48583) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Y8zHF-0008Ji-64 for help-gnu-emacs@gnu.org; Wed, 07 Jan 2015 17:40:33 -0500 Original-Received: from hysteria.proulx.com (hysteria.proulx.com [192.168.230.119]) by joseki.proulx.com (Postfix) with ESMTP id 1B1BE2182B for ; Wed, 7 Jan 2015 15:40:32 -0700 (MST) Original-Received: by hysteria.proulx.com (Postfix, from userid 1000) id E544E2DC45; Wed, 7 Jan 2015 15:40:31 -0700 (MST) Mail-Followup-To: help-gnu-emacs@gnu.org Content-Disposition: inline In-Reply-To: <8761ci5m5a.fsf@mat.ucm.es> User-Agent: Mutt/1.5.23 (2014-03-12) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 216.17.153.58 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:101932 Archived-At: Uwe Brauer wrote: > I have the following setting in my .Xdefaults > Emacs.foreground: black > Emacs.background: grey98 > Emacs.font: -*-courier-bold-r-*-*-18-180-*-*-*-*-*-* > Emacs.geometry: 105x63+20+5 > File the font is recognized by emacs but the geometry not. First things first. As I am sure you are aware the .Xdefaults is the old, old, old way and the file is ignored if the xrdb is non-empty. Please verify that your xrdb database is completely empty. xrdb -q If that lists anything then the .Xdefaults won't be used. Almost every desktop environment sets xrdb resources these days. It is better IMNHO to use it instead. I would verify that the resources you want are set in the xrdb correctly. Note that the lower case name "emacs" is more specific than the class name "Emacs" and therefore a emacs.font setting will override an Emacs.font setting. xrdb -q | grep -i emacs For debugging I would try it explicitly on the command line. Then with the -q option. emacs --xrm Emacs.geometry:105x63+20+5 emacs -q --xrm Emacs.geometry:105x63+20+5 emacs -q --xrm emacs.geometry:105x63+20+5 Bob