Cinnamon: D-Bus name org.freedesktop.Notifications aquired even though notifications are off

Created on 28 Aug 2018  路  6Comments  路  Source: linuxmint/cinnamon

```

  • Cinnamon 3.8.8
  • Distribution: Arch
    ```

Issue

When disabling Notifications via cinnamon-settings, the cinnamon root process still aquires the dbus name org.freedesktop.Notifications, making it impossible for a different daemon to aquire this name, so one cannot substitute the builtin notifications daemon with another one, such as notify-osd or dunst.

Here is where the name is aquired, regardless of the notification enabled/disabled setting:

https://github.com/linuxmint/Cinnamon/blob/2499b0920ddbc86692f89cb54777486005add497/src/main.c#L143-L144

Steps to reproduce

  • Disable notifications in cinnamon-settings
  • Restart cinnamon
  • Try to run another notification daemon
  • Cannot acquire 'org.freedesktop.Notifications': Name is acquired by PID '<cinnamon process>'.

Expected behaviour

  • Other daemon can aquire org.freedesktop.Notficiations name
BUG

All 6 comments

@opatut are you still experiencing this issue?

I am not entirely sure if the problem has been fixed, since it was a long time ago and I don't remember what I did with my system afterwards ;) But I am still running cinnamon underneath i3 and my dunst nowadays works just as expected.

Therefore I believe this problem to be resolved. I'd say close the ticket, if it comes up again a new one can be opened.

I'm experiencing this on Cinnamon 4.4.8. Was experiencing on 4.0.x series and upgraded, but no joy. Should this ticket be reopened, or shall I open a new one?

Thanks for reopening @icarter09. The replication steps above are still valid; let me know if there's anything I can produce (logs etc.) to assist.

No problem @MegaphoneJon. Thanks for the update that the steps are still valid. Logs from /home/<username>/.xsession-errors and /var/log/syslog would be helpful. Thanks again.

No problem @MegaphoneJon. Thanks for the update that the steps are still valid. Logs from /home/<username>/.xsession-errors and /var/log/syslog would be helpful. Thanks again.

I am not @MegaphoneJon, but I am having the same issue. When I try to start dunst it says "Cannot acquire 'org.freedesktop.Notifications': Name is acquired by PID ''."

Debian 10, cinnimon version 3.8, dont have any xsession logs and there does not seem to be anything usefull in /var/log/syslog.

Was this page helpful?
0 / 5 - 0 ratings