Script to whitelist your apps tray icon to the Unity system-tray whitelist Original version created by Fewt. See blog post http://www.fewt.com/2011/03/whitelist-utility-script-to-allow-apps.html
Put the code inside DEBIAN/postinst or execute the script somewhere in your app installation