fix(fcitx-desktop):hide fcitx from kiran menu of Kiran desktop

- 在Kiran桌面环境的开始菜单中隐藏fcitx启动器
This commit is contained in:
yuanxing 2022-07-27 15:25:11 +08:00
parent d1d51608d9
commit 41087d88b8
2 changed files with 33 additions and 1 deletions

View File

@ -0,0 +1,26 @@
From 0f36ded2d5a9425f78d506c25a064578ef377d56 Mon Sep 17 00:00:00 2001
From: yuanxing <yuanxing@kylinos.com.cn>
Date: Wed, 27 Jul 2022 15:21:36 +0800
Subject: [PATCH] fix(fcitx-desktop):hide fcitx from kiran-menu of Kiran
desktop
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
- 在kiran桌面环境的开始菜单中隐藏fcitx启动器
---
data/fcitx.desktop.in | 1 +
1 file changed, 1 insertion(+)
diff --git a/data/fcitx.desktop.in b/data/fcitx.desktop.in
index 97b042d..1f555f8 100644
--- a/data/fcitx.desktop.in
+++ b/data/fcitx.desktop.in
@@ -12,3 +12,4 @@ X-GNOME-AutoRestart=false
X-GNOME-Autostart-Notify=false
X-KDE-autostart-after=panel
X-KDE-StartupNotify=false
+X-KIRAN-NoDisplay=true
--
2.27.0

View File

@ -5,7 +5,7 @@
Name: fcitx
Summary: An input method framework
Version: 4.2.9.7
Release: 1
Release: 2
License: GPLv2+
URL: https://fcitx-im.org/wiki/Fcitx
Source0: http://download.fcitx-im.org/fcitx/%{name}-%{version}_dict.tar.xz
@ -18,6 +18,8 @@ Requires: %{name}-libs%{?_isa} = %{version}-%{release}
Requires(post): %{_sbindir}/alternatives
Requires(postun): %{_sbindir}/alternatives
Patch1: 0001-fix-fcitx-desktop-hide-fcitx-from-kiran-menu-of-Kira.patch
%description
Fcitx is an input method framework with extension support. Currently it
supports Linux and Unix systems like FreeBSD.
@ -45,6 +47,7 @@ developing programs using Fcitx libraries.
%prep
%setup -q
%patch1 -p1
%build
mkdir -p build
@ -192,5 +195,8 @@ fi
%{_datadir}/gir-1.0/Fcitx-1.0.gir
%changelog
* Wed Jul 27 2022 yuanxing <yuanxing@kylinsec.com.cn> - 4.2.9.7-2
- hide fcitx from kiran-menu of kiran-desktop
* Tue Dec 22 2020 weidong <weidong@uniontech.com> - 4.2.9.7-1
- Initial Package