Skip to content

Commit

Permalink
fix: Processing Deepin25 Jump Control Center
Browse files Browse the repository at this point in the history
Processing Deepin25 Jump Control Center

Log:
pms: TASK-361721
  • Loading branch information
caixr23 authored and Zeno-sole committed Dec 5, 2024
1 parent ca11396 commit a773068
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 0 deletions.
6 changes: 6 additions & 0 deletions debian/changelog
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
Expand Down
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
1 change: 1 addition & 0 deletions debian/patches/series
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,4 @@
0006-Revert-disable-ctrl-shift-enumerate-key-by-default.patch
0007-Add-Sogou-to-the-default-zh_CN-input-method-list.patch
0008-fix-remove-the-restart-icon.patch
0009-configtool-opens-dde-control-center-when-using-deepin25.patch

0 comments on commit a773068

Please sign in to comment.