探索帖---重大突破 ctrl+alt+fn
xorg 快捷键失效很有可能是 xkbmap 的问题xorg 日志里面有错误如下
(EE) Error compiling keymap (server-0)
(EE) XKB: Couldn't compile keymap
尝试手工编译 keymap 也报错
$ setxkbmap -rules xfree86 -model pc105 -layout us -print
Couldn't find rules file (xfree86)
$ setxkbmap -rules xorg -model pc105 -layout us -print
Couldn't find rules file (xorg)
strace setxkbmap 显示程序试图在 /usr/lib/X11/xkb/rules/ 目录里面查找 rules 文件
而实际上,应该在 /usr/share/X11/xkb/rules/ 目录里面
open("./rules/evdev-C.lst", O_RDONLY) = -1 ENOENT (No such file or directory)
open("./rules/evdev.lst", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/lib/X11/xkb/rules/evdev-C.lst", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/lib/X11/xkb/rules/evdev.lst", O_RDONLY) = -1 ENOENT (No such file or directory)
write(2, "Couldn't find rules file (evdev) "..., 34Couldn't find rules file (evdev)
) = 34
我就把 /usr/share/X11/xkb/ 向 /usr/lib/X11/ 做了个符号链接,使之可以找到 rules 文件。
注销,重启 x
哇,ctrl+alt+fn 能用了!!!
好吧,我说说我其实还干了别的事:删掉了 numlock numlockx 和 /etc/X11/xorg.conf、/etc/X11/XF86Config
final 前的大 bug 有希望解决喽~~
ps: 最近几天连续除 bug。。 :wink:
[ 本帖最后由 nihui 于 2010-4-24 00:22 编辑 ] 恭喜楼主,贺喜楼主,神功练成,千秋万载,一统江湖。 sudo ln -sv /usr/share/X11/xkb /usr/lib/X11
strace都用上了,佩服。
这个问题应该在xkbmap 编译的参数中有设置吧? 我这又出现点小问题,不知道nihui那是不是也有
重启后是正常的,ctrl+alt+fn都可以用,ctrl+alt+backspace后退出X,然后X又自动启动了。
而且这回启动后ctrl+alt+fn其他终端都是全黑的,当然ctrl+alt+f7 还是可以切换回图形界面的。
我这边还有这个错误:
(EE) AIGLX error: dlopen of /usr/lib/dri/r600_dri.so failed (/usr/lib/dri/r600_dri.so: cannot open shared object file: No such file or directory)
(EE) AIGLX: reverting to software rendering
ls /usr/lib/dri/r*
r128_dri.so r200_dri.so r300_dri.so radeon_dri.so
应该在这个包中的驱动 没有最新的那个?
$ rpm -ql mesa-dri-drivers
/usr/lib/dri
/usr/lib/dri/i810_dri.so
/usr/lib/dri/i915_dri.so
/usr/lib/dri/i965_dri.so
/usr/lib/dri/libdricore.so
/usr/lib/dri/mga_dri.so
/usr/lib/dri/r128_dri.so
/usr/lib/dri/r200_dri.so
/usr/lib/dri/r300_dri.so
/usr/lib/dri/radeon_dri.so
/usr/lib/dri/savage_dri.so
/usr/lib/dri/sis_dri.so
/usr/lib/dri/swrast_dri.so
/usr/lib/dri/tdfx_dri.so
/usr/lib/dri/unichrome_dri.so 的确是好消息。 xkb-utils包大概打的有问题.
XORG_CONFIG中的datadir大概应该调整成/usr/share才对. 4 楼的那个 error 看看啊 :shock:
http://www.x.org/wiki/radeonhd
The following messages are absolutely normal in your Xorg.0.log (as we don't have 3D acceleration yet):
(EE) AIGLX error: dlopen of /usr/lib/dri/r600_dri.so failed
(EE) AIGLX: reverting to software rendering
[ 本帖最后由 nihui 于 2010-5-7 22:53 编辑 ] 原帖由 nihui 于 2010-5-7 22:50 发表 http://www.linuxfans.org/bbs/images/common/back.gif
4 楼的那个 error 看看啊 :shock:
http://www.x.org/wiki/radeonhd
The following messages are absolutely normal in your Xorg.0.log (as we don't have 3D acceleration yet):
(EE) AIGLX error: dlopen of ...
mesa的问题,可是7.6里没有r600啊。
原来是打包的时候漏了,正在rebuild。
已完成 细致活。
页:
[1]