"Paste on selection" pastes the wrong item in Gnome Terminal
See original GitHub issueDescribe the bug
“Paste on selection” always pastes the wrong item in Gnome Terminal, when clicking on any menu item.
How To Reproduce
Versions
- Gnome shell version: 41.4
- GCH version: 4
Steps to repro
- Copy a few items: “A”, “B”, “C”.
- Open Gnome Terminal.
- Click on the top bar icon to open the menu.
- Click “A”.
- Click on the top bar icon to open the menu.
- Click “B”.
Expected results
- “A” is pasted.
- “B” is pasted.
Actual results
- “C” is pasted.
- “C” is pasted.
Additional context (if a crash, provide stack trace)
Ctrl+Shift+V and right click context menu “Paste” works correctly.
Issue Analytics
- State:
- Created 2 years ago
- Comments:6 (3 by maintainers)
Top Results From Across the Web
Why does pasting sometimes not work in gnome-terminal?
Edit: It seems that manually selecting Paste from the Edit menu does not work either. Right click > Paste works, but Edit >...
Read more >[SOLVED] Weird characters while pasting in terminal
Re: [SOLVED] Weird characters while pasting in terminal. Works fine here: select 'text' by pressing and holding LMB, go the urxvt with bash...
Read more >Trying to copy and paste a large amount of text from gnome ...
Trying to copy and paste a large amount of text from gnome-terminal via the X11 PRIMARY selection freezes the recipient · Open a...
Read more >Copy-pasting in gnome-terminal - Unix & Linux Stack Exchange
By default, Shift + Ins pastes whatever you select with your mouse, even if you don't copy it. I change it to do...
Read more >linux - Terminal that supports select-to-copy right click to paste
The X11 way is to paste with middle-click, which can be simulated by clicking left and right mouse buttons simultaneously. If you absolutely...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

Better idea, let’s just set the primary clip too (Shift + Insert pulls from there). It seems to work fine in the terminal.
In my case, it’s most places. Just some examples: