Artha's GtkStatusIcon doesn't show up in Unity since it doesn't have a system tray

Bug #733179 reported by Simon Butcher
60
This bug affects 12 people
Affects Status Importance Assigned to Milestone
Artha - The Open Thesaurus
New
Medium
Unassigned

Bug Description

Since ubuntu unity does not include a system tray, artha is only partly functional in unity in ubuntu 11.04 alpha 3
Please use libunity to provide good integration between artha and the unity launcher. Currently i can only start the program and call up the window with the shortcut - cannot use the systray functionality.

Revision history for this message
spyzer.abhishek (spyzer-abhishek0) wrote :

Artha doesn't use libunity and hence the nature of this bug. But there is a possible workaround.

Step1 - Fetch thewhitelisted systray entries through this command
                                   gsettings get com.canonical.Unity.Panel systray-whitelist
Step2 - The list should be something like -
                         ['JavaEmbeddedFrame', 'Mumble', 'Wine', 'Skype', 'artha', 'hp-systray', 'scp-dbus-service']
Step3 - Add artha to this list through this command
                            gsettings set com.canonical.Unity.Panel systray-whitelist "['JavaEmbeddedFrame', 'Mumble', 'Wine', 'Skype', 'artha', 'hp-systray', 'scp-dbus-service']"
Step4 - Logout and in and you shall see the artha icon, but this gives rise to another bug that you cannot click on other systray icons.
Step5 - Resize the icon of artha to 24x24 which is located at /usr/share/pixmaps/artha.png OR just replace that file with the one attached along this post
Step6 - Restart computer and you are done!!!!

summary: - Artha not compatible with unity
+ Artha's GtkStatusIcon doesn't show up in Unity since it doesn't have a
+ system tray
Revision history for this message
Sundaram Ramaswamy (legends2k) wrote :

Artha is expected to be used by many distros and not by Ubuntu alone. Unity doesn't honour GtkStatusIcon of GTK+, while other desktop environments Gnome, KDE, Xfce to name a few does. Adding conditional code only to tackle a single desktop environment's deviation defeats the purpose of using a cross-platform toolkit library.

Hence adding Artha to systry whitelist seems to be a better solution and this, if I'm not wrong, can be done with out changing the code i.e. via the debian package.

Changed in artha:
importance: Undecided → Medium
Revision history for this message
cassiodoroVicinetti (artghio) wrote :

GtkStatusIcon is deprecated since gtk+-3.0 version 3.14: https://bugzilla.gnome.org/show_bug.cgi?id=734826
For example in Plasma 5 it doesn't show up, even with sni-qt patch.

Revision history for this message
Luigi Toscano (ltosky) wrote :

In order to show in the Plasma and Unity "trays", the simple route is to use libappindicator.

See also http://blog.martin-graesslin.com/blog/2014/06/where-are-my-systray-icons/

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.