博客首页 注册 建议与交流 排行榜 加入友情链接
推荐 投诉 搜索: 帮助

剑心通明的资料库

文章均为转载,本人不负因参考它所导致的一切后果,请谨慎参考!如您的文章不愿被转载,请点击此处联系本人!
  jxtm.cublog.cn

关于作者
姓名:剑心通明
职业:高级工程师(专修灵魂^_^)
年龄:20出头30不到
位置:网络上一节点
个性介绍:努力学习每一天!
倾心打造:http://www.bsdlover.cn
http://bbs.bsdlover.cn
BSD爱好者的乐园!
|| << >> ||
我的分类


Heads up! - Xorg detects keyboard layout on the fl
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.

 原文地址 http://undeadly.org/cgi?action=article&sid=20080507154602
发表于: 2008-05-08,修改于: 2008-05-08 16:10,已浏览316次,有评论0条 推荐 投诉


网友评论
 发表评论