通过notify-send发送正常紧急通知
我现在在15.04(Vivid Vervet),我似乎无法收到任何通知,除非他们的紧急程度设置为关键,如下:
notify-send -u critical "IRC" "This is a critical IRC notification
与此不同,它不起作用:
notify-send -u normal "IRC" "This is a normal IRC notification"
我正在使用它作为测试来解决irssi-libnotify ,它正确地将通知发送到服务器,但它们没有被显示,因为它们是正常紧急的。 我宁愿不修改python脚本作为一种解决方法,因为这可能是未来包的问题。
正确的语法是
notify-send [OPTIONS] [body]
例如:
notify-send -u normal "Hello World" "Have a nice day"
看看man notify-send
如果你想使用其他库(在你的情况下是irssi-libnotify)并且有一个bug,请在GitHub上创建一个问题。
例
notify-send -u critical "IRC" "This is a critical IRC notification"