How to Enable Num Lock on GNOME startup ?

by

Please shareShare on FacebookShare on Google+Tweet about this on TwitterShare on LinkedInShare on RedditDigg thisShare on StumbleUpon

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();