Windows XP Windows 7 Windows 2003 Windows Vista Windows 綜合教學 Linux 系統教學
Windows 10 Windows 8 Windows 2008 Windows NT Windows Server 電腦軟體教學
您现在的位置: Windows教程網 >> Windows教程 >  >> Linux 系統教學 >> 關於 Linux

Ubuntu 12.04 升級後 IBus 輸入法圖示消失的兩種解決方法

編輯:關於 Linux

Ubuntu 12.04 LTS 升級後,面板右上角的 IBus 輸入法指示器圖示可能消失,雖輸入法仍可運作,但無法直觀切換與查看狀態。本文提供兩種快速恢復圖示的方法。

方法一:重啟 IBus 守護程式

在終端機執行:

killall ibus-daemon
ibus-daemon -d

-d 參數以背景執行模式啟動。此法適用於守護程式異常或面板未正確載入的情況。

方法二:透過 GConf/GSettings 強制啟用面板圖示

依序執行以下指令:

gconftool --type boolean -s /desktop/ibus/panel/show_icon_on_systray true
gconftool --type boolean -s /desktop/ibus/panel/show true
gsettings set com.canonical.Unity.Panel systray-whitelist "['all']"
  • 前兩條啟用 IBus 面板顯示與系統托盤圖示。
  • 第三條允許所有應用程式的指示器出現在 Unity 面板(預設僅白名單應用程式可顯示)。

驗證與持久化

執行後圖示應立即出現。若重開機後再次消失,將上述指令加入啟動應用程式或 ~/.profile 實現開機自動執行。

IBus 圖示消失示意圖

兩種方法任選一即可解決 Ubuntu 12.04 IBus 圖示消失問題。建議優先嘗試方法一,若無效再使用方法二。

Copyright © Windows教程網 All Rights Reserved