Skip to content

Fix clipboard copy on Wayland Linux - #3

Open
brstream wants to merge 1 commit into
aleris:mainfrom
brstream:fix/wayland-clipboard
Open

brstream wants to merge 1 commit into
aleris:mainfrom
brstream:fix/wayland-clipboard

Conversation

@brstream

Copy link
Copy Markdown

On Wayland Linux, pressing c reports "Copied!" but the clipboard contents can disappear immediately because the temporary arboard clipboard object is dropped.

This changes the Linux clipboard path to use wl-copy, while leaving the existing arboard behavior unchanged on non-Linux platforms.

Tested on Omarchy/Hyprland with wl-paste and SUPER+V.

This fix was suggested with the help of ChatGPT using OpenAI GPT-5.6 Sol while troubleshooting woti on Wayland Linux.

Use wl-copy on Linux so copied text remains available after the clipboard object exits. This fix was suggested with the help of ChatGPT using OpenAI GPT-5.6 Sol, while troubleshooting woti on Omarchy/Wayland Linux.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant