I use Remmina all the time to access remote computers through RDP and VNC. But it’s annoying in i3 to open the main window, select a profile, then close the main window to leave just the remote session window.
Remmina does have a command line option to dock into the system tray using appindicator (the -i
option, i.e. “start as a tray icon”) and right-clicking the icon does provide a quick access to saved profiles.
However, there’s a problem with it: when the last window closes, Remmina exits instead of staying docked in the systray- Unfortunately, the Remmina folks won’t fix it - and in fact plan of killing the systray icon altogether.
There’s always the possibility of making a small shell script that restarts Remmina each time it closes. The problem with that approach is, it a Remmina process doesn’t terminate cleanly and stays in the background for some reason (it happens, especially if i3 is closed unexpectedly) then you have to open a terminal and kill the rogue remmina process, which is kind of a pain. Not to mention, if / when Remmina stops providing a systray icon, it’ll stop working.
So instead, since I use Rofi as a launcher in i3 - like most everybody I believe - and Rofi supports custom scripts, I made a small script to parse saved Remmina profiles and add them to Rofi as a special mode, to provide quick access to them.
As a bonus, when you’re not using Remmina, it’s not running and eating up memory for nothing.
You can find it here, along with instructions to install it:
https://github.com/Giraut/rofi_remmina_profiles_menu
Kind of trivial, but I figured I’d share it in case someone else finds it useful.