使用 xorg 之後,現在在 X 下無法用 ctrl+alt+F? 轉回 console。有去 GO 逛過,提供的方法都不適合,想請問有沒有人遇到同樣的問題,應該怎麼解決。
謝謝。
xorg 在 X 下無法使用 ctrl+alt+F? 轉換到 console
Moderator: Forums Team
xorg 在 X 下無法使用 ctrl+alt+F? 轉換到 console
disagreeing is much more fun than agreeing when backed up with thoughtful responses
- Hydonsingore
- Posts: 193
- Joined: Wed Jun 09, 2004 10:49 pm
- Location: Taiwan
- Contact:
我之前遇過相同問題
這是暫時的解決方式
http://bugs.gentoo.org/show_bug.cgi?id=47243#c41
我後來好像是先 emerge -C xorg-x11,
然後去把那個剩下的xkb目錄幹掉,
再重 emerge xorg-x11 就好了。(以上為印象派)
這是暫時的解決方式
http://bugs.gentoo.org/show_bug.cgi?id=47243#c41
我後來好像是先 emerge -C xorg-x11,
然後去把那個剩下的xkb目錄幹掉,
再重 emerge xorg-x11 就好了。(以上為印象派)
裡面應該都是 xkbcomp 真的有問題的情況才有解,像是 /usr/X11/bin/xkbcomp 和 /usr/lib/X11/bin/xkbcomp 不一樣。Hydonsingore wrote:我之前遇過相同問題
這是暫時的解決方式
http://bugs.gentoo.org/show_bug.cgi?id=47243#c41
我後來好像是先 emerge -C xorg-x11,
然後去把那個剩下的xkb目錄幹掉,
再重 emerge xorg-x11 就好了。(以上為印象派)
可是我偏偏就是兩個檔 md5 都一樣才想不透。
那天心血來潮也許來試試 emerge -C,不過我的 xorg 可是重裝機器時全新安裝的。
下面貼貼 xorg.conf 相關部份,我再怎麼看,這麼陽春的 keyboard 設定,哪裡會出問題?
Code: Select all
Section "Module"
Load "dbe" # Double buffer extension
SubSection "extmod"
Option "omit xfree86-dga"
EndSubSection
Load "type1"
Load "freetype"
Load "glx"
Load "dri"
EndSection
Section "InputDevice"
Identifier "Keyboard1"
Driver "kbd"
Option "AutoRepeat" "500 30"
Option "XkbModel" "pc104"
Option "XkbLayout" "us"
EndSection
Section "InputDevice"
Identifier "Mouse1"
Driver "mouse"
Option "Protocol" "IMPS/2"
Option "Device" "/dev/psaux"
Option "ZAxisMapping" "4 5"
EndSection
Section "Device"
Identifier "Intel 865G"
Driver "i810"
EndSection
Section "ServerLayout"
Identifier "Simple Layout"
Screen "Screen 1"
InputDevice "Mouse1" "CorePointer"
InputDevice "Keyboard1" "CoreKeyboard"
EndSection
Section "DRI"
Mode 0666
EndSection
disagreeing is much more fun than agreeing when backed up with thoughtful responses
如果把 "AutoRepeat" 註解掉呢 ??
就像下面這樣:
或是把 XkbModel 改為 microsoft 呢??
就像下面這樣:
Code: Select all
Section "InputDevice"
Identifier "Keyboard1"
Driver "kbd"
#Option "AutoRepeat" "500 30"
Option "XkbModel" "pc104"
Option "XkbLayout" "us"
EndSection
Nope, 都沒有產生作用。
懷疑一行 log 中的文字
可是初步搜尋的結果,沒看到兩個東西連在一起討論的回報。
懷疑一行 log 中的文字
Code: Select all
(EE) Couldn't load XKB keymap, falling back to pre-XKB keymapdisagreeing is much more fun than agreeing when backed up with thoughtful responses
看來好像你的 xkb keymap 真的有問題喔 ....
最好還是先 unemerge 並且把 /usr/X11R6/lib/X11/xkb 這個目錄刪掉再 re-emerge 一次看看
之前我有一次也像這樣,明明是全新安裝的 xorg-x11,但是裝好之後,它的一個最重要的 cf 檔 /usr/X11R6/lib/X11/config/Imake.cf 居然是壞的,裡面都是看不懂的 binary 亂碼(是跟其它 cf 檔比較的),害我在 emerge X相關 package 時一直出現錯誤,根本沒辦法繼續下去。
後來從 error message 中才發現是這個檔案壞了,其實從別台機器 copy 一個正確的來覆蓋應該就能 work 了。但我為了慎重起見,還是把 xorg-x11 unemerge 掉,把 /usr/X11R6 目錄整個刪除重新再 emerge 一次就 OK 了。
所以我是覺得,就算是全新安裝的 package,還是有可能有問題的,提供你作參考。
最好還是先 unemerge 並且把 /usr/X11R6/lib/X11/xkb 這個目錄刪掉再 re-emerge 一次看看
之前我有一次也像這樣,明明是全新安裝的 xorg-x11,但是裝好之後,它的一個最重要的 cf 檔 /usr/X11R6/lib/X11/config/Imake.cf 居然是壞的,裡面都是看不懂的 binary 亂碼(是跟其它 cf 檔比較的),害我在 emerge X相關 package 時一直出現錯誤,根本沒辦法繼續下去。
後來從 error message 中才發現是這個檔案壞了,其實從別台機器 copy 一個正確的來覆蓋應該就能 work 了。但我為了慎重起見,還是把 xorg-x11 unemerge 掉,把 /usr/X11R6 目錄整個刪除重新再 emerge 一次就 OK 了。
所以我是覺得,就算是全新安裝的 package,還是有可能有問題的,提供你作參考。