Linux terminal keymaps

Source: Internet
Author: User

Http://imljp.info /? P = 451

I have been Google for a long time on the Internet to change the Linux console kdymaps. I 'd like to find out how to modify the buttons on the terminal, but I am sorry to find it.

Find and modify keymaps by yourself. There are several loadkeys dumpkeys showkeys setkeycodes keymaps. with man's help, I modify the switch control and caps_lock (for convenience with Emacs)

1). dumpkeys> ~ /. My_keymaps

2). VI ~ /. My_keymaps modify keycode 29 = control to keycode 29 = caps_lock and 58 to control

3). loadkeys ~ /. My_keymaps

If you do not know the keycode, you can view the keycode in showkeys on the terminal (only on the console ..

PS: You can add and start VI/etc/rc. Local, which is convenient.

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.