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 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.


You may also like...

1 Response

  1. July 21, 2012

    […] How to automagically activate the NUMLOCK on gentoo […]

Leave a Reply

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