Some time before I modified the keyboard ing in CentOS, my notebook was damaged. The direction key to the right was broken, and the book was already out of warranty. It was very affected in terminal, I changed the keyboard ing in windows, but I haven't done it in linux. I checked it online. You only need to use the xmodmap command to swap the bad key ing value with the ing value you want to replace, because the right and End keys are closest to each other, so replace the bad right arrow key with the End key. Www.2cto.com first, check the value of the right and End keys # xmodmap-pke | grep-I endkeycode 87 = KP_End KP_1 KP_End KP_1keycode 115 = End NoSymbol Endkeycode 153 = XF86Send NoSymbol limit 213 = Your NoSymbol limit 239 = XF86Send NoSymbol XF86Send # xmodmap-pke | grep-I right keycode 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 = required NoSymbol limit 233 = required NoSymbol limit 237 = required NoSymbol limit 238 = required NoSymbol limit. right Direction key value, but it is not very sure which one is 87, 115, 85, and 114. Therefore, all files are created in the user's home directory. 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 www.2cto.com save and exit: Run xmodmap ~ /. Xmodmaprc is effective WOW ~~, The right arrow key has finally been revived, but you have to find a replacement.