I have the problem that system trays in Ubuntu 18.04.1 (using GNOME) are not visible. I found a similar topic (Missing system tray icons Ubuntu Gnome 18.04) but the command sudo cpan -i Gtk2::AppIndicator did not solve the problem. Maybe this can be of interest. During the removal operation of unity, I got the following error, which is related to the appIndicator:

Configuring O/OE/OESTERHOL/Gtk2-AppIndicator-0.15.tar.gz with Makefile.PL
pkg-config --cflags appindicator-0.1 gtk+-2.0 didn't succeed, make sure it is righly installed at Makefile.PL line 17.
Warning: No success on command[/usr/bin/perl Makefile.PL INSTALLDIRS=site]
  /usr/bin/perl Makefile.PL INSTALLDIRS=site -- NOT OK

No system tray is visible and if I open skype or pidgin and close the application window, I cannot re-open the application in an easy way. Any link, support is appreciated. Thank you, Tobi

New contributor
Tobi is a new contributor to this site. Take care in asking for clarification, commenting, and answering. Check out our Code of Conduct.

According to the search on https://packages.ubuntu.com you need to install the following packages - libappindicator-dev and libgtk2.0-dev:

sudo apt install libappindicator-dev libgtk2.0-dev

and then retry with sudo cpan -i Gtk2::AppIndicator.

  • Hi @NOrbert, thank you for the hints. However, it does not work. Well, the removal is working now but I still do not have any system trays. – Tobi 2 days ago
  • By installing this packages I have solved the warning message problem. You can use search on this site to get trayicons on modern GNOME (usually with the help of extensions). – N0rbert 2 days ago

Your Answer

Tobi is a new contributor. Be nice, and check out our Code of Conduct.

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Not the answer you're looking for? Browse other questions tagged or ask your own question.