Nextcloud client: System tray icon missing

One user account on my desktop computer had a strange problem: The Nextcloud desktop client would start automatically on login, but the system tray icon did not appear. Killing the client and starting it manually did not help either. The chat application icon did appear, though.

I found the solution in a network-manager-applet bug comment: Edit /usr/share/mate/autostart/indicator-application.desktop and add a dbus-launch to the Exec line:

-Exec=/usr/lib/x86_64-linux-gnu/indicator-application/indicator-application-service
+Exec=dbus-launch /usr/lib/x86_64-linux-gnu/indicator-application/indicator-application-service

After logging out and in again, the icon appeared in the systray.

The file is part of the ubuntu-mate-default-settings package in Ubuntu 20.04. It is gone in 20.10, so there is no need to report a bug given that Ubuntu 22.04 (LTS) will be released soon.

Written by Christian Weiske.

Comments? Please send an e-mail.