Ser*_*nyy 11
Super如果任何 X11 窗口处于全屏模式,以下脚本将禁用键。它旨在作为启动应用程序添加,但也可以在独立模式下运行。
要手动运行脚本,只需执行以下操作:
python disable_super_key.py
Run Code Online (Sandbox Code Playgroud)
为了使脚本在登录时自动启动,请参阅如何在登录时自动启动应用程序?
可以从这个答案中复制脚本源,或者通过克隆我的GitHub存储库来获取它。
给那些有的人的说明git:
cd /optsudo git clone https://github.com/SergKolo/sergrep.gitchmod -R +x sergrep该脚本将位于 /opt/sergrep/disable_super_key.py
python disable_super_key.py
Run Code Online (Sandbox Code Playgroud)
如果需要调试,请将第 32 行从 更改debug = False为debug = True并从命令行运行脚本
| 归档时间: |
|
| 查看次数: |
456 次 |
| 最近记录: |