You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
A clear and concise description of what the bug is.
copy some text from different sources, try to read the content of clipboard in CopyQ, nothing. To Reproduce
Steps to reproduce the behavior:
Go to '.some text..'
Click on 'ctrl c...'
Scroll down to '...'
See nothing in copyq
Expected behavior
A clear and concise description of what you expected to happen.
content from clipboard in copyq Screenshots
If applicable, add screenshots to help explain your problem.
CopyQ
Clipboard Manager
v3.9.2 Version, OS and Environment Fedora 31 beta
Additional context
Add any other context about the problem here.
on trying to start copyq in terminal " Warning: CopyQ server is already running."
Reacted by Kristjan ESPERANTO, Spacewalker2, Simone Perriello, Mateja Petrovic, Mason Wan, Kenichi Kamiya, Saguaro Prole, Ivan, Alexander Strizhak, Arash Sal Moslehian and 3 more
Today copyq will not start, I would like to use it.
I remove copyq from PC (Fedora 31 beta)
and install new.
try to open copyq. Click on icon and nothing happens.
type copyq in terminal message: Warning: CopyQ server is already running.
GUI of copyq opens when I type in terminal
It says <0> EMPTY
I copy a text (select and CTRL-C)
after that in GUI of copyq I open Show Clipboard Content, a new window opens. without any content.
Looks like CopyQ cannot access clipboard for some reason -- or more specifically mouse selection. It seems you are running Wayland (as opposed to X11) and I thought it doesn't support selection.
You can try disabling all options under "Clipboard Manipulation" except "Store Clipboard" in CopyQ configuration:
CopyQ Warning [2019-10-31 16:13:56.013] <Server-1796987>: Failed to set global shortcut "Ctrl+Shift+G" for command "Google".
CopyQ ERROR [2019-10-31 16:13:56.085] <monitorClipboard-1796997>: Null data in selection.
CopyQ Warning [2019-10-31 16:13:56.085] <monitorClipboard-1796997>: Failed to retrieve selection data (try 1/3)
CopyQ ERROR [2019-10-31 16:13:56.085] <monitorClipboard-1796997>: Null data in selection.
CopyQ Warning [2019-10-31 16:13:56.086] <monitorClipboard-1796997>: Failed to retrieve selection data (try 2/3)
CopyQ ERROR [2019-10-31 16:13:57.114] <monitorClipboard-1796997>: Null data in selection.
CopyQ Warning [2019-10-31 16:13:57.115] <monitorClipboard-1796997>: Failed to retrieve selection data (try 3/3)
CopyQ ERROR [2019-10-31 16:13:58.615] <monitorClipboard-1796997>: Null data in selection.
CopyQ Warning [2019-10-31 16:13:58.615] <monitorClipboard-1796997>: Failed to retrieve selection data (try 3/3)
CopyQ Warning [2019-10-31 16:14:44.884] <Server-1798041>: CopyQ server is already running.
CopyQ Warning [2019-10-31 16:15:22.008] <Server-1796987>: Failed to set global shortcut "Ctrl+Shift+G" for command "Google".
CopyQ ERROR [2019-10-31 16:15:22.069] <monitorClipboard-1798772>: Null data in selection.
CopyQ Warning [2019-10-31 16:15:22.069] <monitorClipboard-1798772>: Failed to retrieve selection data (try 1/3)
CopyQ ERROR [2019-10-31 16:15:22.070] <monitorClipboard-1798772>: Null data in selection.
CopyQ Warning [2019-10-31 16:15:22.070] <monitorClipboard-1798772>: Failed to retrieve selection data (try 2/3)
CopyQ ERROR [2019-10-31 16:15:23.122] <monitorClipboard-1798772>: Null data in selection.
CopyQ Warning [2019-10-31 16:15:23.122] <monitorClipboard-1798772>: Failed to retrieve selection data (try 3/3)
CopyQ Warning [2019-10-31 16:15:23.673] <Server-1796987>: Failed to set global shortcut "Ctrl+Shift+G" for command "Google".
CopyQ ERROR [2019-10-31 16:15:23.790] <monitorClipboard-1798834>: Null data in selection.
CopyQ Warning [2019-10-31 16:15:23.790] <monitorClipboard-1798834>: Failed to retrieve selection data (try 1/3)
CopyQ ERROR [2019-10-31 16:15:23.790] <monitorClipboard-1798834>: Null data in selection.
CopyQ Warning [2019-10-31 16:15:23.790] <monitorClipboard-1798834>: Failed to retrieve selection data (try 2/3)
CopyQ ERROR [2019-10-31 16:15:24.742] <monitorClipboard-1798834>: Null data in selection.
CopyQ Warning [2019-10-31 16:15:24.743] <monitorClipboard-1798834>: Failed to retrieve selection data (try 3/3)
CopyQ ERROR [2019-10-31 16:15:26.168] <monitorClipboard-1798834>: Null data in selection.
CopyQ Warning [2019-10-31 16:15:26.169] <monitorClipboard-1798834>: Failed to retrieve selection data (try 3/3)
Looks like it's not possible to access clipboard with Qt unless the window requesting the access is focused.
This is also somewhat related: Custom notifications (a "tooltip" window) gets focused when they pop up and it doesn't seem to be possible to show them without focus (I messed around with window attributes). Couple of other Qt applications are broken because they use some special window behaviors (e.g. smplayer cannot embed video player window, konsole doesn't show menus).
It could be a bug in Gnome.
Below is short snippet to test the clipboard access (uses PyQt5). If you click "Update" button it gets formats currently in clipboard. Clicking "Get" gets the selected format. You can select the format in combo box, but opening the combo list somehow breaks clipboard access so Get and Update buttons no longer work unless the window is deactivated and activated again.
Workaround is to set QT_QPA_PLATFORM environment variable and use Xwayland (xorg-x11-server-Xwayland fedora package) to handle X11 apps.
E.g. launch CopyQ with:
env QT_QPA_PLATFORM=xcb copyq
If CopyQ autostarts, you can change Exec=... line in ~/.config/autostart/copyq.desktop:
Exec=env QT_QPA_PLATFORM=xcb copyq
Reacted by Raúl Garcia Sanchez, Patrick Carney, Paulo Ricardo Ribeiro, Daiki Kohara, yusufbarisk, Roman Inflianskas, alan, Ziyad Edris, Ivan, Kyle Behrens and 4 more
Activity
hluk commentedon Oct 28, 2019
What do you mean by "See nothing in copyq"? Can you be more specific?
tuxedotje commentedon Oct 28, 2019
Today copyq will not start, I would like to use it.
I remove copyq from PC (Fedora 31 beta)
and install new.
try to open copyq. Click on icon and nothing happens.
type copyq in terminal message: Warning: CopyQ server is already running.
GUI of copyq opens when I type in terminal
It says <0> EMPTY
I copy a text (select and CTRL-C)
after that in GUI of copyq I open Show Clipboard Content, a new window opens. without any content.
hluk commentedon Oct 28, 2019
If CopyQ is running, you can run
copyq showto show the main window.Run
copyq logs|tail -50to list recent logs. There might be some warnings or errors.tuxedotje commentedon Oct 30, 2019
copyq logs|tail -50
CopyQ Warning [2019-10-28 06:44:45.887] : Failed to retrieve selection data (try 3/3)
CopyQ ERROR [2019-10-28 06:44:47.314] : Null data in selection.
CopyQ Warning [2019-10-28 06:44:47.314] : Failed to retrieve selection data (try 3/3)
CopyQ Warning [2019-10-28 06:46:31.757] : CopyQ server is already running.
CopyQ ERROR [2019-10-28 06:47:18.197] : Null data in selection.
CopyQ Warning [2019-10-28 06:47:18.197] : Failed to retrieve selection data (try 1/3)
CopyQ ERROR [2019-10-28 06:47:26.896] : Null data in selection.
CopyQ Warning [2019-10-28 06:47:26.896] : Failed to retrieve selection data (try 1/3)
CopyQ ERROR [2019-10-28 06:47:26.896] : Null data in selection.
CopyQ Warning [2019-10-28 06:47:26.896] : Failed to retrieve selection data (try 2/3)
CopyQ ERROR [2019-10-28 06:47:27.848] : Null data in selection.
CopyQ Warning [2019-10-28 06:47:27.848] : Failed to retrieve selection data (try 3/3)
CopyQ ERROR [2019-10-28 06:47:29.275] : Null data in selection.
CopyQ Warning [2019-10-28 06:47:29.275] : Failed to retrieve selection data (try 3/3)
CopyQ Warning [2019-10-28 06:50:47.966] : CopyQ server is already running.
CopyQ Warning [2019-10-28 06:51:35.903] : CopyQ server is already running.
CopyQ Warning [2019-10-28 08:13:05.015] : CopyQ server is already running.
CopyQ ERROR [2019-10-28 14:32:34.037] : Null data in selection.
CopyQ Warning [2019-10-28 14:32:34.038] : Failed to retrieve selection data (try 1/3)
CopyQ ERROR [2019-10-28 14:32:34.038] : Null data in selection.
CopyQ Warning [2019-10-28 14:32:34.038] : Failed to retrieve selection data (try 2/3)
CopyQ ERROR [2019-10-28 14:32:35.090] : Null data in selection.
CopyQ Warning [2019-10-28 14:32:35.090] : Failed to retrieve selection data (try 3/3)
CopyQ ERROR [2019-10-28 14:32:36.667] : Null data in selection.
CopyQ Warning [2019-10-28 14:32:36.667] : Failed to retrieve selection data (try 3/3)
CopyQ Warning [2019-10-28 14:32:40.413] : CopyQ server is already running.
CopyQ Warning [2019-10-28 14:33:47.563] : CopyQ server is already running.
CopyQ Warning [2019-10-28 14:34:19.202] : CopyQ server is already running.
CopyQ Warning [2019-10-28 14:34:38.191] : CopyQ server is already running.
CopyQ ERROR [2019-10-28 20:57:15.940] : QtFatal: The Wayland connection broke. Did the Wayland compositor die? (:0, )
CopyQ ERROR [2019-10-29 14:21:08.766] : Null data in selection.
CopyQ Warning [2019-10-29 14:21:08.774] : Failed to retrieve selection data (try 1/3)
CopyQ ERROR [2019-10-29 14:21:08.774] : Null data in selection.
CopyQ Warning [2019-10-29 14:21:08.774] : Failed to retrieve selection data (try 2/3)
CopyQ ERROR [2019-10-29 14:21:09.726] : Null data in selection.
CopyQ Warning [2019-10-29 14:21:09.726] : Failed to retrieve selection data (try 3/3)
CopyQ ERROR [2019-10-29 14:21:11.208] : Null data in selection.
CopyQ Warning [2019-10-29 14:21:11.208] : Failed to retrieve selection data (try 3/3)
CopyQ Warning [2019-10-29 14:22:05.585] : CopyQ server is already running.
CopyQ ERROR [2019-10-29 16:06:02.923] : QtFatal: The Wayland connection broke. Did the Wayland compositor die? (:0, )
CopyQ ERROR [2019-10-30 15:02:50.435] : Null data in selection.
CopyQ Warning [2019-10-30 15:02:50.435] : Failed to retrieve selection data (try 1/3)
CopyQ ERROR [2019-10-30 15:02:50.435] : Null data in selection.
CopyQ Warning [2019-10-30 15:02:50.436] : Failed to retrieve selection data (try 2/3)
CopyQ ERROR [2019-10-30 15:02:51.386] : Null data in selection.
CopyQ Warning [2019-10-30 15:02:51.386] : Failed to retrieve selection data (try 3/3)
CopyQ ERROR [2019-10-30 15:02:52.812] : Null data in selection.
CopyQ Warning [2019-10-30 15:02:52.812] : Failed to retrieve selection data (try 3/3)
CopyQ Warning [2019-10-30 15:03:29.529] : CopyQ server is already running.
CopyQ Warning [2019-10-30 15:06:15.425] : CopyQ server is already running.
hluk commentedon Oct 30, 2019
Looks like CopyQ cannot access clipboard for some reason -- or more specifically mouse selection. It seems you are running Wayland (as opposed to X11) and I thought it doesn't support selection.
You can try disabling all options under "Clipboard Manipulation" except "Store Clipboard" in CopyQ configuration:
rgarcia89 commentedon Oct 31, 2019
That is unfortunately not working neither.
hluk commentedon Oct 31, 2019
Oh, sorry, I pasted wrong screenshot. The configuration to avoid checking mouse selection should be like this:
@rgarcia89 Can you please check again?
rgarcia89 commentedon Nov 1, 2019
Doesn't work neither. It is also not able to set the shortcuts like you can see here
hluk commentedon Nov 1, 2019
Setting global shortcuts in Wayland is not supported (not sure if they already have a generic API for it).
rgarcia89 commentedon Nov 1, 2019
So this means that nothing of copyq is currently usable under fedora 31 and wayland... Thats really bad 🙈
hluk commentedon Nov 1, 2019
I'm going to update to F31 soon and see if Wayland is finally usable for me. I'll try to fix these issues while I'm at it. :)
[-]Fedora 31 beta, no clipboard content in CopyQ[/-][+]Wayland: No clipboard content[/+]hluk commentedon Nov 2, 2019
OK, I've upgraded to F31.
Looks like it's not possible to access clipboard with Qt unless the window requesting the access is focused.
This is also somewhat related: Custom notifications (a "tooltip" window) gets focused when they pop up and it doesn't seem to be possible to show them without focus (I messed around with window attributes). Couple of other Qt applications are broken because they use some special window behaviors (e.g.
smplayercannot embed video player window,konsoledoesn't show menus).It could be a bug in Gnome.
Below is short snippet to test the clipboard access (uses PyQt5). If you click "Update" button it gets formats currently in clipboard. Clicking "Get" gets the selected format. You can select the format in combo box, but opening the combo list somehow breaks clipboard access so Get and Update buttons no longer work unless the window is deactivated and activated again.
hluk commentedon Nov 2, 2019
Workaround is to set
QT_QPA_PLATFORMenvironment variable and use Xwayland (xorg-x11-server-Xwaylandfedora package) to handle X11 apps.E.g. launch CopyQ with:
If CopyQ autostarts, you can change
Exec=...line in~/.config/autostart/copyq.desktop:37 remaining items
Add support for monitoring clipboard in GNOME
Add support for monitoring clipboard in GNOME
Add support for monitoring clipboard in GNOME
Add support for monitoring clipboard in GNOME
Add support for monitoring clipboard in GNOME
Add support for monitoring clipboard in GNOME
Add support for monitoring clipboard in GNOME
Add support for monitoring clipboard in GNOME
Add support for monitoring clipboard in GNOME
Add support for monitoring clipboard in GNOME
Add support for monitoring clipboard in GNOME
hluk commentedon Feb 20, 2026
The next version of CopyQ will include a GNOME extension that enables the clipboard monitoring natively (on GNOME Wayland session). See #3434.
Add support for monitoring clipboard in GNOME
rgarcia89 commentedon Feb 20, 2026
@hluk when can we count with the next release? I need this fix 😆