Install cairo-dock-remote-control-plug-in by entering the following commands in the terminal:
sudo apt update sudo apt install cairo-dock-remote-control-plug-in
Remote control plug-in for Cairo-dock
A collection of official plug-ins and applets for cairo-dock. . This plug-in lets you control dock from the keyboard, or even a remote controller.