Re: Was..... Lots of lagging after upgrade of xorg. Now keyboard layout is lost

2012-04-24 Thread Leslie Jensen



2012-04-24 16:01, Warren Block skrev:

On Tue, 24 Apr 2012, 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.


It's not required to disable HAL, but that's usually what people are
trying to do when they turn off AEI.

To leave HAL enabled, remove the AutoAddDevices option. Keyboard layout
will come from the HAL fdi file.

Keyboard layout can also be set with setxkbmap in .xinitrc or .xsession,
or in the keyboard InputDevice section as Polytropon shows.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to
"freebsd-questions-unsubscr...@freebsd.org"



Yes, thank you.

Polytropon solution works for me :-)

/Leslie

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: Was..... Lots of lagging after upgrade of xorg. Now keyboard layout is lost

2012-04-24 Thread Warren Block

On Tue, 24 Apr 2012, 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.


It's not required to disable HAL, but that's usually what people are 
trying to do when they turn off AEI.


To leave HAL enabled, remove the AutoAddDevices option.  Keyboard layout 
will come from the HAL fdi file.


Keyboard layout can also be set with setxkbmap in .xinitrc or .xsession, 
or in the keyboard InputDevice section as Polytropon shows.

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: Was..... Lots of lagging after upgrade of xorg. Now keyboard layout is lost

2012-04-23 Thread Polytropon
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, ...
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Was..... Lots of lagging after upgrade of xorg. Now keyboard layout is lost

2012-04-23 Thread Leslie Jensen



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?


I can see in /usr/local/share/X11/xkb/rules/base.lst that there is the ! 
variant parameters.



Any hints appreciated.

Thanks

/Leslie

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"