Ubuntu 13.04系統(tǒng)托盤無法顯示QQ的解決辦法

2013-06-03 09:32:28來源:linuxde作者:

對(duì)于Ubuntu Unity 下找回系統(tǒng)托盤,只需要將程序納入白名單中即可。

對(duì)于Ubuntu Unity 下找回系統(tǒng)托盤,只需要將程序納入白名單中即可。

但是在Ubuntu 13.04 中,原本的方法行不通,因?yàn)榕渲梦募袥]有

com.canonical.Unity.Panel 選項(xiàng)。

這個(gè)時(shí)候,需要把這個(gè)選項(xiàng)重新激活,使用下面的PPA即可:

sudo add-apt-repository ppa:timekiller/unity-systrayfix
sudo apt-get update
sudo apt-get upgrade
完成之后,注銷或者重啟。

然后就可以按照以前的方法設(shè)置白名單了(下面是設(shè)置全部):

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

Ubuntu Unity 下無法顯示QQ、Pidgin 等系統(tǒng)托盤的圖標(biāo)的解決方法

這是由于在Unity中,Ubuntu對(duì)系統(tǒng)托盤采取了白名單機(jī)制,只有在白名單內(nèi)的程序才能在系統(tǒng)托盤處顯示圖標(biāo)。

如果你想所有的程序都可以顯示,則在終端運(yùn)行下面命令:

gsettings set com.canonical.Unity.Panel systray-whitelist "['all']"
若你想自定義程序的話,運(yùn)行下面的命令(YOUR_APPLICATION是程序名):

gsettings set com.canonical.Unity.Panel systray-whitelist “['JavaEmbeddedFrame', 'Mumble', 'Wine', 'YOUR_APPLICATION']“
還原到系統(tǒng)默認(rèn)狀態(tài):

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

Ubuntu 13.04 下默認(rèn)沒有com.canonical.Unity.Panel 選項(xiàng),需要安裝:

sudo add-apt-repository ppa:timekiller/unity-systrayfix
sudo apt-get update
sudo apt-get upgrade

成功后再執(zhí)行上訴方法即可。

關(guān)鍵詞:Ubuntu系統(tǒng)托盤

贊助商鏈接: