xfce4-notifyd and support for <br> tag. Do we need it?
mmassonnet at gmail.com
Wed Feb 24 21:34:49 CET 2010
2010/2/24 uh.linux at gmail.com <uh.linux at gmail.com>:
> 24.02.2010 13:43, Mike Massonnet пишет:
>> Indeed, it's exactly what I thought, and from command line this works for
>> notify-send "title" "`echo -e "test\nreturn\ncarrier"`"
>> So<br> should simply be left out for the precise fact that a return
>> carrier works fine.
> Notify-send is not only way to sending notifications, what about dbus, or
> library calls?
I had better mention this, didn't I? :-)
Of course it works fine programmatically when you are using libnotify
(or even DBus directly) to show texts that contains carriage return
(typo fixed) characters. Next is a small Python snippet:
n = pynotify.Notification("Title", "test\ncarriage\nreturn")
More information about the Xfce