3

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?

1 Answer 1

2

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']"
4
  • 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, 2011 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 May 4, 2011 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, 2011 at 13:58
  • The answer had been edited. May 8, 2011 at 16:52

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

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