2
votes
2answers
154 views

Application Indicator icon not changing until clicked

I have an application indicator which shows the moon phase/orientation as its icon (along with a text label). When the indicator does an update (several times per hour), the icon is recreated (as an ...
2
votes
1answer
140 views

Updating appindicators label does not work from python thread

I am new to Python and GUI programming. I was trying to learning both by doing a small application. In my application, a background process should run always and show the user's some fictional quota ...
0
votes
1answer
193 views

How to install classicmenu-indicator or python-appindicator on Ubuntu 14.04 x64?

I installed Ubuntu 14.04 x64. When I try to install classicmenu-indicator it says about unresolved dependency python-appindicator When I try to install python-appindicator it tries to install ...
0
votes
1answer
116 views

installing python-appindicator in 13.10

I'm trying to install python-appindicator in Ubuntu 13.10 but I'm receiving not found error: E: unable to locate package python-appindicator How can I install python-appindicator in 13.10 ?
1
vote
1answer
58 views

AppIndicator documentation for Python

Where has the documentation for the Python bindings to AppIndicator gone? Visiting this official looking page, all the links are broken.
0
votes
2answers
88 views

Setting the icon_theme_path in python script

I've made a python script to add a new indicator in the systray on Ubuntu Unity. When i set a specific folder for the icon, the icon appears in the systray. Exemple : ...
5
votes
2answers
373 views

Has the Appindicator or GtkMenu API changed in Saucy? [closed]

I've written a custom application indicator, which isn't working properly on saucy. The menu is initialised with a few items, then updates regularly, adding or removing menu items. This worked fine ...
0
votes
1answer
163 views

How to indicatorize a systray-only app?

I just realized that under 13.04 it isn't possible any more to add applications which are using the systray to a whitelist. I found the suggestion of downloading a patched version of Unity but I'd ...
1
vote
1answer
343 views

Python unity indicator applet and glade child window exits at the same time

Since I don't have much reputation. The original question has been posted in stackoverflow and here is the link: Python unity indicator applet and glade child window I have created an unity ...
2
votes
1answer
55 views

Are there PHP bindings for indicators and notifications?

Are there already some projects/extensions or wrappers to allow easy creation of ubuntu unity indicators with PHP before I try and 'reinvent the wheel'. A basic Python template that would interface ...
2
votes
1answer
390 views

How to change menu entries in AppIndicator, when it is running?

There is a similar question at StackOverflow, but it didn't help me: Changing items while running. I tried asking at StackOverflow, but people there where not too active: How to change GTK menu in ...
0
votes
1answer
248 views

gi.repository/Python3 example for Indicate?

Is there a gi.repository (and Python 3) example for Indicate? I am having trouble following the example at Ubuntu App Developer. Specifically if I do: from gi.repository import Indicate mm = ...
5
votes
2answers
758 views

PYGTK to PYGI: gtk.timeout_add equivalent

I have converted some Python code to use PYGI but I can't figure out how to convert this line: gtk.timeout_add(PING_FREQUENCY * 1000, self.doWork) To by clear, since I don't really know the ...
4
votes
2answers
421 views

Write application indicator with no icon

I wrote an application indicator that displays information about my monthly network consumption. I do not want it to have an icon next to the text I display. How do I write an application indicator ...
1
vote
2answers
131 views

How to run an action when clicking on an appindicator

I'm looking at writing a simple app indicator and I need it to update it's information whenever it's clicked on to open the menu. Is there any kind of on_click action thing? Let me rephrase it then: ...
6
votes
1answer
3k views

How to create AppIndicator with Python?

I have no knowledge of Python, but because ubuntu recommends it i will use it for the appinidcator.. So i got these 2 files: and the code of the .py file is: #!/usr/bin/python import appindicator ...
17
votes
3answers
951 views

How to write Appindicators in python?

I'm looking to try and develop some simple indicators, for numlock/capslock and brigthness, etc. How would I go about creating indicators in python? Are there any tutorials that walk me through ...
1
vote
1answer
194 views

Pastie is broken for Ubuntu 11.04

I had pastie working for the longest time on Ubuntu 11.04, working great, I love the little bugger :) I still have it working on my laptop (same system). Recently I ran upgrade on all packages in my ...
2
votes
1answer
196 views

How to make work Indicator-Chars app?

I downloaded Indicator-Char and unzipped the files. I added the characters there I wanted perfectly. When I run the python script it loads the daemon and I can see this characters. But the problem is ...
1
vote
1answer
128 views

How to create a GLib.TimeVal from timestamp?

I have a value such as 'timestamp' below, where the last three digits correspond to milliseconds. timestamp = 1340830988768 I currently have code that looks like the following: import indicate ...
1
vote
1answer
539 views

Quickly ubuntu-application + indicator template don't work

I've started to work with quickly and python (because I wanted to have some GTk3 integration and create and appindicator), and so I create the projecto like this : quickly create ubuntu-application ...
1
vote
2answers
808 views

How do I force only one instance of my application?

