Ayatana indicators on Manjaro MATE
Intro
Ayatana indicators do not need much introduction. Ubuntu users have been using them for ages, and now the Ayatana project offers the very same set of indicators to any other Linux distribution as well, with all Ubuntu dependencies and schemas removed.
Installation
Remove the Ubuntu application indicator if it's installed
sudo pamac remove indicator-application
Install the indicators
# You need this to display indicators
pamac build mate-indicator-applet
# I consider these essential:
pamac build ayatana-indicator-session
pamac build ayatana-indicator-datetime
pamac build ayatana-indicator-sound
pamac build ayatana-indicator-power
pamac build ayatana-indicator-messages
pamac build ayatana-indicator-keyboard matekbd-keyboard-display
pamac build ayatana-indicator-printers
pamac build ayatana-indicator-application
pamac build ayatana-indicator-display
# You decide if you need these:
pamac build ayatana-indicator-notifications
pamac build ayatana-indicator-bluetooth
pamac build ayatana-indicator-a11y
pamac build ayatana-settings
Now reboot, add Indicator Applet Complete to your panel, and you're good to go.
Tweaks and settings
Change Network Manager from systray to indicator mode
cp /etc/xdg/autostart/nm-applet.desktop $HOME/.config/autostart
sed -i "s/^Exec=.*/Exec=nm-applet --indicator/" $HOME/.config/autostart/nm-applet.desktop
Install the Pamac application indicator
sudo pamac install pamac-tray-icon-plasma
Let Pamac's application indicator autostart, and disable the legacy icon
cp /etc/xdg/autostart/pamac-tray-plasma.desktop $HOME/.config/autostart/pamac-tray-plasma.desktop
sed -i "/OnlyShowIn.*/d" $HOME/.config/autostart/pamac-tray-plasma.desktop
cp /etc/xdg/autostart/pamac-tray.desktop $HOME/.config/autostart/pamac-tray.desktop
echo "Hidden=true" >> $HOME/.config/autostart/pamac-tray.desktop
Disable MATE's volume control icon
cp /etc/xdg/autostart/mate-volume-control-status-icon.desktop $HOME/.config/autostart/mate-volume-control-status-icon.desktop
echo "Hidden=true" >> $HOME/.config/autostart/mate-volume-control-status-icon.desktop
Disable the systray keyboard indicator
gsettings set org.mate.peripherals-keyboard-xkb.general disable-indicator true
Allow the power indicator to show bluetooth battery levels
sudo sed -i "s/^#Experimental = .*/Experimental = true/" /etc/bluetooth/main.conf
sudo sed -i "s/^#KernelExperimental = .*/KernelExperimental = true/" /etc/bluetooth/main.conf
sudo systemctl restart bluetooth