I have used copyq for a while now, and have been pleased with its performance. It seems to have stopped working. I am using UBUNTU 23.04. I have tried reinstalling it, but to no avail. Anyone got any thoughts?
Good to see you back @david.bradford
Interesting because I also faced the same situation after upgrading to Ubuntu 23.04.
The culprit is Wayland which is surprising because I was using it earlier as well. Still, there is a fix.
First step: close any running instance of CopyQ
Now, from a terminal, run it like this:
env QT_QPA_PLATFORM=xcb copyq
Check if the clipboard history is saved now. If CopyQ is working properly now, go to next step.
Step 2: Since CopyQ is working when it is run with QT_QPA_PLATFORM environment variable set, you should make the change permanent so that when Copy auto starts, it sets the required variable.
Create a backup of the desktop config file (just for the sake of it):
cp ~/.config/autostart/copyq.desktop ~/.config/autostart/copyq.desktop~
Now, open this file for editing in Nano or Gedit. I’ll use Gedit so that it is easier for anyone:
At the bottom of this file, you’ll see a line starting with Exec.
Change this line to:
Exec=env QT_QPA_PLATFORM=xcb copyq
Step 3: save the file and reboot your system.
CopyQ should auto start and work properly now.
This is mentioned in their documentation.