How to automagically activate the NUMLOCK on gentoo

Sometimes, Gentoo is just a little "complex"…..

If you add the complexity of the graphical user interfaces you can go crazy, this is just a little tip to activate the NUMLOCK at every boot time. You can do this action simply from the shell avoiding the use of the GUI.


 

The Gentoo init system uses a dependency-tree to decide what service needs to be started first. Being a tedious task to do manually, it has been added a tool to simplify the administration of the runlevels and init scripts. This tool is the rc-update.

With rc-update you can add and remove init scripts to a runlevel. The rc-update tool automatically queries depscan.sh to rebuild the dependency tree.

Let's go back to our problem, we have to say to rc-update to start the NUMLOCK at boot time:

# rc-update add numlock default && /etc/init.d/numlock start

That's all, since the next startup, the NUMLOCK will be active.


Gg1




Posted by at July 16, 2012
Filed in category: Bash Tip & Tricks, linux, sysadmin, UNIX TLC, xAppSoftware News, and tagged with: , , , , , , ,

One Response to How to automagically activate the NUMLOCK on gentoo

  1. Pingback: Links 21/7/2012: Web Apps, Ubuntu and Dell | Techrights

Leave a Reply

Your email address will not be published. Required fields are marked *


*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

%d bloggers like this: