最近筆記本的 Debian 系統不太正常,老是在程序切換的時候鍵盤丟失。例如從瀏覽器切換到 konsole 時,沒法輸入,在 konsole 中經過建立新標籤並在不一樣標籤頁中切換後,纔可以繼續輸入... 這個問題非常困擾,聯想到最近從 sid (Debian 不穩定發行版)作了升級,難道是升級後出現的 bug? html
APT::Default-Release "testing"; APT::Cache-Limit "141943904";這樣在用 aptitude 升級時,默認從 testing 版本進行升級;
APT::Default-Release "unstable"; APT::Cache-Limit "141943904";
deb http://mirror.cs.umn.edu/debian/ lenny main contrib non-free deb http://mirror.cs.umn.edu/debian/ testing main contrib non-free deb http://mirror.cs.umn.edu/debian/ unstable main contrib non-free deb http://mirror.cs.umn.edu/debian/ experimental main contrib non-free deb http://security.debian.org/ stable/updates main deb http://security.debian.org/ testing/updates main
$ sudo aptitude update $ sudo aptitude dist-upgrade
$ apt-show-version > apt-show-version.list
關於輸入焦點丟失,鍵盤輸入不響應的問題,其實並無在這次 Debian 版本降級(sid --> testing)的過程解決。若是從sid 降級到 lenny,應該可以解決,可是我實在是捨不得 KDE4 的 3D 桌面等特效。 最終這個問題的解決,參見博客:Linux 應用程序失去輸入焦點問題的解決。 瀏覽器
============================== spa
一併插入第二篇文章: .net
$ sudo aptitude remove scim $ sudo aptitude install fcitx # 配置小企鵝輸入法爲默認輸入法 $ sudo im-switch -c