# NousResearch/hermes-agent · Desktop terminal sets invalid LC_CTYPE locale value

## Open now

- Nothing open on GitHub.

A bug where the desktop terminal incorrectly sets LC_CTYPE to 'UTF-8' (an invalid locale on Linux), causing setlocale warnings, along with associated fixes to use a valid locale or preserve the existing environment.

## TL;DR

- 5 member(s): 0 open issue(s), 1 closed issue(s), 0 open PR(s), 1 merged PR(s), 3 PR(s) closed without merging.
- A fix was merged to main in PR #109159. Verify it addresses your case.
- **Recommended:** read PR #109159 (and any competing PRs below) before filing. Confirm the merged change covers your symptom.

## Maintainer resolution verdict

- Internal-tracker verdict over this cluster's issue members: `unresolved`. This is distinct from the fix status above. Weigh it yourself.

## How this cluster was grouped

- Link evidence (`STRUCTURAL_SPANNING`): every member is connected by structural evidence: shared changed files, or a closing/superseded reference.
- Pairwise link density `0.40`: the share of member pairs that carry a link, counting a structural link in full and a relevance-only link at 0.36. `1.00` means every pair is linked.

## Closed / duplicate issues

- #69265: Bug: Desktop terminal sets \`LC_CTYPE=UTF-8\` (invalid locale on Linux) — causes \`setlocale\` warnings on every shell start

## Prior & competing PRs

- **#109159: fix(desktop): Linux terminal panes stop printing the setlocale LC_CTYPE warning (salvage #107204)**. merged to main · fix tier `verified`
  - maintainer direction: category `merged`; implication `superseded`
  - files: `apps/desktop/electron/terminal-ipc.ts`, `apps/desktop/electron/terminal-lc-ctype.test.ts`
- **#69276: fix(desktop): don't override LC_CTYPE with invalid 'UTF-8' charset (#69265)**. closed without merge
  - maintainer direction: category `merged_via`; implication `superseded`
- **#69474: fix(desktop): preserve terminal locale environment**. closed without merge
  - maintainer direction: category `implemented_elsewhere`; implication `superseded`; refs `#109159`
- **#83257: fix(desktop): use valid C.UTF-8 locale instead of bare UTF-8 charset**. closed without merge
  - maintainer direction: category `duplicate_of`; implication `duplicate`; refs `#69474`

## Fix status

- Merged to main in PR #109159 (cited above). No release data is tracked. Verify downstream.
- Fix last verified (merged) `2026-09-12`.
- Subsystem: `apps/desktop`
