Deepin – How to Create a Toggle Shortcut for the Control Center

deepinkeyboard shortcutssettings

The Deepin Control Center cannot be launched with a shortcut. It is a panel that appears on the right side of the screen containing all the Deepin settings.

What is the command that could be associated with a shortcut in order to show and hide that panel?

Best Answer

As seen in the file /usr/share/applications/dde-control-center.desktop, the Exec line is Exec=dbus-send --print-reply --dest=com.deepin.dde.ControlCenter /com/deepin/dde/ControlCenter com.deepin.dde.ControlCenter.Show

Using Toggle instead of Show would better serve our purpose.

So, create a new shortcut with the command

dbus-send --print-reply --dest=com.deepin.dde.ControlCenter /com/deepin/dde/ControlCenter com.deepin.dde.ControlCenter.Toggle

enter image description here

enter image description here

Related Question