Skip to content

Clipboard image paste failure in Codex CLI on Arch Linux despite text content #13716

@ftbhabuk

Description

@ftbhabuk

What version of Codex CLI is running?

codex-cli 0.106.0

What subscription do you have?

free tier

Which model were you using?

gpt-5.3-codex

What platform is your computer?

Linux 6.18.13-arch1-1 x86_64 unknown

What terminal emulator and version are you using (if applicable)?

kitty

What issue are you seeing?

Failed to paste image: no image on clipboard: The clipboard contents were not available in the requested format or the clipboard is empty." But clipboard has text like "div className="hero-actions">". Happens when trying to paste during frontend build checks or similar. Attached screenshot.

Network errors reported elsewhere, so focusing on this clipboard mismatch.

What steps can reproduce the bug?

Copy text to clipboard (anything u want).
Run Codex CLI command that triggers paste in kitty.
Error shows despite non-empty clipboard.
No thread ID, but consistent on Arch setup.

What is the expected behavior?

Should detect text vs image and handle accordingly, or clarify if image-only paste is intended.
Possibly related to #11741 but this is clipboard-specific.

Additional information

Installed via AUR openai-codex-bin

Image Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    TUIIssues related to the terminal user interface: text input, menus and dialogs, and terminal displaybugSomething isn't working

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions