Home
Categories
WIKI
Topic
User
LANGUAGE:
中文
English
从ubuntu论坛上找到linux下打不开键盘背光的解决方法
Experiences and Insight
1019
views ·
1
replies ·
To
floor
Go
woaideepin
deepin
2013-02-28 00:01
Author
#! /bin/bash
#num - 0, caps - 0, scroll - 0 LED mask: 00000000
#num - 0, caps - 1, scroll - 0 LED mask: 00001001
#num - 1, caps - 0, scroll - 0 LED mask: 00000002
#num - 1, caps - 1, scroll - 0 LED mask: 00001003
#num - 0, caps - 0, scroll - 1 LED mask: 00000004
#num - 0, caps - 1, scroll - 1 LED mask: 00001005
#num - 1, caps - 0, scroll - 1 LED mask: 00000006
#num - 1, caps - 1, scroll - 1 LED mask: 00001007
leds=`xset q | grep LED | cut -c66`
case $leds in
0 | 1 | 2 | 3 )
xset led 3 ;;
4 | 5 | 6 | 7 )
xset -led 3 ;;
esac
Copy the Code
Reply
Like 0
Favorite
View the author
All Replies
cxbii
deepin
2013-02-28 00:12
#1
加入社区百科。lz辛苦!
Reply
Like 0
View the author
Please
sign
in first
New Thread
Popular Ranking
Change
Install problem (09_ostree_sys_init.job hooks)
Closing lid, but display still active.
Display not correctly identified (sort of)
Volume slider jumps away from click
Unable to log in to deepin ID
Wrong taskbar icon
Popular Events
More