Notifications

August 16, 2026 ยท View on GitHub

For usage related information, see notifications feature.

The prefix for all packets and capabilities is notification.

ComponentLink
clientxpra.client.subsystem.notification
client connectionxpra.server.source.notification
serverxpra.server.subsystem.notification

The server exposes a single enabled flag using the notifications capability prefix.

Packet TypeArgumentsDirection
notification-shownotification data (see below)server to client
notification-closenotification id : integer
reason : string optional
text : string optional
either direction
notification-actionnotification id : integer
action_key : string
client to server
notification-statusenabled : booleanclient to server

Notification data

ArgumentTypeNotes
dbus_idstringEmpty if unused
notification idintegershould be unique
application namestring
replaced notification idinteger0 if unused
application iconstringthe name of the icon to show
summarystringthe title of the notification
bodystringthe contents of the notification
timeoutintegerin milliseconds, zero if unused
icon datalist (optional)the icon data to use, see below
actionslist (optional)see below
hintsdictionary (optional)see below

Notification Icon

The icon data is a list or tuple with 4 elements:

ArgumentType
formatstring
widthinteger
heightinteger
databytes

The only format which is guaranteed to be supported is png. Other formats should not be used.