Turn Linux on automatically numlock

Source: Internet
Author: User
Keywords Boot nbsp solve can change is
Tags aliyun change etc html http linux local notes

This article from the notes, not original, the source has been found, sorry.

&http://www.aliyun.com/zixun/aggregation/37954.html ">NBSP; Looking at the previous post of Cu, the way to solve the problem is:
  
Add in/etc/rc.d/rc.local:
For T in 1 2 3 4 5 6 7 8
Do
Setleds +num
$t >/dev/null
Done
  
But I tried n also not, NUMLOCK light is not bright, do not know where the problem is, there are friends who know the problem to help you:
  
Finally solved the problem, I once again realize the benefits of man, too good: Oh, the solution is as follows:
-----------------------------------
For T in 1 2 3 4 5 6 7 8
Do
Setleds-d +num
$t >/dev/null
Done
------------------------------------
That is, to add the parameter-D to change the default flags, of course, if the NUM replaced Caps,scroll can change the state of caps, ScrollLock, more detailed description in the man inside: "Alas, encounter problems or to look at Mans first AH:"

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.