Skip to content

Add Wayland support#1

Open
progressEdd wants to merge 3 commits intotelesoho:mainfrom
progressEdd:main
Open

Add Wayland support#1
progressEdd wants to merge 3 commits intotelesoho:mainfrom
progressEdd:main

Conversation

@progressEdd
Copy link

@progressEdd progressEdd commented Mar 8, 2026

Hello,
Full disclaimer: I vibecoded this using opencode, GLM 5, and gsd. I have no prior experience with typescript and just told the llm to build in wayland support using the existing codebase as reference.

I wanted to add wayland support on linux, as the latest vscodium update switched away from xclip. There was some bugs with maintaining the linux_*.sh scripts, so to make it simple, I had GLM split it out

I replicated the vscode markdown paste repo and I tested to see if the code works.
This patch should resolve the issues here in the :
telesoho/vscode-markdown-paste-image#96
telesoho/vscode-markdown-paste-image#116

markdown-paste-demo-2026-03-08_14-14-45.mp4

Attached is a recording of the update code running on my wayland machine

- Add Wayland clipboard support using wl-copy/wl-paste
- Implement automatic display server detection (X11/Wayland)
- Refactor scripts with tool-specific naming (xclip_*/wl_clipboard_*)
- Add unified LinuxClipboard with backend auto-selection
- Add comprehensive tests for detection and backend selection
- Update README with Wayland support details
@progressEdd progressEdd changed the title Add Wayland Add Wayland support Mar 8, 2026
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