Notify-osd通知在左上角显示为unhemed
问题
我最近从13.04升级到13.10,突然通知气泡在右上角看起来不像往常一样,但它们在左上角的蓝色背景上显示为白色文本。 它看起来像这样:
不成功的尝试解决它
-
我尝试重新安装
unity
,notify-osd
,ubuntu-desktop
已删除的notify-osd
notification-daemon
已安装,但没有一个修复它。 -
实际上运行
ps aux | grep notify-osd
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
-
如果我理解的话,该实例是由
/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
重命名或删除该文件(并重新启动)不会产生任何影响(并且不会自动重新创建)。
-
这不是来自于13.10的notify-osd的无通知 (并且通过我清除
gnome-flashback-session
和notification-daemon
)
问题(S)
我该怎么调试呢? 如何让通知恢复正常?
如果需要额外的调试信息,我会很乐意添加它(只是我找不到了)。
i3正在使用“dunst”通知守护程序,因此您必须将其删除才能重新启用ubuntu notify-osd
。
从终端执行以下操作:
sudo apt-get purge dunst killall dunst notify-send "Hello"
因为i3,我遇到了同样的问题。 清除使用i3安装的所有软件包帮助我:
sudo apt-get purge i3 i3-wm i3lock suckless-tools i3status dunst
我认为(但我不确定)问题是dunst
包 – 根据它的描述它也是通知守护进程。