免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 1772 | 回复: 0
打印 上一主题 下一主题

Heads up! - Xorg detects keyboard layout on the fl [复制链接]

论坛徽章:
2
丑牛
日期:2013-09-29 09:47:222015七夕节徽章
日期:2015-08-21 11:06:17
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2008-05-08 16:10 |只看该作者 |倒序浏览
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
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP