Friday, May 3, 2024
 Popular · Latest · Hot · Upcoming
1
rated 0 times [  1] [ 0]  / answers: 1 / hits: 2215  / 3 Years ago, fri, september 17, 2021, 6:54:40

With Ubuntu 13.04 the possibility to whitelist (and consequentely blacklist) certain applications from creating a tray icon is gone. Since then the tray icons of Java applications and Wine icons are hardcoded and always visible.



Although there are certain ppas, that provide a unity patch by giving back the systray.whitelist (not for 14.04 though, yet) I'd like to know if there are other ways to hide the tray-icons of java apps (e.g. JDownloader)



I know that there's a way in doing so for qt-applications by implementing apparmor-profiles that deny read access to the sni-qt package (e.g. for Skype, or Spotify)



Is there a way to implement apparmor profiles or something similar for Java applications and/or Wine applications?



thanks


More From » unity

 Answers
7

Although Sneetshers answer is perfect I discovered a simpler (and obvious) solution. This approach works with JDownloader, but should also work with all other Java programs.



Just remove the logo rm ~/.jdownloader/jd/img/logo/jd_logo_128_128.png and afterwards create a invalid png icon with touch ~/.jdownloader/jd/img/logo/jd_logo_128_128.png



Using this approach, one can still use the TrayIcon plugin (useful for minimizing to tray) without the ugly java icon


[#26176] Friday, September 17, 2021, 3 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
velelf

Total Points: 395
Total Questions: 115
Total Answers: 107

Location: Sudan
Member since Mon, Jun 1, 2020
4 Years ago
;