2011/11/12

[ArchLinux]開機時啟動Num Lock

X.org

If you use startx to start your X session, simply install the numlockx package and add it to your ~/.xinitrc file.
Install numlockx:
# pacman -S numlockx
Add it to ~/.xinitrc before exec:
#!/bin/sh
#
# ~/.xinitrc
#
# Executed by startx (run your window manager from here)
#

numlockx &

exec your_window_manager