Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.devel > #85326

Re: Upcoming shift to Ayatana (App)Indicator(s)

From Clément Hermann <nodens@nodens.org>
Newsgroups linux.debian.devel
Subject Re: Upcoming shift to Ayatana (App)Indicator(s)
Date 2018-04-06 16:20 +0200
Message-ID <vBAnD-3MS-1@gated-at.bofh.it> (permalink)
References <vyFDb-1rl-5@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On 29/03/2018 15:11, Mike Gabriel wrote:
> [stuff]

Thanks for this summary and your work on this.

> ### Ayatana AppIndicator API
> 
> The Ayatana AppIndicator API is just one way of talking to an SNI DBus
> service. The implementation is done in the shared lib
> 'libayatana-appindicator'. This library provides an easy to implement
> API that allows GTK-2/3 applications to create an indicator icon in a
> panel with an indicator renderer added.
> 
> In the application, the developer creates a generic menu structure and
> defines one or more icons for the system tray (more than one icon: only
> one icon is shown (plus some text, if needed), but that icon may changed
> based on the applet's status). This generic menu is sent to a DBus
> interface (org.kde.StatusNotifier). Sometimes, people say, that such
> applications have SNI support (StatusNotifier Interface support).
> 
> The Ayatana Indicators project offers Ayatana AppIndicator to GTK-3
> developers (and GTK-2, but well...). Canonical implemented bindings for
> Python2, Perl, GIR, Mono/CLI and we continue to support these as long as
> it makes sense.

That sounds interesting. I maintain openpgp-applet [0] (both upstream
and in debian, which is in perl / gtk3 and currently uses the old
fashion systray.

However, I did a quick search, and I couldn't find the bindings for perl
you speak about, be it on CPAN or Launchpad. I probably missed it,
could you share a link ?


> The nice part of Ayatana AppIndicator shared library is: if a desktop
> shell does not offer the SNI service, then it tries to fall back to the
> xembed-way of adding system tray icons to your panel / status bar.
> 
> In Debian, we will start sending out patches too SNI supporting
> applications soon, that make the shift from Ubuntu AppIndicator (badly
> maintained in Debian) to Ayatana AppIndicator. The cool part of this is,
> you can convert your GTK-3 application from Ubuntu AppIndicator to
> Ayatana AppIndicator and use it on top of any(!) SNI implementation, be
> it an applet based on Ubuntu Indicators, based on Ayatana Indicators or
> some other implementation, like the vala-sntray-applet or SNI support in
> KDE.

I remember reading somewhere that a limitation is that you can only use
one type of click (no way to behave differently on right-click /
left-click), so I guess in some cases the switch means also a new UI,
right ?



Cheers,

[0] https://tracker.debian.org/openpgp-applet, and
    https://openpgp-applet-team.pages.debian.net for the upstream
    project

-- 
nodens

Back to linux.debian.devel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

Upcoming shift to Ayatana (App)Indicator(s) Mike Gabriel <sunweaver@debian.org> - 2018-03-29 15:20 +0200
  Re: Upcoming shift to Ayatana (App)Indicator(s) Simon McVittie <smcv@debian.org> - 2018-03-29 16:00 +0200
    Re: Upcoming shift to Ayatana (App)Indicator(s) Mike Gabriel <mike.gabriel@das-netzwerkteam.de> - 2018-03-29 23:30 +0200
      Re: Upcoming shift to Ayatana (App)Indicator(s) Simon McVittie <smcv@debian.org> - 2018-03-30 01:30 +0200
        Re: Upcoming shift to Ayatana (App)Indicator(s) Mike Gabriel <mike.gabriel@das-netzwerkteam.de> - 2018-03-30 20:10 +0200
          Re: Upcoming shift to Ayatana (App)Indicator(s) Ian Jackson <ijackson@chiark.greenend.org.uk> - 2018-04-03 20:20 +0200
            Re: Upcoming shift to Ayatana (App)Indicator(s) Mike Gabriel <mike.gabriel@das-netzwerkteam.de> - 2018-04-04 15:30 +0200
              Re: Upcoming shift to Ayatana (App)Indicator(s) [and 1 more messages] Ian Jackson <ijackson@chiark.greenend.org.uk> - 2018-04-04 16:00 +0200
                Re: Upcoming shift to Ayatana (App)Indicator(s) [and 1 more  messages] Mike Gabriel <mike.gabriel@das-netzwerkteam.de> - 2018-04-04 16:50 +0200
      Re: Upcoming shift to Ayatana (App)Indicator(s) Ian Jackson <ijackson@chiark.greenend.org.uk> - 2018-04-03 20:20 +0200
        Re: Upcoming shift to Ayatana (App)Indicator(s) Mike Gabriel <mike.gabriel@das-netzwerkteam.de> - 2018-04-04 15:50 +0200
          Re: Upcoming shift to Ayatana (App)Indicator(s) Mike Gabriel <mike.gabriel@das-netzwerkteam.de> - 2018-04-04 16:10 +0200
          Re: Upcoming shift to Ayatana (App)Indicator(s) Ian Jackson <ijackson@chiark.greenend.org.uk> - 2018-04-04 16:10 +0200
    Re: Upcoming shift to Ayatana (App)Indicator(s) Mike Gabriel <mike.gabriel@das-netzwerkteam.de> - 2018-04-06 14:50 +0200
    Re: Upcoming shift to Ayatana (App)Indicator(s) Mike Gabriel <mike.gabriel@das-netzwerkteam.de> - 2018-04-06 15:30 +0200
  Re: Upcoming shift to Ayatana (App)Indicator(s) Chris Lamb <lamby@debian.org> - 2018-03-29 19:00 +0200
    Re: Upcoming shift to Ayatana (App)Indicator(s) Ian Jackson <ijackson@chiark.greenend.org.uk> - 2018-04-03 20:30 +0200
      Re: Upcoming shift to Ayatana (App)Indicator(s) Mike Gabriel <sunweaver@debian.org> - 2018-04-04 15:20 +0200
  Re: Upcoming shift to Ayatana (App)Indicator(s) Clément Hermann <nodens@nodens.org> - 2018-04-06 16:20 +0200
    Re: Upcoming shift to Ayatana (App)Indicator(s) Ian Jackson <ijackson@chiark.greenend.org.uk> - 2018-04-06 16:50 +0200
    Re: Upcoming shift to Ayatana (App)Indicator(s) Mike Gabriel <sunweaver@debian.org> - 2018-04-06 22:50 +0200
      Re: Upcoming shift to Ayatana (App)Indicator(s) Ian Jackson <ijackson@chiark.greenend.org.uk> - 2018-04-09 15:30 +0200
        Re: Upcoming shift to Ayatana (App)Indicator(s) Mike Gabriel <sunweaver@debian.org> - 2018-04-10 15:00 +0200
          Re: Upcoming shift to Ayatana (App)Indicator(s) Ian Jackson <ijackson@chiark.greenend.org.uk> - 2018-04-10 16:00 +0200
            Re: Upcoming shift to Ayatana (App)Indicator(s) Mike Gabriel <sunweaver@debian.org> - 2018-04-14 01:40 +0200

csiph-web