Modify keyboard ing in CentOS

Source: Internet
Author: User
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. it's really okay...
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.
Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.