我想打开/关闭一些在Linux上运行命令的led。
我使用Ubuntu 12.04 LTS。
我试过了
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
但没有任何效果。
试过了
setleds +num
setleds +scroll
但我收到一条错误消息,说Error reading the current settings of flags. Maybe you're not on the console?
(我在一个终端中)。
那么,我该如何执行呢?