1 Star 0 Fork 17

longcheng/kiran-cc-daemon

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
0001-fix-keybindings-Remove-power-and-logout-invalid-key-.patch 1.52 KB
一键复制 编辑 原始数据 按行查看 历史
From 355ab0e8de25da09a2426e80d0ebed4481a4f65a Mon Sep 17 00:00:00 2001
From: meizhigang <meizhigang@kylinsec.com.cn>
Date: Fri, 18 Aug 2023 16:13:38 +0800
Subject: [PATCH] fix(keybindings):Remove power and logout invalid key from
normal desktop
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
- 移除通用桌面环境中的关机和注销快捷键
Related #11242
---
data/keybindings/01-desktop-extend-key.xml | 4 ++++
data/keybindings/01-desktop-key.xml | 4 ----
2 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/data/keybindings/01-desktop-extend-key.xml b/data/keybindings/01-desktop-extend-key.xml
index e9b8d13..b11ab83 100644
--- a/data/keybindings/01-desktop-extend-key.xml
+++ b/data/keybindings/01-desktop-extend-key.xml
@@ -5,4 +5,8 @@
<KeyListEntry name="show-desktop" description="Show the desktop"/>
+ <KeyListEntry name="logout" description="Log out"/>
+
+ <KeyListEntry name="power" description="Shut down"/>
+
</KeyListEntries>
diff --git a/data/keybindings/01-desktop-key.xml b/data/keybindings/01-desktop-key.xml
index a46de6a..f1078c7 100644
--- a/data/keybindings/01-desktop-key.xml
+++ b/data/keybindings/01-desktop-key.xml
@@ -9,10 +9,6 @@
<KeyListEntry name="www" description="Launch web browser"/>
- <KeyListEntry name="logout" description="Log out"/>
-
- <KeyListEntry name="power" description="Shut down"/>
-
<KeyListEntry name="screensaver" description="Lock screen"/>
<KeyListEntry name="home" description="Home folder"/>
--
2.27.0
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/longcheng01/kiran-cc-daemon.git
git@gitee.com:longcheng01/kiran-cc-daemon.git
longcheng01
kiran-cc-daemon
kiran-cc-daemon
master

搜索帮助