View previous topic :: View next topic |
Author |
Message |
nameiwillforget n00b
Joined: 07 May 2024 Posts: 37
|
Posted: Mon Jun 10, 2024 2:38 pm Post subject: [Solved] Sending messages over D-Bus exceeds maximum |
|
|
I have systemd on a newly installed Gentoo-system and finally got messages to be sent through the D-Bus system. But the pleasure was short-lived, because now this happens:
Code: |
~ $ notify-send "test"
Sending message over D-Bus failed: Exceeded maximum number of notifications
|
Initially I thought I'd just wait a few minutes, but that was at least half a week ago (though I might not have rebooted during that time) and it still doesn't work. Why is there even a maximum number of notifications and how can I turn it up higher?
Last edited by nameiwillforget on Mon Jul 08, 2024 7:58 pm; edited 1 time in total |
|
Back to top |
|
|
rab0171610 Guru
Joined: 24 Dec 2022 Posts: 423
|
Posted: Mon Jun 10, 2024 3:29 pm Post subject: |
|
|
Just a few thoughts as it works fine here (kde, systemd, wayland). Is kde-apps/kdialog installed? In the past, have you modified your Notification applet settings in the System Tray? Is it enabled? Is it accidentally set to "Do Not Disturb" mode? Do you have a huge list of past notifications in the panel applet that have not been cleared? If so, right click on the notifications applet and click "Clear all Notifications".
Maybe not relevant, but is x11-libs/libnotify installed? It is here.
Do you see a pop-up in the system tray when you instead use this command:
Code: | kdialog --passivepopup 'text' 6 |
|
|
Back to top |
|
|
nameiwillforget n00b
Joined: 07 May 2024 Posts: 37
|
Posted: Mon Jun 10, 2024 4:28 pm Post subject: |
|
|
I didn't have kdialog installed, because I'm using StumpWM, but I installed it now to see what would happen. I ran the command you wrote, it does print the text in a box, but not like the box that would normally be used, which looks more like Gnome and is on the right side of the screen while this one was on the left. If I'm using notify-send, I still get the same error message though. If possible I'd like to not have to use kdialog permanently, because it's pretty much the only kde-program I'm using and the printed box looks a bit uglier than the other one. dbus.service and dbus.socket are both running. Oh, also I'm using X because StrumpWM doesn't work on Wayland.
Edit: forgot to mention this, since I'm using Stump, I don't really have any location on the screen where notifications are stored, they only pop up. However, I had the same setup on Arch, where I never ran into that problem. |
|
Back to top |
|
|
rab0171610 Guru
Joined: 24 Dec 2022 Posts: 423
|
Posted: Mon Jun 10, 2024 5:28 pm Post subject: |
|
|
Ok my apologies, for some reason I thought I read you were using KDE. I see now that I was mistaken. I can see why you would not want kdialog installed and probably not that helpful. The info you provided in last post may be useful. Maybe the issue is related to notify-send after all. I did a quick search online and saw that others had reported this issue over the years for varying reasons. |
|
Back to top |
|
|
rab0171610 Guru
Joined: 24 Dec 2022 Posts: 423
|
|
Back to top |
|
|
nameiwillforget n00b
Joined: 07 May 2024 Posts: 37
|
Posted: Mon Jul 08, 2024 7:57 pm Post subject: |
|
|
I found out that the maximum number of notifications of notify-send is 21, after that one has to do something like
Code: |
killall notification-daemon
|
I've now switched to Dunst. |
|
Back to top |
|
|
|