set number lock on while the system start (linux)

原创 2005年05月30日 09:46:00
# setting Numberlock On
echo "Setting Number On"
for t in 1 2 3 4 5 6 7
do
 /usr/bin/setleds +num < /dev/tty$t > /dev/null
done

只在终端下成功实现,但在XWINDOWS下还是不行,高人路过的话,留言指点,不胜感激

Linux启动过程中init/main.c中的start_kernel()函数中的lock_kernel()函数

#ifndef __LINUX_SMPLOCK_H #define __LINUX_SMPLOCK_H #ifdef CONFIG_LOCK_KERNEL //判断内核是否支持内核锁 /...

CPU Usage Spiking When Start DBMS On Oracle Linux 6 (Doc ID 1995167.1)

CPU Usage Spiking When Start DBMS On Oracle Linux 6 (Doc ID 1995167.1)

Trick on the Version Magic Number of Linux Kernel

Trick on the Verson Magic Number of Linux KernelMAR 15TH, 2013 | COMMENTSRecently, I was working on...

How should I run fsck on a Linux file system

Scenario / Question:I need to check file system for errors using fsck. Can I run fsck on a mounted f...
  • huyangg
  • huyangg
  • 2011年05月21日 16:01
  • 573

Building Android’s ‘master’ branch on a 32 bit Linux system

在32bit的机器上build最新的master分支

Linux音频驱动-ASOC(ALSA System on Chip)

概述 此处还需引入之前说过的话:  新事物的出现必然是为了解决旧事物中的不足。这句话在现实生活中和程序世界中道理一样。ASOC的出现就是为了解决ALSA无法解决的问题。ALSA到底存在什么问题? 以及...

Impact of Signals on Unix/Linux System Calls

By poornaMokshaOn 8th October, 2011 Suppose a system call was blocked due to some reason (like ...

Creating a Root File System for Linux on OMAP35x

ABSTRACT A Linux kernel is not very useful without a root file system containing applications and se...

How do I set the DISPLAY variable on Linux

startx ps -e | grep X pidof X && echo "yup X server is running" if you're o...

How to set up Liferay DXP/7 on Linux

Note,  I am using Fedora 24,  the steps might be a little different from Windows and Mac.  * Se...
内容举报
返回顶部
收藏助手
不良信息举报
您举报文章:set number lock on while the system start (linux)
举报原因:
原因补充:

(最多只允许输入30个字)