Page 1 of 1

Linux_x64 - Unable to Open clipboard error

Posted: Tue Jul 01, 2025 9:08 pm
by NathanH
Hi,

The following code on Linux_x64 (Ubuntu 24.04 with Wayland disabled) produces an "Unable to open clipboard error".

Code: Select all

@DISPLAY{Hidden=True}
@OPTIONS{Quiet=True}
type, data$=GetClipboard()
NathanH

Re: Linux_x64 - Unable to Open clipboard error

Posted: Mon Jul 07, 2025 10:43 pm
by airsoftsoftwair
That's a feature. It's impossible to access the clipboard on Linux without an X11 display so you won't be able to access the clipboard if there is no display I'm afraid. Workaround: Open a dummy window somewhere outside the bounds of the screen and hide it, then you should be able to get clipboard access or use some console tools like xclip etc.

Re: Linux_x64 - Unable to Open clipboard error

Posted: Mon Jul 14, 2025 9:58 pm
by NathanH
Thank you for the explanation and workaround.

NathanH