瀏覽量:32次
只要使用xmodmap命令把壞的鍵的映射值和你想要替換的映射值互換一下就可以了,因?yàn)橛曳较蜴I和End鍵離的最近,所以就用End鍵替換壞掉的右方向鍵。首先查看右方向鍵和End鍵的值# xmodmap -pke |grep -i endkeycode 87 = KP_End KP_1 KP_End KP_1keycode 115 = End NoSymbol Endkeycode 153 = XF86Send NoSymbol XF86Sendkeycode 213 = XF86Suspend NoSymbol XF86Suspendkeycode 239 = XF86Send NoSymbol XF86Send# xmodmap -pke |grep -i rightkeycode 19 = 0 parenright 0 parenrightkeycode 35 = bracketright braceright bracketright bracerightkeycode 85 = KP_Right KP_6 KP_Right KP_6keycode 114 = Right NoSymbol Rightkeycode 188 = parenright NoSymbol parenrightkeycode 232 = XF86MonBrightnessDown NoSymbol XF86MonBrightnessDownkeycode 233 = XF86MonBrightnessUp NoSymbol XF86MonBrightnessUpkeycode 237 = XF86KbdBrightnessDown NoSymbol XF86KbdBrightnessDownkeycode 238 = XF86KbdBrightnessUp NoSymbol XF86KbdBrightnessUp這樣就找出了End鍵 和 右方向鍵的值,但不是很確認(rèn) 87 和 115 85 和 114 哪一個(gè)才是準(zhǔn)確的,于是全都互換了在用戶家目錄下創(chuàng)建一個(gè)文件 .Xmodmaprckeycode 85 = KP_End KP_1 KP_End KP_1keycode 114 = End NoSymbol Endkeycode 87 = KP_Right KP_6 KP_Right KP_6keycode 115 = Right NoSymbol Right保存退出:執(zhí)行 xmodmap ~/.Xmodmaprc是更改生效WOW~~,右方向鍵終于被復(fù)活了,不過得找一個(gè)替身哦
[聲明]本網(wǎng)轉(zhuǎn)載網(wǎng)絡(luò)媒體稿件是為了傳播更多的信息,此類稿件不代表本網(wǎng)觀點(diǎn),本網(wǎng)不承擔(dān)此類稿件侵權(quán)行為的連帶責(zé)任。故此,如果您發(fā)現(xiàn)本網(wǎng)站的內(nèi)容侵犯了您的版權(quán),請(qǐng)您的相關(guān)內(nèi)容發(fā)至此郵箱【779898168@qq.com】,我們?cè)诖_認(rèn)后,會(huì)立即刪除,保證您的版權(quán)。
官網(wǎng)優(yōu)化
整站優(yōu)化
渠道代理
400-655-5776