Me gustaría activar / desactivar algunos de mis leds ejecutando un comando en linux.
Yo uso Ubuntu 12.04 LTS.
Lo intenté
xset led named "Scroll Lock"
xset led named "Num Lock"
xset led 2 (this is the number of Scroll Lock as `xset q` says)
xset led 1
Pero nada funciona.
Intentó
setleds +num
setleds +scroll
pero recibí un mensaje de error que decía Error reading the current settings of flags. Maybe you're not on the console?(estaba en una terminal).
Entonces, ¿cómo puedo realizar esto?