Coder Social home page Coder Social logo

lucyllewy / libayatana-indicator Goto Github PK

View Code? Open in Web Editor NEW

This project forked from ayatanaindicators/libayatana-indicator

0.0 1.0 0.0 1.77 MB

Ayatana Indicators Shared Library

License: GNU General Public License v3.0

C 90.54% CMake 9.13% Shell 0.34%

libayatana-indicator's Introduction

libayatana-indicator - Ayatana Indicators Shared Library Build Status

About Ayatana Indicators

The Ayatana Indicators project is the continuation of Application Indicators and System Indicators, two technologies developed by Canonical Ltd. for the Unity7 desktop.

Application Indicators are a GTK implementation of the StatusNotifierItem Specification (SNI) that was originally submitted to freedesktop.org by KDE.

System Indicators are an extensions to the Application Indicators idea. System Indicators allow for far more widgets to be displayed in the indicator's menu.

The Ayatana Indicators project is the new upstream for application indicators, system indicators and associated projects with a focus on making Ayatana Indicators a desktop agnostic technology.

On GNU/Linux, Ayatana Indicators are currently available for desktop envinronments like MATE (used by default in Ubuntu MATE), XFCE (used by default in Xubuntu, LXDE, and the Budgie Desktop).

The Lomiri Operating Environment (UI of the Ubuntu Touch OS, formerly known as Unity8) uses Ayatana Indicators for rendering its notification area and the UBports project is a core contributor to the Ayatana Indicators project.

For further info, please visit: https://ayatana-indicators.org

About this Software Component

Modern desktop panels find out about indicators by looking at indicator service files in /usr/share/ayatana/indicators. These files need to have the same name as the well-known D-Bus name that the corresponding service owns.

An indicator file is a normal key file (like a .desktop file). It must have an [Indicator Service] section, that must contain the service's name (Name) and the object path at which its action group is found (ObjectPath). For example:

[Indicator Service]
Name=indicator-example
ObjectPath=/org/ayatana/indicator/example

It should also contain a hint to where the indicator should appear in the panel:

Position=70

The lower the position, the further to the right (or left when RTL is enabled) the indicator appears.

An indicator can only export one action group, but it supports a menu for each profile ("desktop", "greeter", "phone"). There is a section for each of those profiles, containing the object path on which the menu is exported:

[desktop]
ObjectPath=/org/ayatana/indicator/example/desktop

[greeter]
ObjectPath=/org/ayatana/indicator/example/desktop

[phone]
ObjectPath=/org/ayatana/indicator/example/phone

Object paths can be reused for different profiles (the greeter uses the same menu as the desktop in the above example).

There are no fallbacks. If a profile is not mentioned in the service file, the indicator will not show up for that profile.

License and Copyright

See COPYING and AUTHORS file in this project.

Building and Testing

For instructions on building and running built-in tests, see the INSTALL.md file.

libayatana-indicator's People

Contributors

ted-gould avatar sunweaver avatar kenvandine avatar ckerr avatar tari01 avatar 3v1n0 avatar seb128 avatar evgeni avatar didrocks avatar mikix avatar robert-ancell avatar vorlonofportland avatar jjardon avatar cjwatson avatar alesage avatar ntninja avatar dandrader avatar sisoor avatar iainlane avatar mariogrip avatar kamstrup avatar rbtcollins avatar tjyrinki avatar sil2100 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.