Repository navigation
I cannot copy in codex. I can only paste. #49192
Copy link
Copy link
Closed as duplicate
Labels
CLIIssues related to the Codex CLIIssues related to the Codex CLITUIIssues related to the terminal user interface: text input, menus and dialogs, and terminal displayIssues related to the terminal user interface: text input, menus and dialogs, and terminal displaybugSomething isn't workingSomething isn't working
Description
What version of Codex CLI is running?
0.157.1
What subscription do you have?
free member
Which model were you using?
does that with every model
What platform is your computer?
chrome os
What terminal emulator and version are you using (if applicable)?
crostini
Codex doctor report
codex doctor --json
{
"schemaVersion": 1,
"generatedAt": "1790667956s since unix epoch",
"overallStatus": "ok",
"codexVersion": "0.158.0",
"checks": {
"app_server.status": {
"id": "app_server.status",
"category": "app-server",
"status": "ok",
"summary": "background server is running",
"details": {
"app-server version": "0.158.0",
"control socket": "/home/user/.codex/app-server-control/app-server-control.sock",
"daemon state dir": "/home/user/.codex/app-server-daemon",
"dedicated pid file": "/home/user/.codex/app-server-daemon/daemon.pid (file)",
"dedicated update-loop pid file": "/home/user/.codex/app-server-daemon/daemon-updater.pid (file)",
"mode": "ephemeral",
"pid file": "/home/user/.codex/app-server-daemon/app-server.pid (missing)",
"settings": "/home/user/.codex/app-server-daemon/settings.json (missing)",
"status": "running",
"update-loop pid file": "/home/user/.codex/app-server-daemon/app-server-updater.pid (missing)"
},
"remediation": null,
"durationMs": 1
},
"auth.credentials": {
"id": "auth.credentials",
"category": "auth",
"status": "ok",
"summary": "auth is configured",
"details": {
"auth file": "/home/user/.codex/auth.json",
"auth storage mode": "File",
"stored API key": "false",
"stored ChatGPT tokens": "true",
"stored agent identity": "false",
"stored auth mode": "chatgpt"
},
"remediation": null,
"durationMs": 0
},
"config.load": {
"id": "config.load",
"category": "config",
"status": "ok",
"summary": "config loaded",
"details": {
"CODEX_HOME": "/home/user/.codex",
"active thread overrides": "not inspected",
"config.toml": "/home/user/.codex/config.toml",
"config.toml parse": "ok",
"configuration load ms": "22",
"configuration scope": "invocation config, including cloud-managed policy",
"cwd": "/home/user",
"enabled feature flags": "daemon_auto_start, shell_tool, view_image, sleep_tool, unified_exec, unified_exec_tty, unified_exec_zsh_fork, shell_snapshot, content_item_kinds, code_mode_host, terminal_resize_reflow, sqlite, write_stdin_approval, hooks, enable_request_compression, unbounded_connection_retries, worktrees, system_proxy_fallback, multi_agent, apps, tool_search_always_defer_mcp_tools, tool_suggest, plugins, in_app_browser, in_app_chat, in_app_dictation, in_app_local_automation, in_app_updates, browser_use, browser_use_full_cdp_access, browser_use_external, computer_use, remote_plugin, plugin_sharing, image_generation, resize_all_images, item_ids, skill_mcp_dependency_install, skill_search, mentions_v2, steer, guardian_approval, guardian_reuse_parent_compaction, goals, collaboration_modes, tool_call_mcp_elicitation, auth_elicitation, fast_mode, realtime_conversation, tui_app_server, compaction_image_budget, workspace_dependencies",
"feature flag overrides": "none",
"feature flags enabled": "52",
"log dir": "/home/user/.codex/log",
"mcp servers": "0",
"model": "gpt-5.6-terra",
"model provider": "openai",
"sqlite home": "/home/user/.codex"
},
"remediation": null,
"durationMs": 0
},
"git.environment": {
"id": "git.environment",
"category": "git",
"status": "ok",
"summary": "git executable found; execution not verified",
"details": {
"PATH git #1": "/usr/bin/git",
"PATH git #2": "/bin/git",
"PATH git entries": "2",
"git execution": "not inspected (PATH helpers are not executed)",
"repo detected": "false",
"selected git": "/usr/bin/git"
},
"remediation": null,
"durationMs": 0
},
"installation": {
"id": "installation",
"category": "install",
"status": "ok",
"summary": "installation looks consistent",
"details": {
"PATH codex #1": "/home/user/.local/bin/codex",
"current executable": "/home/user/.codex/packages/standalone/releases/0.158.0-x86_64-unknown-linux-musl/bin/codex",
"install context": "standalone (unix, package /home/user/.codex/packages/standalone/releases/0.158.0-x86_64-unknown-linux-musl, bin /home/user/.codex/packages/standalone/releases/0.158.0-x86_64-unknown-linux-musl/bin, resources /home/user/.codex/packages/standalone/releases/0.158.0-x86_64-unknown-linux-musl/codex-resources, path /home/user/.codex/packages/standalone/releases/0.158.0-x86_64-unknown-linux-musl/codex-path)",
"managed by Vite+": "false",
"managed by bun": "false",
"managed by npm": "false",
"managed by pnpm": "false",
"managed package root": "not set"
},
"remediation": null,
"durationMs": 0
},
"mcp.config": {
"id": "mcp.config",
"category": "mcp",
"status": "ok",
"summary": "no MCP servers configured",
"details": {},
"remediation": null,
"durationMs": 0
},
"network.env": {
"id": "network.env",
"category": "network",
"status": "ok",
"summary": "network-related environment looks readable",
"details": {
"managed proxy": "not configured",
"proxy env vars": "none",
"respect system proxy": "disabled"
},
"remediation": null,
"durationMs": 0
},
"network.provider_reachability": {
"id": "network.provider_reachability",
"category": "reachability",
"status": "ok",
"summary": "active provider endpoints are reachable over HTTP",
"details": {
"ChatGPT inference URL": "https://chatgpt.com/backend-api/<redacted> reachable (HTTP 405)",
"reachability mode": "ChatGPT auth"
},
"remediation": null,
"durationMs": 165
},
"network.websocket_reachability": {
"id": "network.websocket_reachability",
"category": "websocket",
"status": "ok",
"summary": "Responses WebSocket handshake succeeded",
"details": {
"DNS": "2 IPv4, 2 IPv6, first IPv4",
"auth mode": "chatgpt",
"connect timeout": "15000 ms",
"endpoint": "wss://chatgpt.com/backend-api/<redacted>",
"handshake result": "HTTP 101 Switching Protocols",
"model provider": "openai",
"provider name": "OpenAI",
"proxy env vars": "none",
"reasoning header": "false",
"server model present": "false",
"supports websockets": "true",
"wire API": "responses"
},
"remediation": null,
"durationMs": 782
},
"runtime.provenance": {
"id": "runtime.provenance",
"category": "runtime",
"status": "ok",
"summary": "running standalone on linux-x86_64",
"details": {
"commit": "unknown",
"current executable": "/home/user/.codex/packages/standalone/releases/0.158.0-x86_64-unknown-linux-musl/bin/codex",
"install method": "standalone (unix, package /home/user/.codex/packages/standalone/releases/0.158.0-x86_64-unknown-linux-musl, bin /home/user/.codex/packages/standalone/releases/0.158.0-x86_64-unknown-linux-musl/bin, resources /home/user/.codex/packages/standalone/releases/0.158.0-x86_64-unknown-linux-musl/codex-resources, path /home/user/.codex/packages/standalone/releases/0.158.0-x86_64-unknown-linux-musl/codex-path)",
"platform": "linux-x86_64",
"version": "0.158.0"
},
"remediation": null,
"durationMs": 0
},
"runtime.search": {
"id": "runtime.search",
"category": "search",
"status": "ok",
"summary": "search command found (bundled); execution not verified",
"details": {
"search command": "/home/user/.codex/packages/standalone/releases/0.158.0-x86_64-unknown-linux-musl/codex-path/rg",
"search command readiness": "file exists",
"search provider": "bundled"
},
"remediation": null,
"durationMs": 0
},
"sandbox.filesystem_paths": {
"id": "sandbox.filesystem_paths",
"category": "sandbox",
"status": "ok",
"summary": "no explicit filesystem paths to probe",
"details": {},
"remediation": null,
"durationMs": 0
},
"sandbox.helpers": {
"id": "sandbox.helpers",
"category": "sandbox",
"status": "ok",
"summary": "sandbox configuration is readable",
"details": {
"approval policy": "OnRequest",
"codex-linux-sandbox helper": "/home/user/.codex/tmp/arg0/codex-arg0TkBesG/codex-linux-sandbox",
"denied-read glob rules": "0",
"denied-read rules": "0",
"execve wrapper helper": "/home/user/.codex/tmp/arg0/codex-arg0TkBesG/codex-execve-wrapper",
"filesystem sandbox": "restricted",
"glob scan max depth": "unbounded",
"managed filesystem source": "none",
"network sandbox": "restricted"
},
"remediation": null,
"durationMs": 0
},
"security.endpoint": {
"id": "security.endpoint",
"category": "security",
"status": "ok",
"summary": "endpoint protection is not inspected on this platform",
"details": {
"endpoint products": "not inspected on this platform"
},
"remediation": null,
"durationMs": 0
},
"state.paths": {
"id": "state.paths",
"category": "state",
"status": "ok",
"summary": "state paths and databases are inspectable",
"details": {
"CODEX_HOME": "/home/user/.codex (dir)",
"active rollout files": "27 files, 131729344 total bytes, 4878864 average bytes",
"archived rollout files": "0 files, 0 total bytes, 0 average bytes",
"goals DB": "/home/user/.codex/goals_1.sqlite (file)",
"goals DB integrity": "ok",
"log DB": "/home/user/.codex/logs_2.sqlite (file)",
"log DB integrity": "ok",
"log dir": "/home/user/.codex/log (missing)",
"memories DB": "/home/user/.codex/memories_1.sqlite (file)",
"memories DB integrity": "ok",
"memories v2 DB": "/home/user/.codex/memories_v2_1.sqlite (missing)",
"memories v2 DB integrity": "skipped (missing)",
"queue DB": "/home/user/.codex/queue_1.sqlite (file)",
"queue DB integrity": "ok",
"sqlite home": "/home/user/.codex (dir)",
"standalone release cache": "7 entries in /home/user/.codex/packages/standalone/releases",
"state DB": "/home/user/.codex/state_5.sqlite (file)",
"state DB integrity": "ok",
"thread history DB": "/home/user/.codex/thread_history_1.sqlite (file)",
"thread history DB integrity": "ok"
},
"remediation": null,
"durationMs": 136
},
"state.rollout_db_parity": {
"id": "state.rollout_db_parity",
"category": "threads",
"status": "ok",
"summary": "rollout files and state DB thread inventory agree",
"details": {
"default model provider": "openai",
"rollout DB active files": "27",
"rollout DB active rows": "27",
"rollout DB archive mismatches": "0",
"rollout DB archived files": "0",
"rollout DB archived rows": "0",
"rollout DB duplicate DB paths": "0",
"rollout DB duplicate rollout thread ids": "0",
"rollout DB malformed file names": "0",
"rollout DB missing active rows": "0",
"rollout DB missing archived rows": "0",
"rollout DB model providers": "openai=27",
"rollout DB rows": "27",
"rollout DB scan cap reached": "false",
"rollout DB scan errors": "0",
"rollout DB sources": "cli=23, vscode=4",
"rollout DB stale rows": "0"
},
"remediation": null,
"durationMs": 15
},
"system.disk": {
"id": "system.disk",
"category": "disk",
"status": "ok",
"summary": "sufficient free disk space (5.4 GiB)",
"details": {
"CODEX_HOME available": "5.4 GiB",
"failure threshold": "1.0 GiB",
"warning threshold": "5.0 GiB",
"worktree available": "5.4 GiB"
},
"remediation": null,
"durationMs": 0
},
"system.environment": {
"id": "system.environment",
"category": "system",
"status": "ok",
"summary": "OS language C",
"details": {
"EDITOR": "not set",
"LANG": "C.UTF-8",
"VISUAL": "not set",
"os": "Debian 13.0.0 [64-bit]",
"os language": "C",
"os type": "Debian",
"os version": "13.0.0"
},
"remediation": null,
"durationMs": 2
},
"terminal.env": {
"id": "terminal.env",
"category": "terminal",
"status": "ok",
"summary": "terminal metadata was detected",
"details": {
"DISPLAY": "present",
"TERM": "xterm-256color",
"WAYLAND_DISPLAY": "present",
"color output": "enabled",
"effective locale": "C.UTF-8",
"stderr is terminal": "true",
"stdin is terminal": "true",
"stdout is terminal": "true",
"terminal": "unknown",
"terminal size": "211x41"
},
"remediation": null,
"durationMs": 0
},
"terminal.title": {
"id": "terminal.title",
"category": "title",
"status": "ok",
"summary": "terminal title default",
"details": {
"terminal title activity": "true",
"terminal title items": "activity, project-name",
"terminal title project source": "cwd",
"terminal title project value": "user",
"terminal title source": "default"
},
"remediation": null,
"durationMs": 0
},
"updates.status": {
"id": "updates.status",
"category": "updates",
"status": "ok",
"summary": "update configuration is locally consistent",
"details": {
"cached latest version": "0.158.0",
"check for update on startup": "true",
"last checked at": "2026-09-29T07:13:22.815671166Z",
"latest version": "0.158.0",
"latest version status": "current version is not older",
"update action": "standalone installer",
"version cache": "/home/user/.codex/version.json"
},
"remediation": null,
"durationMs": 245
}
}
}
user@penguin:~$What issue are you seeing?
I cannot copy text in codex. i can only paste. It does that since the second to last update. i can see the confirmation the text is copied in codex. ....but it is not in my clipboard.
What steps can reproduce the bug?
Uploaded thread: 01a0ec02-d862-7bf3-87d2-1b8a24dba5a8
What is the expected behavior?
i should be able to copy text using either ctrl +c or ctrl+maj+c
Additional information
No response
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
CLIIssues related to the Codex CLIIssues related to the Codex CLITUIIssues related to the terminal user interface: text input, menus and dialogs, and terminal displayIssues related to the terminal user interface: text input, menus and dialogs, and terminal displaybugSomething isn't workingSomething isn't working
Activity
github-actions commentedon Sep 29, 2026
Potential duplicates detected. Please review them and close your issue if it is a duplicate.
Powered by Codex Action
etraut-openai commentedon Oct 2, 2026
(response from codex)
Thanks, I checked the uploaded thread. It shows this happened while copying a Bash code block from completed Codex output, but it doesn’t record the selection or keyboard action.
Could you confirm:
Ctrl+C,Ctrl+Shift+C, or right-click?/tui→ Scrollback, followed by restarting Codex, fix it?Fullscreen selection and copying are described here.
etraut-openai commentedon Oct 12, 2026
(response from codex)
Closing as a duplicate of #49530, the ChromeOS/Crostini terminal clipboard report. Here Codex confirms a copy but the system clipboard is unchanged; #49530 documents the same missing clipboard result and the different copy methods tried. Please continue there, including whether
/tui→ Scrollback (then restart) changes the result. This is consolidation, not a claim that the clipboard bug is fixed.