Copy Paste is broken on ubuntu
Resolved 💬 13 comments Opened Oct 10, 2025 by noeldvictor Closed Jan 13, 2026
💡 Likely answer: A maintainer (github-actions[bot], contributor)
responded on this thread — see the highlighted reply below.
What version of Codex is running?
codex-cli 0.46.0
Which model were you using?
codex
What platform is your computer?
ubuntu 22
What steps can reproduce the bug?
trying to copy and paste text into codex running on terminal
What is the expected behavior?
Copy Paste is broken on ubuntu
What do you see instead?
_No response_
Additional information
_No response_
13 Comments
Potential duplicates detected. Please review them and close your issue if it is a duplicate.
Powered by Codex Action
Same; paste no longer works (I'm on Ubuntu). The bug was introduced in 0.45; I reverted to v0.44 which does not have this issue.
Same here. I'm on 0.46. Can't paste anything. Paste works fine in the default text editor. I think it's open source so you could see how they handle it for examples.
Same problem here. Reversed to 0.44 and worked.
Same here. I'm on 0.46. Can't paste anything. Paste works fine in the default text editor. I think it's open source so you could see how they handle it for examples.
Same; paste no longer works (I'm on Ubuntu). The bug was introduced in 0.45; I reverted to v0.44 which does not have this issue.
please fix quickily!!!!!!
It seems that the shortcut for pasting text has changed from Ctrl+V to Ctrl+Shift+V.
Me too. Version 0.44.x didn't have this issue on Ubuntu. Versions 0.47 and 0.46 don't allow to paste on Ubuntu
0.50 still present on arch
I'm on Arch. Can you elaborate on how exactly you are trying to copy something, and from where, and how exactly you are trying to paste, and to where?
Copied by selecting, and pasted here with middle click:
Model: gpt-5-codex (reasoning medium, summaries auto)
Going back the same way works too.
On host (outside CLI) piping something into
xclipand then pasting in the CLI with middle click: works.Inside my codex container (this isn't even related to the codex CLI anymore):
as expected (my container runs in a network namespace that doesn't have X11).
Maybe they fixed it, because I did mention it to Tobi on X. On 0.57 now.
I can right click Paste on gnome-terminal. I can middle mouse. I can shift+ins
Closing old bug. If you're still seeing similar behavior, please open a new bug report with details.