如何在Ubuntu中为应用程序重新启用托盘图标?

不幸的是,在Ubuntu 13.10中没有托盘图标,并且删除了白名单。

较旧的解决方案对我不起作用,例如我收到消息:当我尝试使用该命令时, No such schema 'com.canonical.Unity.Panel'

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

如何将托盘图标恢复(对于在Unity中放置图标的应用程序(如TrueCrypt,Pidgin,Aqualung,gnome-system-monitor等等)?

最令人烦恼的是用户失去对无法自己检测到没有托盘图标的应用程序的控制(例如:gnome-system-monitor,TrueCrypt ……)。 至少Aqualung发送一条消息,指出无法在系统托盘中放置图标!

我真的不建议盲目地使用我的sacy-tests PPA(在@alwaysask和@tolima的答案中提到)。 因为它包含许多包的更改,一些非常具体。 人们应该花时间阅读描述,看看是否需要任何或所有这些变化。

(使用add-apt-repository您有机会查看它们……)

因为有些人只是想重新启用白名单并且可能不会欣赏或找到我认为合适的其他更改,我已经设置了一个独立的PPA,只需重新启用Ubuntu中的统一白名单,如果仍然可行则会增加可信度在路上:

https://launchpad.net/~mc3man/+archive/systray-white

安装libapindicator1对我有用。 退出并登录原始post在这里

 sudo apt-get install libappindicator1 

注意:适用于Dropbox和可能更多的应用程序,如Skype,但不适用于Pidgin和许多其他应用程序。

 sudo add-apt-repository ppa:mc3man/sacy-tests sudo apt-get update sudo apt-get upgrade gsettings set com.canonical.Unity.Panel systray-whitelist "['all']" 

然后重启

试试这个插件http://www.webupd8.org/2014/01/pidgin-indicator-ubuntu-appindicator.html …要在Ubuntu中安装Pidgin Indicator插件,请使用以下命令:

 sudo add-apt-repository ppa:nilarimogard/webupd8 sudo apt-get update sudo apt-get install pidgin-indicator 

如果您不想添加主WebUpd8 PPA,可以从http://ppa.launchpad.net/nilarimogard/webupd8/ubuntu/pool/main/p/pidgin-indicator/下载Pidgin Indicator deb并安装它手动。

你可以添加这个ppa: https ://launchpad.net/~mc3man/+archive/sacy-tests,它会带回系统托盘白名单。 然后(更新会抱怨签名):

 sudo apt-get update sudo apt-get upgrade gsettings set com.canonical.Unity.Panel systray-whitelist "['all']" 

使用doug的独立PPA更新了说明:

 sudo apt-add-repository ppa:mc3man/systray-white sudo apt-get update sudo apt-get upgrade gsettings set com.canonical.Unity.Panel systray-whitelist "['all']" 

然后重启