I am developing a program using quickly. I am using an indicator which can hide/show the main window. But when I launch the application from the launcher it starts a new instance of that application ...
2
votes
1answer
164 views

Custom widgets/controls in application indicators

I want to develop an app for ubuntu, that integrates inside the calendar indicator/menu. It should allow to enter info right from it, and have several controls like input boxes, drop downs, spinners ...
4
votes
1answer
436 views

Python/GTK3 app crashing on importing “indicate” (python-indicate)

I'm trying to integrate my Python/GTK3 app with Ubuntu's messaging menu and every time I try to import "indicate" (python-indicate) my app crashes, with the following traceback: ...
3
votes
1answer
437 views

How can I change the application indicator label after delay?

How can I change the Application Indicator label after delay self.ind = appindicator.Indicator("new-gmail-indicator", "/usr/share/icons/ubuntu-mono-dark/status/16/ubuntuone-client-error.svg", ...
4
votes
1answer
1k views

How to use custom icon in an appindicator?

This question has already which icon names you can pass to the set_icon_full (set_icon is deprecated if someone is wondering), but I couldn't find ressources of how to set a custom icon from a file ...
10
votes
4answers
3k views

Writing indicators with Python, GIR and GTK3

I'm writing an application that needs to use an indicator. I've done this in the past using PyGTK and GTK2, using as reference this document: ...
4
votes
1answer
263 views

Detect GTK theme change in runtime

I am using this code to set appropriate appindicator icon for my application. Basically I set separate mono dark/light icon for Ambiance and Radiance theme in order to integrate my app into Unity ...
0
votes
2answers
460 views

Appindicator Theme Dependent Icons

I am developing PyGTK app with appindicator. I create my appindicator similar like in this example. In this example "indicator-messages" stock icon is used. So, I can: use stock icon (from existing ...
3
votes
2answers
101 views

How to show spreedX client ApplicationIndicator?

For my job I require the use of the spreedX client which allows me to share my desktop when using the Spreed web conferencing environment (www.spreed.com). In pre-Unity Ubuntu versions, this ...
2
votes
1answer
188 views

I can't seem to get any application indicators to show up - why not?

I am trying to run a program that makes use of application indicators - but it isn't working. This could be because I am missing a package (I didn't use the Desktop Installer CD to install Ubuntu - I ...
7
votes
2answers
256 views

Dynamic shortcuts for Messaging Menu?

I'm Unity Mail developer and I wonder if it's possible to add a shortcut to Messaging Menu from within the application (it's written in Python). I need to connect it's user-display to a function in ...
2
votes
1answer
80 views

Indicator menu from gtk.Builder ui string

I've created an indicator that I think should work, but doesn't. I've added the UI interface from a glade file, loaded it and added the menu to appindicator. The following is the entire source code ...
3
votes
3answers
2k views

How do I get the names in my icon theme for use with pythons appindicator module?

How do I get the strings I can insert instead of 'gtk-execute'? #!/usr/bin/python import gobject import gtk import appindicator if __name__ == "__main__": ind = ...
1
vote
1answer
319 views

How can I change labels created with build_menu_from_desktop() in pythons appindicator module?

Suppose I created an indicator with appindicator for python. Suppose I used the line build_menu_from_desktop("/my/path/myfile.desktop", "Unity") for that. How would I go about changing the created ...
14
votes
1answer
1k views

Is there a detailed API documentation on the python binding for appindicator?

I'm getting serous with a project of my own and need a good documentation on the appindicator module for python. What I've found so far: API documentation on dev.ubuntu.com Community wiki entry API ...
3
votes
1answer
299 views

Why does my Messaging Menu code not work when split into functions?

Below are two python programs. They're exactly the same, except for one is split into two functions. However only the one that's split into two functions doesn't work - the second function doesn't ...
9
votes
2answers
708 views

How do I make a rich menu for an appindicator?

I'm adding menu items to an appindicator in pygtk. I don't want them to behave like ordinary menu items: I want them to have normal appearance, but not to respond to mouse hovers and mouse clicks. The ...
13
votes
1answer
2k views

Putting an arbitrary gtk.Widget into an appindicator.Indicator

Putting any gtk.Widget inside a gtk.Menu works, somewhat, by putting an empty gtk.MenuItem in first. It doesn't seem to be reliable - but it basically works. With an appindicator.Indicator, it doesn't ...
17
votes
4answers
3k views

How to program a status icon that will display in Ubuntu as well as in other distributions?

The application in question does some action (here connecting audio to network streams) and runs minimized if these actions were successful. Therefore a status icon is needed to display the state of ...
6
votes
3answers
459 views

How do I integrate an application in the sound menu using python?

I don't necessarily expect a whole tutorial for creating a sound indicator entry here on askubuntu, but I've searched and searched, and I can't seem to find any documentation on creating a sound ...
7
votes
2answers
410 views

How do I control the position of an indicator created with appindicator.Indicator?

I've created a simple indicator in python using the appindicator module. However, it always shows up to the left of the existing indicators. Is there some way to control what position the indicators ...