/elementary-indicators

An unofficial guide to restore indicator functionality on elementary OS

elementary-indicators

An unofficial guide to restore indicator functionality on elementary OS

An overview

The indicator stack on elementary OS consists of the indicator-application package and the corresponding wingpanel-indicator-ayatana wingpanel component.

The standard Ubuntu indicator-application package needs patching to enable support for Pantheon - you can download a premade patched .deb here or read the instructions below to patch it yourself.

The wingpanel-indicator-ayatana package is no longer included in the standard elementary repos, however you can download the latest .deb here and the source is still avaliable here.

Installing the packages

To install the packages, you can use a .deb installer like Eddy or run sudo dpkg -i filename in your terminal. Once you've installed both packages, a reboot should get your indicators working in Pantheon.

Download and install .deb wingpanel-indicator-ayatana from here

Patching indicator-application

Update the .desktop

First, download the source to a directory of your choice by running bzr branch lp:indicator-application in your terminal (you'll need the bzr package installed if you don't already)

The patch itself is very small and straightforward - edit the indicator-application.desktop.in file located in the data folder and edit it so this line:

OnlyShowIn=Unity;GNOME;

becomes

OnlyShowIn=Unity;GNOME;Pantheon;

and save the file.

Generate a patched .deb

Now you can generate a patched .deb - the first step is to install the build dependencies by running:

sudo apt install debhelper dh-translations dh-autoreconf dbus-test-runner gnome-common xvfb libglib2.0-dev libgtk-3-dev libdbus-glib-1-dev libjson-glib-dev intltool libappindicator3-dev libindicator3-dev libdbusmenu-glib-dev libdbusmenu-gtk3-dev

in your terminal.

The final step is to run debuild -i -us -uc -b in the root of the indicator-application folder. Once this has finished, there should be a .deb for you to install in the parent directory.

Adjust gap between icons

Edit /usr/share/themes/elementary/gtk-3.0/apps.css or if you use https://github.com/surajmandalcell/elementary-x /usr/share/themes/elementary-x/gtk-3.22/apps.css, and set the padding of .composited-indicator:

.composited-indicator {
    padding: 0 2px;
}

Then set your theme to something else and then back again to make sure the changes are refreshed(or restart/log out)