SWick

Sysadmin-by-Nature

Desktop User Notifications (Gnome, XFCE, KDE)
6th January 2022

Requirement

Usually comes pre-installed with Gnome and XFCE.
For KDE I had to manually install it.

apt install update-notifier-common

Files

All Desktops poll the directory /var/lib/update-notifier/user.d/ for changes.
KDE in shorter intervals than Gnome and XFCE.
It can take up to 5 minutes until the next poll comes around and the message gets displayed.

Gnome and XFCE display only new or changed messages since the last display.
KDE shows old messages again if they are still lying around.
So with KDE, make sure to remove old stuff in this folder
before putting new messages in it, so users don't get confused with old messages.

Examples

/var/lib/update-notifier/user.d/a-message

Name: A Message
Description: Hello Desktop

/var/lib/update-notifier/user.d/another-message

Name: Another Message
Description: Hello Desktop again

Gnome

A Message

Another Message

Both Messages

Note the Next Button

XFCE

A Message

Both Messages

Note the Next Button

KDE

A Message

Both Messages

"People said I should accept the world. Bullshit! I don't accept the world." -- Stallman