Activating numpad on startup on Crunchbang
Quick fix for automatically activating numpad on startup in Crunchbang Linux. Simple solution using numlockx package and autostart configuration to avoid manually pressing Num Lock after each login.
Hi all,
I recently switched from Ubuntu to Crunchbang as main distribution for my home computer and I may even talk a bit more about it in a later post ;)
The main topic here is that my num pad wad not activated by default on boot, and I had to tap Verr. Num on each login. My password having numbers, it quickly became quite boring . . .
Running Ubuntu, the solution was quite simple : installing the numlockx package from the main repository.
Gaving Debian now, I tried the same : $sudo apt-get install numlockx
The package did install actually, but seems like it was not enough. . .
To run on startup, this module had to be added to the list of apps to be started after the X server .
On my Openbox based Crunchbang, the solution was to edit my autostart.sh to add a new line :
$ echo "(sleep 5s && numlock) &" \
~/.config/openbox/autostart.sh
That's all ! CU Julien