![通知未显示(notify-send notify-osd)](https://linux22.com/image/1407536/%E9%80%9A%E7%9F%A5%E6%9C%AA%E6%98%BE%E7%A4%BA%EF%BC%88notify-send%20notify-osd%EF%BC%89.png)
通过notify-send和notify-osd发送的通知毫无原因地停止了工作。notify-send不显示任何内容。notify-osd显示此错误:
** (notify-osd:30409): WARNING **: Couldn't connect to accessibility bus: Failed to connect to socket /tmp/dbus-JOB9rCGFAt: Connection refused
** (notify-osd:30409): WARNING **: dbus_create_service_instance(): Got error "Failed to connect to socket /tmp/dbus-GWnKyuCbfH: Connection refused"
** (notify-osd:30409): WARNING **: Could not register instance
以前,这个对我来说很好用,所以也许是 Debian 最近发生了一些变化?我也有自己的脚本来设置 DBUS 相关环境,但它不再适用于这个:
session="$HOME/.dbus/session-bus/$(dbus-uuidgen --get)-$(echo $DISPLAY | sed -e 's/\([^:]*:\)//g' -e 's/\..*$//g')"
if [ -e $session ] ; then
. $session
fi
知道如何排除故障吗?我在谷歌上没有找到任何最新信息。谢谢。m。