![如何抑制来自 dbus 的特定通知?](https://linux22.com/image/209117/%E5%A6%82%E4%BD%95%E6%8A%91%E5%88%B6%E6%9D%A5%E8%87%AA%20dbus%20%E7%9A%84%E7%89%B9%E5%AE%9A%E9%80%9A%E7%9F%A5%EF%BC%9F.png)
我在 dbus 中有什么:
method call time=1659640147.068489 sender=:1.46 -> destination=:1.18 serial=63 path=/org/freedesktop/Notifications; interface=org.freedesktop.Notifications; member=Notify
string "GPU memory"
uint32 9
string "utilities-system-monitor-symbolic"
string "Running low on GPU memory"
string "GPU memory usage is at 84%. You may free up some memory by closing some applications."
array [
string "ignore"
string "Ignore"
string "examine"
string "Examine"
]
array [
]
int32 -1
method call time=1659640177.047328 sender=:1.46 -> destination=:1.18 serial=64 path=/org/freedesktop/Notifications; interface=org.freedesktop.Notifications; member=CloseNotification
uint32 9
signal time=1659640177.048047 sender=:1.18 -> destination=(null destination) serial=942 path=/org/freedesktop/Notifications; interface=org.freedesktop.Notifications; member=NotificationClosed
uint32 9
uint32 3
我找到了这个解决方案:https://access.redhat.com/solutions/6806841 但我无权访问它:( 我在桌面上使用 CentOS Stream 8,以及 gnome-3.32、dbus-daemon-1.12.8