Lafydev / wingpanel-indicator-ayatana

Wingpanel Ayatana-Compatibility Indicator
GNU Lesser General Public License v2.1
145 stars 17 forks source link

Wingpanel Ayatana-Compatibility Indicator (Community Version)

It's time for me to spare my time and let this project go on his own way, but for new updates, you can follow this incredible work from MvBonin, Wingpanel Community Indicators: https://github.com/MvBonin/wingpanel-community-indicators

Description:

Keep compatibility with ubuntu/unity indicators on Elementary OS wingpanel. If you want to install applications with indicators like weather forecast, redshift, social networks... this plug-in let these indicators appear in your panel.

Important: To add support for Legacy icons (Wine, PlayOnLinux) see here : msmaldi/wingpanel-indicator-na-tray

Dependencies

You'll need the following dependencies :

sudo apt-get install libglib2.0-dev libgranite-dev libindicator3-dev 

Easy Install (user only)

  1. Download the deb file from your version :

and launch install:

sudo dpkg -i ./com.github.lafydev.wingpanel*.deb

Parameters for Pantheon (eos)

  1. You need to add Pantheon to the list of desktops abled to work with indicators :
    • With autostart (thanks to JMoerman)
    • just add /usr/lib/x86_64-linux-gnu/indicator-application/indicator-application-service as custom command to the auto start applications in the system settings. System settings -> "Applications" -> "Startup" -> "Add Startup App…" -> "Type in a custom command".
  • With the terminal (thanks to ankurk91)
  • Open Terminal and run the following commands.

    mkdir -p ~/.config/autostart
    cp /etc/xdg/autostart/indicator-application.desktop ~/.config/autostart/
    sed -i 's/^OnlyShowIn.*/OnlyShowIn=Unity;GNOME;Pantheon;/' ~/.config/autostart/indicator-application.desktop
    

  • Editing files (change system settings!)
  • sudo nano /etc/xdg/autostart/indicator-application.desktop
    Search the parameter: OnlyShowIn= and add "Pantheon" at the end of the line :
    OnlyShowIn=Unity;GNOME;Pantheon;
    Save your changes (Ctrl+X to quit + Y(es) save the changes + Enter to valid the filename).
    3.reboot.

    Build and install (developer)

    1. Download the last release (zip) and extract files

    Dependencies

    2. You'll need all the dependencies from easy install and these to build :
    sudo apt-get install valac gcc meson 

    Build with meson

    3. Open a Terminal in the extracted folder, build your application with meson and install it with ninja:
    meson build --prefix=/usr
    cd build
    ninja
    sudo ninja install
    
    4. Follow step 2 from easy install (parameters) and reboot.

    uninstall

    Open a terminal in the build folder.
    sudo ninja uninstall
    Reboot or restart wingpanel : Version Hera(5) and previous:
    killall wingpanel
    Version Odin(6):
    killall io.elementary.wingpanel