I am using Firefox 68.4 as a client for chat (Mattermost). When a message is received, a short notification popup appears. It only stays for few seconds and then disappears.

Where is this timeout configured ? How can I change it ?

Ideally, I would like the popup to stay until I click with my mouse. If that is not possible, at least I would like to increase the timeout.

How can I do this ?

Also, I would like to define a sound notification, whenever popup appears.


I am using plain Openbox, without any other desktop environment. I am not aware that I have any notification daemon. I am almost sure, the notifications are handled by Firefox. The pop-up window looks like Firefox.

  • 1
    Is this in your notification tray? Which desktop environment are you using?
    – bu5hman
    Apr 4, 2020 at 6:22
  • 1
    What notification manager are you using? Apr 5, 2020 at 12:14
  • This is mainly handled by the desktop environment, we need precision about the used desktop in order to to give a precise answer...
    – intika
    Apr 6, 2020 at 3:53
  • @bu5hman It is libnotify for osd messages.
    – WGRM
    Apr 9, 2020 at 12:09

3 Answers 3


Not that I use Mattermost but it appears from the website that notifications are delivered to the system tray

In KDE5 you can change system popup notification timeouts in

System -> System Settings -> Notifications 

If this is managed through the system tray then your sound notifications should be in the system settings too.


Firefox notifications are mainly handled by the desktop environment.


This is not an easy task for gnome, details on notifications delay are available here.

However, notifications in gnome should remain visible, until you move your mouse.


Notification settings (and delay) can be changed in the KDE system settings

systemsettings5 > Notification > Select "Firefox" on the drop list 

Then adjust the delay on the desired notification, also note that this notification applet is probably useful in this case.


In this case, this depends on the used notification daemon (precision on the system config are needed), detail for Openbox notification is available here.


Notification can be intercepted and handled manually with a custom script/application, more details are available here and here


Precision on the used desktop is required for a more detailed answer.

  • I didnt expect KDE or anything to overwrite programm parameter. Nice to know.
    – WGRM
    Apr 9, 2020 at 12:11

Firefox forwards push notifications to your desktop environment's notification manager.

The settings for the notification handler are controlled in your desktop environment's setup menus. Depending on your desktop environment you may be able to change what listener(s) handle(s) these notifications and change how they are displayed. Normally they are handled by the systray notification handler.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.