GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — X Window (xorg) middle-click paste doesn't work · Issue #6072 · anomalyco/opencode

X Window (xorg) middle-click paste doesn't work #6072

New issue
Copy link
New issue
Copy link
Closed as not planned
Closed as not planned
X Window (xorg) middle-click paste doesn't work#6072
Copy link
Assignees
kommander

Description

@skypher
skypher
opened on Dec 23, 2025
Issue body actions

Description

Using xterm. I can't paste using middle-click. It works fine with other apps, incl. Claude Code, Codex CLI, Gemini CLI. Probably the app is grabbing mouse events.

OpenCode version

No response

Steps to reproduce

No response

Screenshot and/or share link

No response

Operating System

No response

Terminal

No response

Reacted by Sergei Ivashchenko, Pavel Snajdr, Eric Altendorf, Darko Luketic, Steve Schmerler, Sergey Egorov and Kyle Baker

Activity

  1. skypher
    added
    bugSomething isn't working
    on Dec 23, 2025
  2. github-actions
    assigned
    kommander
    on Dec 23, 2025
  3. github-actions
    added
    opentuiThis relates to changes in v1.0, now that opencode uses opentui
    on Dec 23, 2025
  4. github-actions commented on Dec 23, 2025

    @github-actions
    github-actionsBot
    on Dec 23, 2025 – with GitHub Actions
    Contributor
    More actions

    This issue might be a duplicate of existing issues. Please check:

    • Copy and Paste behaviour under Linux #4754: Copy and Paste behaviour under Linux (directly mentions middle-click paste and mouse event issues)
    • [FEATURE]: On Linux/Wayland allow pasting with middle click #3684: [FEATURE]: On Linux/Wayland allow pasting with middle click

    Feel free to ignore if none of these address your specific case.

  5. skypher commented on Dec 23, 2025

    @skypher
    skypher
    on Dec 23, 2025
    Author
    More actions

    Related to #4754 but this is about middle-click paste, not wrong buffer or select to copy.

    Related to #3684 but this is about Xorg not Wayland.

  6. elcorto commented on Feb 9, 2026

    @elcorto
    elcorto
    on Feb 9, 2026
    More actions

    I do like opencode so far, thanks!

    Just wanted to second what the OP reported and add another data point (using X.Org and alacritty, opencode 1.1.53):

    • middle-mouse paste (from Primary selection) doesn't work, Shift+middle-mouse works
    • Ctrl+Shift+V (paste from Clipboard) works
    • mouse-highlight copies to Clipboard rather than Primary (also mentioned in Copy and Paste behaviour under Linux #4754's "Second issue")
    Reacted by LP, Dex F. Boycound and Kyle Baker
  7. hyder365 commented on Apr 7, 2026

    @hyder365
    hyder365
    on Apr 7, 2026
    More actions

    I'm hitting this same bug. Thanks for the shift+middle-mouse temporary workaround until it's fixed.

    Also https://old.reddit.com/r/opencodeCLI/comments/1rlg8l7/copy_and_paste_in_linux/

    Reacted by Kyle Baker
  8. thdxr
    removed
    bugSomething isn't working
    opentuiThis relates to changes in v1.0, now that opencode uses opentui
    on May 3, 2026
  9. github-actions commented on Jul 3, 2026

    @github-actions
    github-actionsBot
    on Jul 3, 2026 – with GitHub Actions
    Contributor
    More actions

    To stay organized issues are automatically closed after 60 days of no activity. If the issue is still relevant please open a new one.

  10. github-actions
    closed this as not plannedon Jul 3, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

  • @kommander
    kommander

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

    You are visitor 01402775 — GeezerVison does not store the pages you look up.
    Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.