You are not logged in.
Often time, in the top right corner of my screen, Web Sites I allowed to ( example Reddit) send notifications with URL I can click.
Thunderbird too etc etc....
But the Notification tool we use in Lithium make it impossible for me to click a URL in the notification....
What would be the easiest way, that if I get a notification, to make it " clickable" ?
For now, the notification show up and dissapear after a few secondes and I can't click it...
Last edited by yoda (2020-05-28 17:53:14)
According to Buddhism, we all met several times... This time, it's on this forum :-) May we meet again
Offline
...
For now, the notification show up and dissapear after a few secondes and I can't click it...
You can set the default timeout either via the configuration gui ( Menu -> Notifications ), or using the '-t' parameter in the notify-send command.
IIRC xfce4-notifyd specifically does not support "clickable" actions, using notify-send. You can add a link using markup, but it doesn't function.
notify-send "Title" "<a href='www.google.com'>Link</a>"
Last edited by damo (2020-05-24 17:08:10)
Be Excellent to Each Other...
The Bunsenlabs Lithium Desktop » Here
FORUM RULES and posting guidelines «» Help page for forum post formatting
Artwork on DeviantArt «» BunsenLabs on DeviantArt
Offline
tks
Yes I saw for the delay we can modify
According to Buddhism, we all met several times... This time, it's on this forum :-) May we meet again
Offline
IIRC xfce4-notifyd specifically does not support "clickable" actions, using notify-send. You can add a link using markup, but it doesn't function.
Hmmm, apparently not.
Dunst does! Upon install it replaces the existing notification daemon. Easy configuration via a single config file.
Offline
tks @ohnonot !
Will try
According to Buddhism, we all met several times... This time, it's on this forum :-) May we meet again
Offline
@ohnonot do you use it ? (Dunst)
I installed it but it doesn't seem to work... Rebooted etc
Will continue reading info I find about it on the web
According to Buddhism, we all met several times... This time, it's on this forum :-) May we meet again
Offline
I use dunst.
Assume you send a notification like this:
notify-send "Test" "<a href=\"https://forums.bunsenlabs.org/\">BL</a>"
And you have this in your ~/.config/dunst/dunstrc:
markup = full
# Display indicators for URLs (U) and actions (A).
show_indicators = yes
# dmenu path.
dmenu = /usr/bin/dmenu -p dunst:
# Browser for opening urls in context menu.
browser = /usr/bin/firefox
mouse_middle_click = do_action
# Context menu.
context = ctrl+shift+period
then you can either widdle-click the "BL" text in your notification, or press ctrl+shift+period and just enter on what dmenu displays.
Offline
tks a lot !!
I just installed it with defaults.
your test seems to work.
I don't have ~/.config/dunst/dunstrc but I do have /etc/xdg/dunst/dunstrc
You want me to create it in my home folder .config ?
Tks
According to Buddhism, we all met several times... This time, it's on this forum :-) May we meet again
Offline
Copy that /etc/xdg file to your local config directory and new edits will override the global config.
So, yes!
I don't care what you do at home. Would you care to explain?
Online
Tks !! Tks for your patience ;-)
According to Buddhism, we all met several times... This time, it's on this forum :-) May we meet again
Offline
Do you have any idea why I would get this error, I am vi the file as root... Noobie question sorry
See the error at the end when I :wq!
show_indicators = yes
# dmenu path.
dmenu = /usr/bin/dmenu -p dunst:
# Browser for opening urls in context menu.
browser = /usr/bin/firefox
mouse_middle_click = do_action
# Context menu.
context = ctrl+shift+period
~
~
~
~
~
"/home/yoda/.config/dunst/dunstrc"
"[b]/home/yoda/.config/dunst/dunstrc" E212: Can't open file for writing[/b]
Last edited by yoda (2020-05-27 13:15:53)
According to Buddhism, we all met several times... This time, it's on this forum :-) May we meet again
Offline
FOrget it LOL
I am stupid, didn't created the dunst folder before
It's ok now
According to Buddhism, we all met several times... This time, it's on this forum :-) May we meet again
Offline