-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: Processing Deepin25 Jump Control Center
Processing Deepin25 Jump Control Center Log: pms: TASK-361721
- Loading branch information
Showing
3 changed files
with
20 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,9 @@ | ||
fcitx5 (5.1.10-1deepin7) unstable; urgency=medium | ||
|
||
* Processing Deepin25 Jump Control Center | ||
|
||
-- caixiangrong <[email protected]> Thu, 05 Dec 2024 16:35:43 +0800 | ||
|
||
fcitx5 (5.1.10-1deepin6) unstable; urgency=medium | ||
|
||
* add enable autostart | ||
|
13 changes: 13 additions & 0 deletions
13
debian/patches/0009-configtool-opens-dde-control-center-when-using-deepin25.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
Index: fc/data/fcitx5-configtool.sh | ||
=================================================================== | ||
--- fc.orig/data/fcitx5-configtool.sh | ||
+++ fc/data/fcitx5-configtool.sh | ||
@@ -135,7 +135,7 @@ run_dde() { | ||
local dbus_interface="org.deepin.dde.ControlCenter1" | ||
local dcc_module="keyboard/Manage Input Methods" | ||
|
||
- if dbus-send --print-reply=literal --dest=$dbus_service $dbus_path $dbus_interface.GetAllModule 2>> /dev/null | jq --arg url "$dcc_module" -Rse 'fromjson? // error("Bad input") | any(.url == $url)' >> /dev/null 2>&1; then | ||
+ if dbus-send --print-reply=literal --dest=$dbus_service $dbus_path $dbus_interface.GetAllModule 2>> /dev/null | grep -q "$dcc_module" >> /dev/null 2>&1; then | ||
exec dbus-send --print-reply=literal --dest=$dbus_service $dbus_path $dbus_interface.ShowPage string:"$dcc_module" | ||
fi | ||
return 1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters