Date: Tue, 24 Apr 2012 08:18:22 +0200 From: Polytropon <freebsd@edvax.de> To: Leslie Jensen <leslie@eskk.nu> Cc: freebsd-questions@freebsd.org Subject: Re: Was..... Lots of lagging after upgrade of xorg. Now keyboard layout is lost Message-ID: <20120424081822.2e1e91fd.freebsd@edvax.de> In-Reply-To: <4F963670.9060409@eskk.nu> References: <4F9543A9.5030005@eskk.nu> <alpine.BSF.2.00.1204231028040.69711@wonkity.com> <4F9597C2.4030406@eskk.nu> <4F963670.9060409@eskk.nu>
next in thread | previous in thread | raw e-mail | index | archive | help
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: > > > <?xml version="1.0" encoding="ISO-8859-1"?> > <deviceinfo version="0.2"> > <device> > <match key="info.capabilities" contains="input.keyboard"> > <merge key="input.x11_options.XkbOptions" > type="string">terminate:ctrl_alt_bksp< > /merge> > <merge key="input.x11_options.XkbModel" > type="string">latitude</merge> > <merge key="input.x11_options.XkbLayout" type="string">se</merge> > </match> > </device> > </deviceinfo> > > > 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, ...
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20120424081822.2e1e91fd.freebsd>