Persistent new mail notification. [Linux.]

User Help for Mozilla Thunderbird
Post Reply
yoreh
Posts: 3
Joined: January 21st, 2018, 5:02 am

Persistent new mail notification. [Linux.]

Post by yoreh »

Hello,

Is there any way to make Thunderbird new mail notifications not disappear after a few seconds through some kind of setting or an extension? I'm using 52.5.0 version under KDE Plasma 5.
Last edited by LIMPET235 on January 21st, 2018, 5:10 am, edited 1 time in total.
Reason: Added [Linux] to the title.
User avatar
DanRaisch
Moderator
Posts: 127229
Joined: September 23rd, 2004, 8:57 pm
Location: Somewhere on the right coast

Re: Persistent new mail notification. [Linux.]

Post by DanRaisch »

Menu path Edit → Preferences->General->Customize button->select a length of time.
yoreh
Posts: 3
Joined: January 21st, 2018, 5:02 am

Re: Persistent new mail notification. [Linux.]

Post by yoreh »

Hm, maybe it's something with Plasma, but I've set it to 3600 s and it still disappears after few seconds.
User avatar
DanRaisch
Moderator
Posts: 127229
Joined: September 23rd, 2004, 8:57 pm
Location: Somewhere on the right coast

Re: Persistent new mail notification. [Linux.]

Post by DanRaisch »

Yes, that could be an OS issue.
yoreh
Posts: 3
Joined: January 21st, 2018, 5:02 am

Re: Persistent new mail notification. [Linux.]

Post by yoreh »

Ok, I got it working. KDE developers decided to hard code 5 s timeout for notifications and to not keep them in notification area in Plasma 5. It can be worked around with GNotifier extension and custom command notifier:

Code: Select all

notify-send -t 0 -i "%image" "%title" "%text"; notify-send -t 10000 -i "%image" "%title" "%text"
where zero timeout ensures that it is treated as a persistent notification and kept in the notification area. The first notification goes straight to notification area and a popup is not shown. The second shows a popup with 10000 ms (10 s) timeout, but it is not retained in the notification area after disappearing.

Hope that helps somebody else dealing with the problem.
User avatar
DanRaisch
Moderator
Posts: 127229
Joined: September 23rd, 2004, 8:57 pm
Location: Somewhere on the right coast

Re: Persistent new mail notification. [Linux.]

Post by DanRaisch »

Thanks for posting the solution.
Post Reply