Questions tagged [appindicator]

Application indicators appear in Ubuntu's notification area.

Application indicators appear in Ubuntu's notification area. The official documentation is on the Ubuntu Unity website.

38 questions
21
votes
1 answer

Adding a slider to AppIndicator (Ubuntu 11.04)

I'm trying to add a slider to an AppIndicator similar to what the Sound Menu has. I've looked through the code of the Sound Menu and found that I should be using libido-0.1. Here's what I have so far: indicator_menu =…
Romeo Calota
  • 333
  • 1
  • 4
15
votes
2 answers

Python AppIndicator bindings -> howto check if the menu is open?

Here is a minimal example of an AppIndicator: #!/usr/bin/python import gobject import gtk import appindicator if __name__ == "__main__": ind = appindicator.Indicator("example-simple-client", "gtk-execute",…
con-f-use
  • 3,772
  • 5
  • 39
  • 60
10
votes
2 answers

QT Systray icon appears next to launcher on Ubuntu instead of on the panel

I am new to QT and need to build an app with an app-indicator. As QT seems easier than GTK+, I am making it in QT. I would mention that I have sni-qt installed and app indicators of vlc and skype appear normal on the panel. I am using QT5 on Ubuntu…
Sid Verma
  • 536
  • 1
  • 7
  • 25
8
votes
3 answers

Ubuntu 13.10 : No Module Named appindicator

Appindicator is not available on Ubuntu 13.10? jason@jz:~$ python Python 2.7.5+ (default, Sep 19 2013, 13:48:49) [GCC 4.8.1] on linux2 Type "help", "copyright", "credits" or "license" for more information. >>> import appindicator Traceback (most…
Cao Dongping
  • 969
  • 1
  • 12
  • 29
7
votes
2 answers

Putting other widgets in gtk.Menu

I'd like to be able to put a gtk.ProgressBar in my gtk.Menu, but since menus only takes gtk.MenuItems and its subclasses, what I've done instead is take a plain gtk.MenuItem and tried adding my progress bar as a child to that. Since gtk.MenuItem is…
Tommy Brunn
  • 2,520
  • 2
  • 29
  • 41
7
votes
1 answer

Gtk 3, python, appindicator, disable icon near label

I write openweathermap site appindicator in python, but i need only text label in indicator without icon. But when i leave "" then show me empty icon. Why, i need only text. In Ubuntu 12.04 python-appindicator don't need a icon if leave "" then not…
5
votes
1 answer

Is there a way to detect a mouse click with PyGTK AppIndicator

I have a simple Python code that creates a Linux tray indicator with AppIndicator3 from GI. That works fine. But I would like to detect and handle a simple user click or a double-click on this tray icon. From what I know, for example, Telegram uses…
BlueManCZ
  • 417
  • 6
  • 12
5
votes
1 answer

Python AppIndicator to make tomate Unity compliant

I just discovered tomate : https://gitorious.org/tomate a very simple program that help get things done when you work on a computer. But tomate use gtk.status_icon instead of appindicator so I would like to fix this. However, I would like to keep…
Natim
  • 17,274
  • 23
  • 92
  • 150
5
votes
0 answers

How to create gtk menu item with shortcut displayed?

I am trying to integrate appindicator with gtk menu. I want some of menu items have shortcuts like here: Unfortunately after adding accelerator to second menu item I still get item with no icon and no shortcut. What I expect to see is a shortcut…
AntonK
  • 429
  • 1
  • 4
  • 11
4
votes
0 answers

any appindicator replacement in macOS

the GtkStatusIcon in GTK2 is depreacted in GTK3, and most app use appindicator to replace the GtkStatusIcon. But it sounds that appindicator is not available in MacOS, is there any library can work like GtkStatusIcon and works in MacOS and Linux?…
lidaobing
  • 1,005
  • 13
  • 26
3
votes
0 answers

wx.TaskBarIcon in Ubuntu 13.04 (GNOME or Unity)

I've used wx.TaskBarIcon to successfully implement a systray interface to my application on Windows and Mac but am having severe trouble with it on Ubuntu. There's already been two SO questions regarding this on previous versions of…
fatuhoku
  • 4,815
  • 3
  • 30
  • 70
3
votes
2 answers

monodevelop ubuntu c# appindicator

I am just starting out with Mono-GTK app development. I wanted to setup a appindicator icon in systray. But C# returns namespace is missing. code: using AppIndicator; returns error: The type of namespace name 'AppIndicator' could not be found.Are…
Kunal Khatri
  • 55
  • 1
  • 5
2
votes
2 answers

How do I prevent a menu item from responding to a mouse over (without making it insensitive)?

I'm adding menu items to an appindicator. 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. How do I go about doing that? Trying to grab the events…
Erigami
  • 804
  • 1
  • 8
  • 20
2
votes
1 answer

How to keep PyGTK AppIndicator menu open after click?

I was trying to toy around with the pygtk module to make an app indicator in my top bar in Ubuntu 17.10. With a little research, I have successfully made a menu where you can pause the main thread (which just prints "Update" to the console…
Jebby
  • 1,845
  • 1
  • 12
  • 25
2
votes
1 answer

set other CheckMenuItems' active state to False in Gtk using Python

I have written an app indicator for Ubuntu (basically an icon next to the wifi and battery icons) to set the action for closing the lid. It worked perfectly but I wanted to add a checkmark ✓ to see which state is active. This can be done using…
Robbert
  • 827
  • 1
  • 6
  • 8
1
2 3