From d9f8ed8e74c1836c5df9fc8286b649895826069c Mon Sep 17 00:00:00 2001 From: zsien Date: Tue, 23 Apr 2024 13:48:46 +0800 Subject: [PATCH] fix: the dock entry of deepin-system-monitor is incorrect MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 使用 dde-am 打开系统监视器 Issues: linuxdeepin/developer-center#8093 --- keybinding/shortcuts/system_shortcut.go | 2 +- misc/dde-daemon/keybinding/system_actions.json | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/keybinding/shortcuts/system_shortcut.go b/keybinding/shortcuts/system_shortcut.go index b7acd82fa..afff663ac 100644 --- a/keybinding/shortcuts/system_shortcut.go +++ b/keybinding/shortcuts/system_shortcut.go @@ -86,7 +86,7 @@ var defaultSysActionCmdMap = map[string]string{ "lock-screen": "/usr/lib/deepin-daemon/dde-lock.sh", "logout": "dbus-send --print-reply --dest=org.deepin.dde.ShutdownFront1 /org/deepin/dde/ShutdownFront1 org.deepin.dde.ShutdownFront1.Show", "deepin-screen-recorder": "dbus-send --print-reply --dest=com.deepin.ScreenRecorder /com/deepin/ScreenRecorder com.deepin.ScreenRecorder.stopRecord", - "system-monitor": "deepin-system-monitor", + "system-monitor": "dde-am deepin-system-monitor", "color-picker": "dbus-send --print-reply --dest=com.deepin.Picker /com/deepin/Picker com.deepin.Picker.Show", // screenshot actions:1 "screenshot": screenshotCmdPrefix + "StartScreenshot", diff --git a/misc/dde-daemon/keybinding/system_actions.json b/misc/dde-daemon/keybinding/system_actions.json index 46ab7b554..a30f0966e 100644 --- a/misc/dde-daemon/keybinding/system_actions.json +++ b/misc/dde-daemon/keybinding/system_actions.json @@ -13,8 +13,8 @@ "Action": "dbus-send --print-reply --dest=com.deepin.ScreenRecorder /com/deepin/ScreenRecorder com.deepin.ScreenRecorder.stopRecord" }, { - "Action": "deepin-system-monitor", - "Key": "system-monitor" + "Key": "system-monitor", + "Action": "dde-am deepin-system-monitor" }, { "Key": "deepin-picker",