2
votes
1answer
79 views

Text justification in gtk.MenuItem

I'm writing an appindicator python script for my Gnome panel (under Ubuntu 12.10, English as the system-wide language) with a gtk.Menu, containing MenuItem's with Hebrew labels. The text is correctly ...
6
votes
2answers
130 views

Is it possible to update the app indicator from code?

I use ruby-libappindicator bindings to manage ubuntu application indicators. I want to indicate if port 3000 is used by any application. Port checking isn't a problem but I also need to update the ...
0
votes
1answer
89 views

Interacting with appindicator icon and menus from LDTP

I'm using LDTP Python API in order to test desktop applications under Ubuntu (Unity shell, Ubuntu 12.04). I can't find if there's any available way to interact with appindicator icon and menus using ...
0
votes
0answers
73 views

How can i create fancy app indicator with custom widgets in python?

I want to create App Indicator that would contain buttons and entries. How can i do that? I see there are some indicators that are complicated like that.
0
votes
0answers
77 views

Is there a gui to show real time who is connected to my network?

Is there a gui to show real time who is connected to my network? By name or ip address is what I am interested in. So I can track usage. Because there is a teenager on here and I need to know
1
vote
0answers
115 views

Why is the libindicator reporting all scroll event signals as UP?

I am trying to investigate this bug; the gist is, if you have a Unity application indicator, and you scroll over it, the scroll event is always 'up', even if you scroll down. Here is a sample ...
1
vote
2answers
122 views

How would I make a simple indicator program to record timestamps?

I would like to make a button to sit up next to my sound/wireless/etc indicators which, when toggled, will change color and write the system time with the word "begin" to a file, then, when toggled ...
6
votes
1answer
396 views

What are the design guidelines for appindicator icons?

I am creating a Unity AppIndicator using Python + PyGObject, but I wish for it's icon to be in standard Ubuntu style. Where can I find appropriate guidelines for using colours (or is it just ...
1
vote
1answer
89 views

How to get Ubuntu AppIndicator icon coordinates

I'm working on Ubuntu Linux 12.04 and create software built on top of GTK+ 3 using pygobject. I've got a task of showing popup windows just below the app indicator icon of my application and I can't ...
1
vote
1answer
210 views

What is the correct way to use the “scroll-event” signal (on an indicator) for Qt?

I am again at the same position, when I had the question What is the correct way to use g_signal_connect() in C++ for dynamic unity quicklists? There I was informed that the signature for my static ...
5
votes
1answer
212 views

Set action for submenu in AppIndicator

