Home
Categories
WIKI
Topic
User
LANGUAGE:
中文
English
【分享】使用外置键盘背光灯
deepin Talks
1004
views ·
2
replies ·
To
floor
Go
herdde
deepin
2017-08-11 05:24
Author
新建 beiguang.sh
粘贴以下内容
#!/bin/bash
if [ "$1" = "on" ] ||[ "$1" = "ON" ]; then
xset led named 'Scroll Lock'
elif [ "$1" = "off" ] ||[ "$1" = "OFF" ]; then
xset -led named 'Scroll Lock'
else
echo "Usage: $0 on/off"
exit 1
fi
exit 0
Copy the Code
在属性添加可执行权限
使用方法:
打开背光:./beiguang.sh on
关闭背光:./beiguang.sh off
Reply
Like 0
Favorite
View the author
All Replies
jingle
deepin
2017-08-11 05:32
#1
这个可以有
Reply
Like 0
View the author
wangyong
deepin
2017-08-11 07:20
#2
厉害
Reply
Like 0
View the author
Please
sign
in first
Featured Collection
Change
Nuntia - Modern IMAP/SMTP mail client for Deepin (Beta tester wanted!)
[Tutorial] deepin25 WSL Offline Installation Guide
UOS AI 2.8 Released! Three New Intelligent Agents & Major Evolution
Solid Q&A | deepin 25 Common Questions – The Immutable System Edition
New Thread
Popular Ranking
Change
Four agent skills for laptop power, sleep, and honest bug reports
Installing qemu-user breaks deepin
Adding a Dancing Spectrum Bar to the Deepin Taskbar | deepin-spectrum
Popular Events
More
粘贴以下内容
使用方法:
打开背光:./beiguang.sh on
关闭背光:./beiguang.sh off