Ubuntu Unity系统托盘显示所有图标的方法



由于在Unity中,Ubuntu对系统托盘采取了白名单机制,只有在白名单内的程序才能在系统托盘处显示图标,这显然不符合我们的要求。因为我们还需要开启一些中国特色的软件,如WINE、AIR程序等。
1.所以需要解除这一设置:
 
如果你想所有的程序都可以显示,则在终端运行下面命令:
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']"
2.当然你也可以安装一些工具来进行设置:
sudo apt-get install dconf-tools
然后运行:
 
dconf-editor
在desktop>unity>panel中把systray-whitelist的值改为['all']即可。
需要注销才可以看到效果!
 
效果图(开启了电骡):
修改前:
修改前
修改后:
修改后

原文:http://www.ubuntusoft.com/solve-the-ubuntu-unity-system-tray-does-not-display-images-that-are-part-of-the-program.html
 

相关内容

    暂无相关文章