http://www.qtcentre.org/threads/41566-Ubuntu-Unity-GOODBYE-SYSTEM-TRAY?p=190237
---------------------
Unity includes the system tray only for a few specific applications via a "white list"...
This is, unfortunately, Canonical's way of trying to dictate how
everyone else uses their system: they have decided that the system tray
is incompatible with their user interface philosophy, and they want
everyone to re-write their apps to use their notification system.
---------------------
WTF?
_______________________________________________
PySide mailing list
PyS...@lists.pyside.org
http://lists.pyside.org/listinfo/pyside
On 13 May 2011 07:39, Kjkjkjkj Kjjkjkkj <xeli...@yahoo.co.uk> wrote:
> I booted into Ubuntu Unity and was shocked to discover my app no longer
> displays in the system tray. After looking around, I found this,
>
>
> http://www.qtcentre.org/threads/41566-Ubuntu-Unity-GOODBYE-SYSTEM-TRAY?
if you need to use the system tray anyway, you can add your
application to the whitelist. You just need to edit a gconf setting,
so you can do it from your installer or the first time the user run
your application.
Nobody is forced to rewrite.
If you don't like Unity it's not a problem, you can also boot the
Gnome session and go with it.
Regards.
--
Andrea Grandi - Nokia Qt Ambassador
website: http://www.andreagrandi.it
2011/5/13 Kjkjkjkj Kjjkjkkj <xeli...@yahoo.co.uk>:
> I booted into Ubuntu Unity and was shocked to discover my app no longer
> displays in the system tray. After looking around, I found this,
In addition to the whitelisting as Andrea suggested, you can also
simply use python-appindicator. App Indicators replace the systray and
for most cases, they are more sane (easier API, less problems). I'm
not sure if and how well it integrates with the Qt main loop, but it
works fine for GTK+-based applications.
Example usage can be found e.g. here:
http://blog.strycore.com/2010/01/using-the-application-indicator-in-python/
For the main loop integration, I think something like this would work:
http://developer.qt.nokia.com/wiki/PySide_DBus_Integration
It would actually be great to have a small AppIndicator-using
PySide/Qt example - do you want to work on that? :)
HTH.
Thomas