我最近从 13.04 升级到 13.10,突然通知气泡在右上角没有像往常一样显示主题,而是在左上角显示为蓝底白字。它看起来像这样:
我尝试重新安装unity, notify-osd,ubuntu-desktop删除notification-daemon已安装的,但都没有修复它。
事实上,运行ps aux | grep notify-osd表明notify-osd 甚至没有运行。但是当我尝试通过运行手动启动它时,/usr/lib/x86_64-linux-gnu/notify-osd我得到:
** (notify-osd:4618): WARNING **: Another instance has already registered org.freedesktop.Notifications
** (notify-osd:4618): WARNING **: Could not register instance
Run Code Online (Sandbox Code Playgroud)如果我理解得很好,该实例是由/usr/share/dbus-1/services/org.freedesktop.Notifications.service文件注册的,该文件现在包含:
[D-BUS Service]
Name=org.freedesktop.Notifications
Exec=/usr/lib/x86_64-linux-gnu/notify-osd
Run Code Online (Sandbox Code Playgroud)
重命名或删除该文件(并重新启动)没有任何影响(并且不会自动重新创建)。
这不是13.10 上来自 notify-osd的无通知的副本(顺便说一下,我gnome-flashback-session和 一起清除了notification-daemon)
我该如何调试?我怎样才能收到恢复正常的通知?
如果需要额外的调试信息,我很乐意添加它(只是我找不到更多)。
我安装了i3,它推荐dunst,但我目前没有使用 i3,并且 dunst 通知并不真正适合 Unity。我宁愿不完全卸载 dunst,因为我可能想在将来的某个时候开始使用它;有没有办法在不卸载 dunst 的情况下切换回 notify-osd?