Hyperlink not working with `notify-send`

System

Fedora 40, Gnome 46

Example

Url='https://linuxconfig.org/how-to-send-desktop-notifications-using-notify-send'
MD_URL='[How to send desktop notifications using notify-send - Linux Tutorials - Learn Linux Configuration](https://linuxconfig.org/how-to-send-desktop-notifications-using-notify-send)'
notify-send "Downloaded" "<a href=${Url}>${MD_URL}</a>"

image

Hyperlinks are not supported by the gnome-shell notification daemon and they are also not indicated as supported by the server capabilities (body-hyperlinks).

If you include URLs in the body text they are however automatically converted into hyperlinks.

Is it recommended to use Zenity as that seems to be more feature rich? Where does notify-send excels?

Zenity is intended for creating dialog windows, notify-send is for notifications.

This topic was automatically closed 45 days after the last reply. New replies are no longer allowed.