I am trying to build a simple indicator in C. This is my code: void make_indicator(){ //Making the indicator appindicator = app_indicator_new("My Indicator", ...
5
votes
2answers
686 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
401 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
1answer
118 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: ...
9
votes
1answer
569 views

Make sniqt recognize all tray abilities (or create a working indicator in Qt)

There is this old thread of mine: How do I create a working indicator with Qt/C++? where I was suggested to use the QSystemTray library for making a tray icon in Ubuntu for my application. Sniqt is a ...
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
830 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 ...
4
votes
1answer
128 views

Implementation of a slider on appindicator

I'm trying to add a slider to an indicator to port my gnome-shell extension to unity. I found out this question which is exactly my problem. If this is not possible using libido and indicator how is ...
1
vote
1answer
121 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 ...
8
votes
2answers
1k views

How do I create a working indicator with Qt/C++?

I am using Qt IDE in order to build my application so as to participate to the Ubuntu Showdown contest. In my application, I've done the following: void show_app(MainWindow *data) { //this works ...
1
vote
1answer
534 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
772 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 ...
1
vote
1answer
136 views

how to keep the app indicator menu visible after clicks?

I have a specific need in which I want app indicator menu item to respond to mouse click but menu should not disappear, for example when I click play in music menu, menu does not disappear, can i also ...
4
votes
2answers
419 views

How to add sub menus in appindicators?

I am using this code to try to add submenus in appindicator #!/usr/bin/env python import gobject import gtk import appindicator def clean_quit(w): print "in quit" gtk.main_quit() if ...
2
votes
1answer
161 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
420 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: ...
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: ...
1
vote
0answers
105 views

Indicator-loader displays empty window [closed]

I'm developing an indicator and use indicator-loader for testing. It has been running correctly for some time, but now it just displays an empty window. /usr/lib/libindicator/indicator-loader ...
0
votes
1answer
273 views

Application indicator + entry widget

I would like write my own application indicator via guide in http://unity.ubuntu.com/projects/appindicators/ (in python) My question - Is there any chance add next to icon indicator entry widget (see ...
4
votes
1answer
260 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 ...
3
votes
1answer
147 views

How do I tell when a window demands attention?

Unfortunately, it appears Unity's subtle persistent urgency indicator has disappeared in Oneiric - so I'm now considering writing a replacement as panel/indicator applet. However, I have no idea how ...
1
vote
3answers
230 views

How to detect if appmenu is active?

Is it possible to check from the application if its menu will be displayed in the window or in the panel (AppMenu)? I can of course check if the environment is Unity, but some people use AppMenu in ...
3
votes
1answer
188 views

What are the standard desktop colors?

What are the standard notification colors in 11.10? I'm writing an app with an AppIndicator, and I'd like it to match the desktop color scheme. Is there anywhere this stuff is documented? I checked ...
3
votes
1answer
125 views

What do I need to tell a developer if I want them to move their indicator under a system indicator menu?

As a follow-up to my question on reducing indicator clutter and the implication that apps are supposed to group themselves under existing indicators I'd like to submit requests to one or four ...
7
votes
2answers
255 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 ...
5
votes
2answers
419 views

How to remove my application's appindicator programmatically?

I know how to add an appindicator menu from my application, but I can't seem to find how to remove it but still keep my program running in the background. Is there a way to do this?
10
votes
1answer
397 views

How do I add a slider to an AppIndicator?

I'm trying to add a slider to an AppIndicator similar to what the Sound Menu has. I've looked trough the code of the Sound Menu and found that I should be using libido-0.1 for that. Here's what I have ...
2
votes
1answer
75 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 ...
1
vote
1answer
186 views

Can't get menus to show up in custom indicator

I am trying to get a menu to show in a custom application written in C. I create the GtkMenu, populate it with GtkMenuItem(s) and add it to the indicator, which shows up in the indicator list, but the ...
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
317 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 ...
4
votes
2answers
1k views

Using AppIndicators with the Qt framework

Is there a class or library somewhere that makes it easy to use the new AppIndicator framework from within a Qt application? It seems strange that I should have to include GTK headers / libraries ...
2
votes
1answer
159 views

AppIndicator in root

I am coding an gui to create a vpn. I am using now "AppIndicator" after using "GtkStatusIcon" but the icon works with the normal user but it's not displayed with sudo or gksudo. How to fix it?
2
votes
1answer
829 views

How to use application indicator for KDE application?

How can I use libappindicator to create an application indicator for a KDE app in C++ without using GTK? The example shown here uses GTK to create the menu. Is this necessary? Is there a KDE ...
2
votes
1answer
110 views

How to add a rich control(not just MenuItem) for a applet like Rhythmbox [closed]

I want to write a small tools in the form of Applet, but not just a "applet". I want to show a listview or anything in the applet, unfortunly it seems that ONLY Menu/MenuItem can be add into applet. ...
4
votes
1answer
230 views

What causes critical glib errors (when coding using messaging menu)?

If I run the python code below (almost entirely from this useful blog post) then I get three identical nasty looking error messages in the terminal. What might be causing them? I note the number ...
3
votes
1answer
298 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 ...
2
votes
1answer
297 views

custom libindicator icon is not displayed

I want to change the statusicon of my own little reminder program. Currently I am using GTK.StatusIcon but I want to use a ApplicationIndicator. Therefore I created an own Icon and moved it to: ...