{"version":"2.1.328","anchor":"clipboard-copy-now-supports-a-primary-selection-and-linux-im","canonical_anchor":"clipboard-copy-now-supports-a-primary-selection-and-linux-im","heading":"On Linux, copied text can also go to the middle-click selection","tier":"notice","area":"Clipboard","scope":"individual","heads_up":false,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.328\/e\/clipboard-copy-now-supports-a-primary-selection-and-linux-im","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.328","markdown":"### On Linux, copied text can also go to the middle-click selection\n\nClaude Code's copy on Linux can now also fill the primary selection via wl-copy, xclip or xsel, so middle-click pastes it\n\n**What**\n\nOn Linux, copying with Claude Code can now write to the primary selection as well as the normal clipboard. The primary selection is the second clipboard Linux uses for middle-click paste. Claude Code knows how to do this with three common copy tools:\n\n- `wl-copy`\n\n- `xclip`\n\n- `xsel`\n\nIf a new copy starts before an earlier write to the primary selection has finished, the earlier write is cancelled. Separately, when no clipboard command is configured, reading the path of a clipboard image on Linux now falls back to a different method instead of giving up.\n\n**Why**\n\nText Claude Code copies can be pasted with a middle click, the way most Linux programs already behave.\n\n- Area: Clipboard\n- Tier: You'll notice\n- Useful: 2\/5\n- Signal: 1\/5\n- Scope: individual\n- Heads-up: no"}