配置debian后,发现键盘背光不能用了 #!/bin/bashstatus=/tmp/keyboard_led_statusif [[ ${1} == "on" ]] || [[ ! -e ${st
配置debian后,发现键盘背光不能用了
#!/bin/bashstatus=/tmp/keyboard_led_statusif [[ ${1} == "on" ]] || [[ ! -e ${status} ]]; then xset led named 'Scroll Lock' && echo "on" > ${status}else xset -led named 'Scroll Lock' && rm -f ${status}fi
保存/usr/bin/keyboard-led-control设定权限,直接设置快捷键即可