在 Ubuntu 11.04中解除系統(tǒng)托盤限制
在 Ubuntu 11.04 Natty 中,Ubuntu 對(duì)頂部面板右上角的通知區(qū)域(系統(tǒng)托盤)采用了白名單制度,只有支持 Indicators 并位于白名單的部分程序才會(huì)被顯示在系統(tǒng)托盤中,目前支持的程序有: Java apps, Mumble, Wine applications, Skype 和 hp-systray 。除些之外的 DropBox ,aMule 等大量程序都不會(huì)被顯示在系統(tǒng)托盤中,不過(guò)事實(shí)上我們可以通過(guò)以下方法來(lái)解除這一限制。
- 命令行方式:
解禁所有程序
gsettings set com.canonical.Unity.Panel systray-whitelist "['all']"
或者只解禁部分程序,把 YOUR_APPLICATION 替換成你需要解禁的程序。
gsettings set com.canonical.Unity.Panel systray-whitelist "['JavaEmbeddedFrame', 'Mumble', 'Wine', 'Skype', 'hp-systray', 'YOUR_APPLICATION']"
- GUI 方式:
安裝 dconf-tools
sudo apt-get install dconf-tools
在終端中輸入 dconf-editor ,然后找到 desktop > unity > panel ,把 systray-whitelist 的值改為 ['all'] 。
***注銷并重新登錄就可以了。
- 還原:
命令行下用以下命令
gsettings set com.canonical.Unity.Panel systray-whitelist "['JavaEmbeddedFrame', 'Mumble', 'Wine', 'Skype', 'hp-systray']"
GUI 下在 dconf-editor 中點(diǎn)擊 Set to default 按鈕。
原文:http://wowubuntu.com/natty-systray.html
【編輯推薦】