Heads up! - Xorg detects keyboard layout on t…

2009-05-13 13:59:07来源:未知 阅读 ()

新老客户大回馈,云服务器低至5折

Contributed by
johan
on Thu May 8 07:47:55 2008 (GMT)
from the next-patch-is-for-nonUS-mouse-support dept.
Matthieu Herrb (matthieu@) has
committed
support for
Xorg
to detect the keyboard layout based on the
wscons keymap
being used.
What this means to us is that one of the final obstacles to running X without a pre-made
xorg.conf(5)
file is now gone. This should make it considerably easier to run X11 for users with a non-US keyboard layout.
The idea and initial diff was contributed by Reyk Floeter (reyk@).
Furthermore, keyboard layouts are referred to differently in
wscons(4)
and Xorg(1) for some countries. This meant that for example the Swedish keyboard layout which is named "sv" in wscons(4) would not get automatically detected because it is named "se" in Xorg. Mats O Jansson (maja@)
solved
this by adding a lookup table to the xf86-input-keyboard driver.
There is one exception - if you alter your keymap by means of
wsconsctl(8)
your keymap will become "user" in which case this will not work.
Go ahead and try using Xorg without xorg.conf(5) yourself next time you install X on an OpenBSD computer.


本文来自ChinaUnix博客,如果查看原文请点:http://blog.chinaunix.net/u/4206/showart_681201.html

标签:

版权申明:本站文章部分自网络,如有侵权,请联系:west999com@outlook.com
特别注意:本站所有转载文章言论不代表本站观点,本站所提供的摄影照片,插画,设计作品,如需使用,请与原作者联系,版权归原作者所有

上一篇:The Ultimate Media Server on freebsd

下一篇:Heads up! - routed(8) has been removed