Skip to content

Latest commit

 

History

History
30 lines (22 loc) · 1.29 KB

Notifications.md

File metadata and controls

30 lines (22 loc) · 1.29 KB

Notifications

This feature allows server side applications to send system notifications (aka notifications bubbles) to the client.

It is supported on all platforms and controlled by the notifications configuration option.

Platform support

  • MS Windows use system bubbles - you may need to configure your system to show the xpra system tray icon and / or the bubbles
  • MacOS clients use a custom GTK window since there was no system API until OSX 10.8.x (this should be replaced with native code at some point)
  • posix clients can use python-notify or python-dbus (the exact name of the packages required vary)

Screenshots

MS Windows XP:
MS Windows Notification

MacOS 10.10.x:
MacOS Notification

Gnome-shell:
Gnome-Shell Notification


Debugging

  • start both the client and server with the debug command line flags: -d notify,dbus
  • you can also test notifications forwarding using the dbus interface or xpra control, ie:
    xpra control :100 send-notification "hello" "world" "*"
    will send the message to all clients.