From owner-freebsd-questions@FreeBSD.ORG  Wed Feb  6 01:40:54 2008
Return-Path: <owner-freebsd-questions@FreeBSD.ORG>
Delivered-To: questions@freebsd.org
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id 904AD16A420
	for <questions@freebsd.org>; Wed,  6 Feb 2008 01:40:54 +0000 (UTC)
	(envelope-from doug@safeport.com)
Received: from fledge.watson.org (fledge.watson.org [209.31.154.41])
	by mx1.freebsd.org (Postfix) with ESMTP id 428EE13C45D
	for <questions@freebsd.org>; Wed,  6 Feb 2008 01:40:53 +0000 (UTC)
	(envelope-from doug@safeport.com)
Received: from fledge.watson.org (localhost.watson.org [127.0.0.1])
	by fledge.watson.org (8.14.2/8.14.2) with ESMTP id m161eqt0008164;
	Tue, 5 Feb 2008 20:40:52 -0500 (EST)
	(envelope-from doug@safeport.com)
Received: from localhost (doug@localhost)
	by fledge.watson.org (8.14.2/8.14.2/Submit) with ESMTP id
	m161eopa008148; Tue, 5 Feb 2008 20:40:51 -0500 (EST)
	(envelope-from doug@safeport.com)
X-Authentication-Warning: fledge.watson.org: doug owned process doing -bs
Date: Tue, 5 Feb 2008 20:40:50 -0500 (EST)
From: doug@safeport.com
X-X-Sender: doug@fledge.watson.org
To: Wojciech Puchar <wojtek@wojtek.tensor.gdynia.pl>
In-Reply-To: <20080204202629.Q9408@wojtek.tensor.gdynia.pl>
Message-ID: <20080205202804.H12870@fledge.watson.org>
References: <20080204184748.GJ1422@chimera.vickiandstacey.com>
	<20080204202629.Q9408@wojtek.tensor.gdynia.pl>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed
X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-3.0
	(fledge.watson.org [127.0.0.1]);
	Tue, 05 Feb 2008 20:40:52 -0500 (EST)
Cc: questions@freebsd.org, x11@freebsd.org,
	Stacey Roberts <stacey@vickiandstacey.com>
Subject: Re: xorg default configuration location
X-BeenThere: freebsd-questions@freebsd.org
X-Mailman-Version: 2.1.5
Precedence: list
Reply-To: doug@fledge.watson.org
List-Id: User questions <freebsd-questions.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-questions>, 
	<mailto:freebsd-questions-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-questions>
List-Post: <mailto:freebsd-questions@freebsd.org>
List-Help: <mailto:freebsd-questions-request@freebsd.org?subject=help>
List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-questions>, 
	<mailto:freebsd-questions-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Wed, 06 Feb 2008 01:40:54 -0000

On Mon, 4 Feb 2008, Wojciech Puchar wrote:

>> then X11 must be configured manually"
>> 
>> Where *is* this default configuration located?
>
> default settings are embedded in Xorg binary - i think.
> but there is no default configuration file.
>
>> So, the *only* thing I'd like to change is the XkbLayout setting. Is it
>> possible to locate this "default configuration" and simply change that 
>> config
>> setting?
>
> i think Xorg -configure generates exactly this - automatic configuration
>
> generate it, fix keyboard and put it in /etc/X11/xorg.conf

If its Xorg 7.3 no configuration is need if your hardware is supported. In my 
test case (an ancient Dell Inspiron) startx selected the correct driver (ati) 
and highest supported resolution (1200x1400 or some such).

The version I installed gives a hard error on the module fbdev not being loaded 
but then proceeds to work perfectly. If you hardware is not recognized or there 
is some other problem the X must be configured manually.