AyatanaIndicators / ayatana-indicator-notifications

Ayatana Indicator Notifications Service
GNU General Public License v3.0
4 stars 5 forks source link

Service works in the background but is not shown #31

Closed Bob-YsPan closed 1 year ago

Bob-YsPan commented 1 year ago

I use Manjaro Linux and install it at AUR, after recent update (maybe few monthes ago), the notification's icon gone but the service runnning in the background.

My desktop environment's specs: MATE 1.26.0 MATE Panel 1.26.2 Ayatana Indicator 1.27.0

The indicator bar

Service is running

Bob-YsPan commented 1 year ago

I found the solution... but seems like a little bug need to be fixed It seems that the location specified by the auto-start's is different from the location where the installation package is actually installed.

The auto-start's is /usr/local/libexec/ayatana-indicator-notifications/ayatana-indicator-notifications-service

But the actual file is at /usr/lib/ayatana-indicator-notifications/ayatana-indicator-notifications-service

image

trism commented 1 year ago

I think I see the problem. You installed ayatana-indicator-notifications from AUR, which installs it to /usr/local, but later a package was added to the community repository, and I guess you auto-updated to that version, which installs to /usr. However an old autostart was copied to your local ~/.config/autostart and was overriding the system's version (maybe you modified startup apps at some point). Is your /etc/xdg/autostart/ayatana-indicator-notifications.desktop correct?

Bob-YsPan commented 1 year ago

Yeah... seems like the desktop file in the /etc/xdg/autostart are correct image I tryied to delete the wrong files generated in /home/(my-username)/.config/autostart folder it fixed.