如何解决Ubuntu 13.04系统托盘无法显示QQ的问题

番茄系统家园 · 2022-05-18 07:13:02

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

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

免责声明: 凡标注转载/编译字样内容并非本站原创,转载目的在于传递更多信息,并不代表本网赞同其观点和对其真实性负责。如果你觉得本文好,欢迎推荐给朋友阅读;本文链接: https://m.nndssk.com/xtwt/191437WipQeU.html
猜你喜欢
最新应用
热门应用