How to Enable Num Lock on GNOME startup ?

by
Share this Article: Facebook0Google+0Twitter0LinkedIn0Reddit0StumbleUpon0

Question:How to Enable Num Lock on GNOME startup ?


 Answer :

su -c 'yum install numlockx'  su -c 'cp /etc/gdm/Init/Default /etc/gdm/Init/Default_backup'  su -c 'gedit /etc/gdm/Init/Default' 

And add the following lines at the end of the file before the exit 0.

if [ -x /usr/bin/numlockx ]; then

/usr/bin/numlockx on

fi
Save and exit. Now restart X server and check if num lock light is on.

window.google_render_ad();

For questions please refer to our Q/A forum at : http://ask.unixmen.com/


Share this Article: Facebook0Google+0Twitter0LinkedIn0Reddit0StumbleUpon0