首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >通知-在闪回下发送不工作

通知-在闪回下发送不工作
EN

Ask Ubuntu用户
提问于 2015-01-13 05:57:41
回答 1查看 828关注 0票数 0

无法在Ubuntu14.10下用notify-send发送消息,使用Metacity运行Flashback。

当一个命令发出如下命令时:

代码语言:javascript
复制
notify-send test

没有消息出现。查看进程,notify-osd是在执行通知发送时启动的。kill it和它在notify-send上重新出现,但仍然没有消息。有时,ot使用root进行发送:

代码语言:javascript
复制
sudo notify-send test
EN

回答 1

Ask Ubuntu用户

回答已采纳

发布于 2015-01-13 06:02:51

还没有找到为什么通知-发送不适用于notify-osd,而是查看:

/usr/share/dbus-1/services/org.freedesktop.Notifications.service

一次发现

代码语言:javascript
复制
[D-BUS Service]
Name=org.freedesktop.Notifications
Exec=/usr/lib/i386-linux-gnu/notify-osd

将其更改为使用notification-daemon似乎有效。

代码语言:javascript
复制
[D-BUS Service]
Name=org.freedesktop.Notifications
Exec=/usr/lib/notification-daemon/notification-daemon

因此,至少就目前而言,这是一个黑客/修复。

org.gnome.Notifications.service

默认为notification-daemon

票数 0
EN
页面原文内容由Ask Ubuntu提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://askubuntu.com/questions/573123

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档