From owner-freebsd-questions@FreeBSD.ORG Tue Apr 24 06:18:31 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 7254B1065674 for ; Tue, 24 Apr 2012 06:18:31 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mx02.qsc.de (mx02.qsc.de [213.148.130.14]) by mx1.freebsd.org (Postfix) with ESMTP id 2FF118FC12 for ; Tue, 24 Apr 2012 06:18:31 +0000 (UTC) Received: from r56.edvax.de (port-92-195-124-250.dynamic.qsc.de [92.195.124.250]) by mx02.qsc.de (Postfix) with ESMTP id 874701E560; Tue, 24 Apr 2012 08:18:23 +0200 (CEST) Received: from r56.edvax.de (localhost [127.0.0.1]) by r56.edvax.de (8.14.5/8.14.5) with SMTP id q3O6IMHc002955; Tue, 24 Apr 2012 08:18:23 +0200 (CEST) (envelope-from freebsd@edvax.de) Date: Tue, 24 Apr 2012 08:18:22 +0200 From: Polytropon To: Leslie Jensen Message-Id: <20120424081822.2e1e91fd.freebsd@edvax.de> In-Reply-To: <4F963670.9060409@eskk.nu> References: <4F9543A9.5030005@eskk.nu> <4F9597C2.4030406@eskk.nu> <4F963670.9060409@eskk.nu> Organization: EDVAX X-Mailer: Sylpheed 3.1.1 (GTK+ 2.24.5; i386-portbld-freebsd8.2) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: Was..... Lots of lagging after upgrade of xorg. Now keyboard layout is lost X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Polytropon List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 24 Apr 2012 06:18:31 -0000 On Tue, 24 Apr 2012 07:13:20 +0200, Leslie Jensen wrote: > > > 2012-04-23 19:56, Leslie Jensen skrev: > > > > > > 2012-04-23 18:29, Warren Block skrev: > >> On Mon, 23 Apr 2012, Leslie Jensen wrote: > >> > >>> > Use Option > >> "AutoAddDevices" "Off" to disable HAL input device detection. > >> _______________________________________________ > > > > > http://www.wonkity.com/~wblock/docs/html/aei.html > > > > > > After adding the above Option I lost the Swedish layout of my keyboard. > > Following the instructions and editing the > > /usr/local/etc/hal/fdi/policy/x11-input.fdi > > > I already have the file in place with the following setup: > > > > > > > type="string">terminate:ctrl_alt_bksp< > /merge> > type="string">latitude > se > > > > > > Where else can I control the setting for Swedish? You could use the default method: /etc/X11/xorg.conf which is designed to _centralize_ X-related settings. Keyboard settings can also be put there. For example, this is what I use to define a german keyboard layout (and which applies everywhere in X, as intended): Section "InputDevice" Identifier "Keyboard0" Driver "kbd" Option "XkbModel" "pc105" Option "XkbLayout" "de" Option "XkbOptions" "terminate:ctrl_alt_bksp" EndSection You can employ this approach, changing it to swedish language. Note that I'm using the X setup "without HAL and DBUS" here. Additionally, there's the method of using xmodmap with a custom ~/.xmodmaprc file which can be used to make keyboard language settings work _independently_ from both xorg.conf and XML files scattered across the local/ subtree. :-) -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ...