Export to GitHub

specto - issue #332

Indicator not working on ubuntu 11.04 with Unity session


Posted on May 2, 2011 by Grumpy Rabbit

In the indicator file a check is done to see if the process "indicator-applet" is running but it seems that on ubuntu 11.04 the process is called differently.

So in my patch i just removed the check on the process...if it is not running, it will fail and the indicator will not be created.

Please verify on a system without an indicator applet and see if there are no errors appearing.

Attachments

Comment #1

Posted on May 3, 2011 by Grumpy Rabbit

Fixed in revision 166

Comment #2

Posted on May 3, 2011 by Happy Bear

I tested on ubuntu 11.04 "classic" without the indicator applet active on your rev 166.

The problem is that the big chunk of code you deleted was for distinguishing between "indicator is installed" and "indicator is installed AND active/running".

This is important, otherwise when you close the specto window it doesn't quit, and there is no way for the user to bring it back except by toggling a key in gconf.

You probably would need to inverse-cherry-pick your commit with "bzr merge -r 166..165", and commit only the minor fixes (this should really have been two separate commits!).

And is this a duplicate of issue #331 ?

Comment #3

Posted on May 4, 2011 by Happy Bear

Issue 331 has been merged into this issue.

Comment #4

Posted on May 8, 2011 by Happy Bear

Reverted the parts of your commit that touched indicator.py

Please find a better fix (by the way, the "old" code still works fine with an ubuntu "classic" session, just not with unity, which has different process names).

This will probably mean fixing issue #161 along the way because "indicator-messages-service" has 26 characters.

Comment #5

Posted on Jun 25, 2011 by Happy Bear

Issue 333 has been merged into this issue.

Comment #6

Posted on Apr 26, 2012 by Grumpy Elephant

I'm currently running Ubuntu 12.04 beta2 (the final release comes out later today), and I still don't see an indicator for specto in its Unity desktop.

Comment #7

Posted on Apr 26, 2012 by Happy Bear

The problem is that the indicator applet API behaves differently when you're in Unity than when you're in a classic gnome session.

I don't use Ubuntu. Someone needs to come up with a patch.

Comment #8

Posted on Apr 26, 2012 by Grumpy Elephant

Yeah, this seems to have been an issue for some time now (since version 11.04): https://bugs.launchpad.net/bugs/815938

I don't know how to create an indicator for unity, but here's the API: http://unity.ubuntu.com/projects/appindicators/

Ubunut 12.04 was released this morning. Here's the fastest way to download it: http://www.reddit.com/r/linux/comments/stfus/ubuntu_1204_released_now_available_for_download/

Status: Accepted

Labels:
Type-Defect Priority-Medium Milestone-Release0.4 Usability