First, install numlockx
sudo apt-get install numlockx
Then create a script to turn it on.
sudo gedit /etc/init.d/numlockon
Enter these two lines of code to your blank script. Save and close gedit.
#!/bin/bash
numlockx on
Make your script executable
sudo chmod +x /etc/init.d/numlockon
Then type this thing that does something that makes it work..
sudo update-rc.d /etc/init.d/numlockon defaults
Reboot and enjoy having a functioning numpad!
Tuesday, May 5, 2009
Subscribe to:
Posts (Atom)