I've learned that Unity does not support systray icons, and that it is possible to grant exceptions for (whitelist) certain applications. As far as I can tell, there is no general error message displayed when an application is denied an attempt to display unsupported systray icon.

How can I find out what applications are being denied?

link|improve this question

80% accept rate
feedback

1 Answer

up vote 2 down vote accepted

By observation, in Ubuntu 11.04, whenever an application tries to add an icon to the tray, there is a log entry with the word "TrayChild" in the file .xsession-errors in the user's home directory. You can get the list of denied entries with grep:

grep TrayChild "${HOME}/.xsession-errors"

To add that application's icon to the tray, which was my question too, the advise in this link works. http://ubuntuforums.org/showthread.php?t=1737589

Just execute this command, replace "YOUR_APPLICATION" with the executable name of the application you want to "whitelist".

gsettings set com.canonical.Unity.Panel systray-whitelist "['JavaEmbeddedFrame', 'Mumble', 'Wine', 'Skype', 'hp-systray', 'YOUR_APPLICATION']"
link|improve this answer
Thank you, but this does not answer my question. I want a list of all running "YOUR_APPLICATION"s that I have not yet appended to systray-whitelist. – ændrük May 3 '11 at 19:16
1  
It seems that whenever an application tries to add an icon to the tray, there is a log entry with the word "TrayChild" in the file .xsession-errors in the user's home directory. You can get the list of denied entries with grep: grep TrayChild .xsession-errors – Raymond Tau May 4 '11 at 17:38
That's perfect. If you edit your answer to include this I'll mark it as accepted. Thanks! – ændrük May 6 '11 at 13:58
The answer had been edited. – Raymond Tau May 8 '11 at 16:52
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.