天天看點

Ubuntu 13.04系統托盤無法顯示QQ的解決辦法

對于Ubuntu Unity 下找回系統托盤,隻需要将程式納入白名單中即可。

但是在Ubuntu 13.04 中,原本的方法行不通,因為配置檔案中沒有

com.canonical.Unity.Panel 選項。

這個時候,需要把這個選項重新激活,使用下面的PPA即可:

sudo add-apt-repository ppa:timekiller/unity-systrayfix

sudo apt-get update

sudo apt-get upgrade

完成之後,登出或者重新開機。

然後就可以按照以前的方法設定白名單了(下面是設定全部):

gsettings set com.canonical.Unity.Panel systray-whitelist "['all']"

Ubuntu Unity 下無法顯示QQ、Pidgin 等系統托盤的圖示的解決方法

這是由于在Unity中,Ubuntu對系統托盤采取了白名單機制,隻有在白名單内的程式才能在系統托盤處顯示圖示。

如果你想所有的程式都可以顯示,則在終端運作下面指令:

gsettings set com.canonical.Unity.Panel systray-whitelist "['all']"

若你想自定義程式的話,運作下面的指令(YOUR_APPLICATION是程式名):

gsettings set com.canonical.Unity.Panel systray-whitelist “['JavaEmbeddedFrame', 'Mumble', 'Wine', 'YOUR_APPLICATION']“

還原到系統預設狀态:

gsettings set com.canonical.Unity.Panel systray-whitelist "['JavaEmbeddedFrame', 'Mumble', 'Wine', 'Skype', 'hp-systray']"

Ubuntu 13.04 下預設沒有com.canonical.Unity.Panel 選項,需要安裝:

sudo add-apt-repository ppa:timekiller/unity-systrayfix

sudo apt-get update

sudo apt-get upgrade

成功後再執行上訴方法即可。

轉載位址:http://www.weste.net/2013/6-3/91923.html