CopyQ icon indicating copy to clipboard operation
CopyQ copied to clipboard

Copyq stopped working on Ubuntu 23.04

Open Rik44444 opened this issue 2 years ago • 11 comments

Hi, Copyq is no longer working for me after updating from Ubuntu 22.10 to 23.04. The app launches, but things that I copy are no longer added to Copyq. Running Copyq 6.4.0 from Ubuntu repo. Ubuntu 23.04, Gnome 44. Rik

Rik44444 avatar Apr 26 '23 14:04 Rik44444

I experience similar behavior even after upgrading to 7.0.0~lunar.

Warning [2023-04-27 04:52:02.531] <monitorClipboard-4477>: [default] QtWarning: Activating Wayland clipboard took 5000 ms
ERROR [2023-04-27 04:52:02.533] <monitorClipboard-4477>: [default] QtCritical: Failed to activate Wayland clipboard

alaendle avatar Apr 27 '23 02:04 alaendle

Having the same issue here. Tested with the latest 7.0.0. version.

Getting the same error as @alaendle.

Ubuntu 23.04 Gnome 44.

UglyWillDuckling avatar Apr 28 '23 10:04 UglyWillDuckling

Same issue here, but this is not exclusive to Ubuntu. I am on Fedora 37 (copyq-7.0.0-1.fc37.x86_64) and have the same log entries and CopyQ does not store anything at all.

luckylittle avatar May 02 '23 21:05 luckylittle

AFAIK Ubuntu on Wayland does not support clipboard monitoring. Clipboard manager would need to be a Gnome Shell extension.

Possible workaround is to start CopyQ in XWayland mode: https://copyq.readthedocs.io/en/latest/known-issues.html#on-linux-global-shortcuts-pasting-or-clipboard-monitoring-does-not-work

env QT_QPA_PLATFORM=xcb copyq

hluk avatar May 04 '23 12:05 hluk

@hluk - Many thanks - have not tested extensively, but on a first look the suggested workaround solves my problem 👍 .

alaendle avatar May 04 '23 17:05 alaendle

AFAIK Ubuntu on Wayland does not support clipboard monitoring. Clipboard manager would need to be a Gnome Shell extension.

Possible workaround is to start CopyQ in XWayland mode: https://copyq.readthedocs.io/en/latest/known-issues.html#on-linux-global-shortcuts-pasting-or-clipboard-monitoring-does-not-work

env QT_QPA_PLATFORM=xcb copyq

This worked for me, just I cant drag items to other tabs .

Hennie-git avatar Jun 06 '23 14:06 Hennie-git

So, this is really an issue with Wayland? It's missing a feature?

black-snow avatar Jul 02 '23 11:07 black-snow

@hluk's workaround did the work for me:

Exec=env QT_QPA_PLATFORM=xcb /usr/bin/copyq

dimisjim avatar Jul 23 '23 15:07 dimisjim

Just reporting this is also an issue on Fedora 39.

voltagex avatar Jan 07 '24 01:01 voltagex

This problem still exists in Fedora 40 with GNOME desktop environment under Wayland session. @hluk's fix works for me as well.

RealBrandon avatar Jun 16 '24 14:06 RealBrandon