<rss xmlns:atom="http://www.w3.org/2005/Atom" version="2.0">
  <channel>
    <title>XIM - 标签 - William</title>
    <link>https://williamlfang.github.io/tags/xim/</link>
    <description>XIM - 标签 | William</description>
    <generator>Hugo -- gohugo.io</generator><language>zh-CN</language><lastBuildDate>Thu, 03 Dec 2026 17:01:00 &#43;0800</lastBuildDate><atom:link href="https://williamlfang.github.io/tags/xim/" rel="self" type="application/rss+xml" /><item>
  <title>Alacritty stopped accepting keyboard input on X11 due to a wedged fcitx XIM context</title>
  <link>https://williamlfang.github.io/2026-12-03-alacritty-fcitx-xim-keyboard-freeze/</link>
  <pubDate>Thu, 03 Dec 2026 17:01:00 &#43;0800</pubDate>
  <author>william</author>
  <guid>https://williamlfang.github.io/2026-12-03-alacritty-fcitx-xim-keyboard-freeze/</guid>
  <description><![CDATA[<p>One of my Alacritty windows on Linux Mint (X11/Cinnamon) suddenly stopped accepting keyboard input while holding an active tmux and SSH session. Other Alacritty windows on the same desktop kept working normally.</p>
<p>The terminal itself was not frozen: the tmux status clock kept ticking, the SSH connection stayed alive, and Alacritty&rsquo;s IPC socket answered immediately. <strong>A wedged <code>fcitx</code> XIM context for that single window was swallowing every X11 <code>KeyPress</code> before it reached Alacritty&rsquo;s keyboard handler.</strong> Restarting <code>fcitx</code> (<code>fcitx -r -d</code>) recovered the window in place without closing it, and launching Alacritty with <code>XMODIFIERS=@im=none</code> prevents the freeze from coming back.</p>]]></description>
</item>
</channel>
</rss>
