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

