Results 1 to 2 of 2

Thread: Writing AppIndicator

  1. #1
    Join Date
    May 2009
    Location
    /bin
    Beans
    Hidden!
    Distro
    Ubuntu 14.10 Utopic Unicorn

    Writing AppIndicator

    Hi everyone,

    Returned to Ubuntu after using Archlinux for quiet sometime now.
    I wanted to know if there are any good resources for appindicator development. I googled but couldn't find that many good tutorials/api page for AppIndicator.
    So what I am trying to do is I have a note script for creating notes. I want to create an appindicator that would basically list all notes on a directory and when I click on the note open the note with vim.
    Firstly I would like to know if this is feasible using AppIndicator ? If so I would like to know if there good resources to start development on it.
    Thanks
    ~Free your Mind with Open Source~
    ~Linux requires Patience ~

  2. #2
    Join Date
    Jul 2013
    Beans
    30

    Re: Writing AppIndicator

    Hello,

    EDIT: Pardon. Are you are using Python?

    1) Install package
    libappindicator3-dev

    2) Take a look at Audio-recorder. It has a systray module that supports both the older GNOME 2.x and the modern AppIndicator type indicators.
    Please see: http://bazaar.launchpad.net/~osmoma/...systray-icon.c

    The code is rather old now, but it should give you some info.

    You probably just want the parts from line 349#....and the general parts above it.
    #ifdef HAS_APP_INDICATOR
    ...
    ...
    #endif

    Check also APP_INDICATOR_CFLAG and APP_INDICATOR_LIBS variables in configure.ac for Compiling and Linking. Or do
    $ pkg-config --libs appindicator3-0.1
    $ pkg-config --cflags appindicator3-0.1

    You may have different version of
    appindicator3.

    The A.R:
    https://launchpad.net/audio-recorder


    Last edited by osmoma; November 30th, 2014 at 07:43 PM.

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •