/usr/bin/setleds -D +num < /dev/tty7 switch on led in graphic mode also it is work on tty1-5 in console mode /usr/bin/setleds -D +num < /dev/tty1..5