How to re-enable Ayatana AppIndicators in basic OS 5.0 Juno

The latest basic OS 5.0 Juno can be used as Beta 1 Developers are currently previewing, and the old Ayatana AppIndicators are not supported by default. This article explains how to re-enable AppIndicators on the basic OS Juno.

Two software packages are responsible for displaying Ayatana AppIndicators in the basic OS: indicator-application with wingpanel-indicator-ayatana. The first one needs to be adjusted to work in basic OS 5.0, while the second one is no longer applicable to this basic OS version, but you can install older DEB packages.
1. indicator-application It is installed by default in the basic OS 5.0 Juno, but adjustments are required to use Pantheon. of OnlyShowIn=Unity;GNOME; Need to change part of its auto launch desktop file to OnlyShowIn=Unity;GNOME;Pantheon;.
You can copy /etc/xdg/autostart/indicator-application.desktop Archive to ~/.config/autostart (Therefore, this change will only affect your users, not every time you update the package) and edit the file there. Alternatively, you can run the following command to perform all operations from the terminal:

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

2. wingpanel-indicator-ayatana It is no longer available in the basic OS 5.0 Juno, but you can download it from the DEB package Here (You just need the package without -dbg in the name) and install it on the system. You can download and install this package from the terminal using the following command (since the basic OS Juno currently only uses 64-bit ISO, it will install the 64-bit package):


sudo dpkg -i wingpanel-indicator-ayatana_2.0.3+r27+pkg17~ubuntu0.4.1.1_amd64.deb

After applying the adjustment in step 1, install the software package linked in step 2. Then log out, and then log on to the basic OS 5.0 Juno desktop, Ayatana AppIndicators should be