mirror of
https://github.com/aaddrick/claude-desktop-debian.git
synced 2026-05-17 08:36:35 +03:00
* launcher: add CLAUDE_GTK_IM_MODULE opt-in override (#549) Some users hit broken IBus integration on Linux and have to wrap every launch with `GTK_IM_MODULE=xim claude-desktop`. Forcing this for everyone would break CJK input methods, compose keys, and dead-key sequences (rationale in #545), so this lands as opt-in. When `CLAUDE_GTK_IM_MODULE` is set non-empty, `setup_electron_env` exports `GTK_IM_MODULE=$CLAUDE_GTK_IM_MODULE` before the Electron exec and logs the override (with the prior value) to launcher.log. Unset/empty leaves `GTK_IM_MODULE` alone — no behavior change for users not affected by the IBus issue. Adds a TROUBLESHOOTING.md section documenting symptoms, valid values, the trade-off note for `xim`, and BATS coverage for the set / unset / empty / unset-prior cases. Closes #549. Refs #545. Co-Authored-By: Claude <claude@anthropic.com> * launcher: tighten CLAUDE_GTK_IM_MODULE comment and docs (#549) Trim the in-source comment to what's not implied by the guard, drop the underscore prefix on the local, and remove a redundant trailing sentence + duplicated trade-off line from TROUBLESHOOTING.md. No behavior change; all 68 BATS tests still pass. Co-Authored-By: Claude <claude@anthropic.com> --------- Co-authored-by: Claude <claude@anthropic.com>