如何解决Ubuntu 13.04系统托盘无法显示QQ的问题
如何解决Ubuntu 13.04系统托盘无法显示QQ的问题
发布时间:2016-12-27 来源:查字典编辑
摘要:对于UbuntuUnity下找回系统托盘,只需要将程序纳入白名单中即可。但是在Ubuntu13.04中,原本的方法行不通,因为配置文件中没有...

对于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

成功后再执行上诉方法即可。

推荐文章
猜你喜欢
附近的人在看
推荐阅读
拓展阅读
相关阅读
网友关注
最新Ubuntu/Debian学习
热门Ubuntu/Debian学习
操作系统子分类