Remmina - The GTK+ Remote Desktop Client  v1.4.2
Remmina is a remote desktop client written in GTK+, aiming to be useful for system administrators and travellers, who need to work with lots of remote computers in front of either large monitors or tiny netbooks. Remmina supports multiple network protocols in an integrated and consistent user interface. Currently RDP, VNC, NX, XDMCP and SSH are supported.
Systray menu

Currently there is not a common way to create a systray menu compatible with all desktops.

GtkStatusIcon has been deprecated since GTK 3.14. So we must move to something else. Unfortunately, this "something else" is different from a desktop environment to another.

E.g.: read this discussion for the same problem on Transmission client.

Yet, we cannot use gtk_window_present() from a systray menu, see issue #542.

So, for each supported desktop environment, we must answer two questions:

Q1. Where do we put the remmina systray menu, and which API do we use for it ? Q2. Does this place also allow the user to raise a hidden window via gtk_window_present() ?

References

The desktop environments

Unity

In Ubuntu's Unity, we currently do not use GtkStatusIcon, but libappindicator. This almost works, but when the remmina windows are not on the top, we are unable to present its windows to users. This is explained in issue #542 and it's a problem of the window manager which prevents gtk_window_present() to stealing focus to other applications. We could use DBusMenu and the Launcher API to move all the current remmina systray menu into Unity Launcher icon as dynamic quicklist entries. Compatibility with gtk_window_present() must be tested.

Gnome Shell

Some functions of the Shell for ShellTrayIcon object should help for the icon (but no menu support ???). For correctly placing a menu, we can take a look to Gnome Shell Extension Appindicator source code.

Read this page which contains a possible plan for GtkStatusIcon under Gnome Shell.

In Gnome Shell, Status Icons (GtkStatusIcon) were hidden into the Message Tray at the bottom of the screen. See https://help.gnome.org/misc/release-notes/3.6/users-message-tray.html.en The Message Tray has been removed with Gnome Shell 3.16: https://help.gnome.org/misc/release-notes/3.16/ and it seems that a new drawer has been added to the bottom left of the screen to host all application status icons. Unfortunately I'm currently unable to find official changelog/documentation for this drawer.

Currently Remmina detects Gnome Shell and, if detected, remmina will quit when there are no visible windows on the screen. We did this because older Gnome Shells hides all deprecated GtkStatusIcons in a hidden place below the screen, and the user is unable to undestand when remmina is running. Starting with Gnome Shell 3.16 a new drawer has been introduced, which can give the user visual feedback of the GtkStatusIcon presence.

KDE

In KDE KStatusNotifierItem

Plasma 5

In Plasma 5 they have removed completely the support of the xembed protocol, but you can run XEmbed SNI Proxy and work around it.

The goal of this project is to make xembed system trays available in Plasma:

https://github.com/KDE/plasma-workspace/tree/master/xembed-sni-proxy [-]

Just run

xembedsniproxy

XFCE

In XFCE ???

LXDE/LXQT

In LXDE ???

MATE

In MATE ???

EXTERNAL SOURCES