Zan*_*nna 12
事实证明,Ubuntu MATE 的默认安装中内置的 MATE-Tweak 具有启用键盘 LED 指示灯的选项
在Interface 下,选中该框Enable keyboard LED
现在,您的指示器面板中有三个键锁图标 - 每个键一个。这是 Caps Lock 打开但其他锁关闭时的样子:
免责声明:我是该指标的作者
该lks-indicator锁定键的显示状态,如大写锁定,滚动锁定,和Num Lock。虽然最初是为 Unity 桌面编写的,但它可以与其他一些人一起使用,特别是与 MATE 一起使用。它具有忽略某些键或显示所有键并指示哪个键处于活动状态的选项。
如图所示,-h它有几个命令行选项:
usage: lks-indicator [-h] [--show-all]
[--ignore-keys IGNORE_KEYS [IGNORE_KEYS ...]]
lks-indicator - Indicates on/off status of Lock keys.
optional arguments:
-h, --help show this help message and exit
--show-all Show all keys, and mark switched-on keys by surrounding with brackets.
--ignore-keys IGNORE_KEYS [IGNORE_KEYS ...]
Ignore specified keys (C, N or S).
Run Code Online (Sandbox Code Playgroud)
启动就像在命令行中运行一样简单(从指标所在的同一目录中运行)
python lks-indicator
Run Code Online (Sandbox Code Playgroud)
要关闭指标,请使用Quit按钮。使用Ctrl+C不适用于指标。
该指标可在GitHub 上获得
对于那些安装了 git 的人:
cd /optsudo git clone https://github.com/SergKolo/lks-indicator.gitchmod -R +x /opt/lks-indicator/如果你还没有git安装,请运行sudo apt-get install git
或者,您可以将存储库下载为zip 文件。
wget https://github.com/SergKolo/lks-indicator/archive/master.zip
Run Code Online (Sandbox Code Playgroud)
如下所示,指示器显示绿色图标和当前处于活动状态的键。未使用任何键时,图标保持绿色
该指标有一些更新:
-m选项一起使用| 归档时间: |
|
| 查看次数: |
5088 次 |
| 最近记录: |