You are not logged in.
Using notify-send, is there a way to associate a notification with some action (e.g. execution of a script) when clicking on it? Or is it possible to include a button within the notification? To better understand what I mean, please have a look the below image depicting a notification sent by Rhythmbox that contains some buttons.
Last edited by ibes (2013-11-16 08:00:58)
Offline
Hello
Maybe this link will be useful for you : https://wiki.ubuntu.com/NotificationDesignGuidelines
Offline
You might be interested in "dunstify" which is a part of the dunst daemon, but is not installed with the AUR package. It is a more fleshed out interface for libnotify than notify-send.
dunstify -A yes,ACCEPT -A no,DECLINE "Call waiting"
https://github.com/knopwob/dunst
Last edited by progandy (2013-11-15 21:31:33)
| alias CUTF='LANG=en_XX.UTF-8@POSIX ' |
Offline
Thank you all for your replies! I think I'll have a look at dunstify then.
Offline
Using my necro-powers as this is still one of the top search engine results and I wasted too much time finding related info
notify-send does support actions and buttons now, see the SE thread that links here: https://unix.stackexchange.com/a/763538/435522
Last edited by C0rn3j (2024-02-15 14:04:09)
Offline