CopyQ clipboard manager global shortcut to show/hide main window does not work on Ubuntu 21.04 (doesn't work under Wayland windows manager)
CopyQ clipboard manager global shortcut to show/hide main window does not work on Ubuntu 21.04 (doesn't work under Wayland windows manager)
Workaround is assigning a shortcut in Gnome
Open Setting from the top bar, select keyboard shortcuts
Scroll to the bottom and hit "+"
Enter the name of your choice, type
copyq -e "toggle()"
in the Command fieldHit Set Shortcut and press your favorite keys.
To have the CopyQ window focused using the workaround suggested by quinta, try checking "Always on top" in CopyQ settings, General.
Just like the top answer by @quinta, set the Gnome Settings Custom Keyboard shortcuts which take precedence on a Ubuntu desktop system. However instead of opening the main window with
copyq toggle
, we will use a different command to open its menu. I think its more streamlined to open copyqs menu as its more compact.Open Setting from the top bar, select keyboard shortcuts
Scroll to the bottom and hit "+"
Set the command instead to
copyq menu
Hit Set Shortcut and press your favorite keys.
From the menu, you can use the arrow keys and hit enter to open the Main Window
Another solution to consider would be to choose "Ubuntu on XOrg" in the login screen and keep using XOrg for a bit more until remaining Wayland issues are ironed out, hopefully in the next release.
(Click on the gear icon in the bottom right corner of the login screen. If it is not there, go to the password prompt step.)