!12 reset win-key-release gsettings key value
From: @tanyulong2021 Reviewed-by: @dou33 Signed-off-by: @dou33
This commit is contained in:
commit
c99df58fca
28
0006-ukui-session-session-application.patch
Normal file
28
0006-ukui-session-session-application.patch
Normal file
@ -0,0 +1,28 @@
|
|||||||
|
From 5d42662e88b950b69ca49f0ad79e813b8b0ecd23 Mon Sep 17 00:00:00 2001
|
||||||
|
From: tanyulong <tanyulong@kylinos.cn>
|
||||||
|
Date: Tue, 7 Dec 2021 15:34:59 +0800
|
||||||
|
Subject: [PATCH] ukui-session/sessionapplication.cpp
|
||||||
|
|
||||||
|
---
|
||||||
|
ukui-session/sessionapplication.cpp | 5 +++++
|
||||||
|
1 file changed, 5 insertions(+)
|
||||||
|
|
||||||
|
diff --git a/ukui-session/sessionapplication.cpp b/ukui-session/sessionapplication.cpp
|
||||||
|
index 5f6243c..1688c40 100755
|
||||||
|
--- a/ukui-session/sessionapplication.cpp
|
||||||
|
+++ b/ukui-session/sessionapplication.cpp
|
||||||
|
@@ -56,6 +56,11 @@ void SessionApplication::InitialEnvironment()
|
||||||
|
gs->set("canhibernate",false);
|
||||||
|
}
|
||||||
|
|
||||||
|
+ //在打开关机管理界面后通过物理按键的方式关机/重启
|
||||||
|
+ //将导致win-key-release键值为true
|
||||||
|
+ //造成大部分热键和组合键失效
|
||||||
|
+ //所以在登录进来时恢复默认值
|
||||||
|
+ //gs->reset("win-key-release");
|
||||||
|
//检查qt主题是否安装
|
||||||
|
const QByteArray qt_style(QT5_UKUI_STYLE);
|
||||||
|
QByteArray QT_QPA_PLATFORMTHEME;
|
||||||
|
--
|
||||||
|
2.30.0
|
||||||
|
|
||||||
@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
Name: ukui-session-manager
|
Name: ukui-session-manager
|
||||||
Version: 3.0.2
|
Version: 3.0.2
|
||||||
Release: 6
|
Release: 7
|
||||||
Summary: Session manager of the UKUI desktop environment
|
Summary: Session manager of the UKUI desktop environment
|
||||||
License: LGPL-2.1+ GPL-3+
|
License: LGPL-2.1+ GPL-3+
|
||||||
URL: http://www.ukui.org
|
URL: http://www.ukui.org
|
||||||
@ -27,6 +27,7 @@ patch1: 0002-reset-changelog-and-format.patch
|
|||||||
patch2: 0003-adjust-the-sequence-to-make-translation-file-loaded-first.patch
|
patch2: 0003-adjust-the-sequence-to-make-translation-file-loaded-first.patch
|
||||||
patch3: 0004-add-startlogout-signal.patch
|
patch3: 0004-add-startlogout-signal.patch
|
||||||
patch4: 0005-update-debian-changelog.patch
|
patch4: 0005-update-debian-changelog.patch
|
||||||
|
patch5: 0006-ukui-session-session-application.patch
|
||||||
|
|
||||||
%description
|
%description
|
||||||
This package contains a session that can be started from a display
|
This package contains a session that can be started from a display
|
||||||
@ -41,6 +42,7 @@ patch4: 0005-update-debian-changelog.patch
|
|||||||
%patch2 -p1
|
%patch2 -p1
|
||||||
%patch3 -p1
|
%patch3 -p1
|
||||||
%patch4 -p1
|
%patch4 -p1
|
||||||
|
%patch5 -p1
|
||||||
|
|
||||||
%build
|
%build
|
||||||
mkdir cmake-build
|
mkdir cmake-build
|
||||||
@ -74,6 +76,9 @@ rm -rf $RPM_BUILD_ROOT
|
|||||||
#%%{_datadir}/man/man1/ukui-session-tools.1.gz
|
#%%{_datadir}/man/man1/ukui-session-tools.1.gz
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Tue Dec 07 2021 tanyulong <tanyulong@kylinos.cn> - 3.0.2-7
|
||||||
|
- add patch: 0006-ukui-session-session-application.patch
|
||||||
|
|
||||||
* Thu Dec 02 2021 tanyulong <tanyulong@kylinos.cn> - 3.0.2-6
|
* Thu Dec 02 2021 tanyulong <tanyulong@kylinos.cn> - 3.0.2-6
|
||||||
- update debian changelog
|
- update debian changelog
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user