Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/Remmina/Remmina.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEspen Tveit <espen@tveit.io>2020-07-23 02:40:48 +0300
committerAntenore Gatta <antenore@simbiosi.org>2020-07-23 02:40:48 +0300
commit1508c8e7b11fd8d62de91d45cda240e48a14424d (patch)
treec88a3cb459647c0a9ca1b98f444f72c2a16f44f1 /data/desktop
parenta60b6f0479e7ba18c9c5271cd11a01cf13750618 (diff)
Make local variables reusable (not prefixed with type). Format code using uncrustify. Add indication that URI may be used in remmina --help. Add some examples to man page.
Diffstat (limited to 'data/desktop')
-rw-r--r--data/desktop/org.remmina.Remmina.desktop.in2
-rwxr-xr-xdata/desktop/remmina-file-wrapper.in3
2 files changed, 4 insertions, 1 deletions
diff --git a/data/desktop/org.remmina.Remmina.desktop.in b/data/desktop/org.remmina.Remmina.desktop.in
index acf31aa70..1f59aaf74 100644
--- a/data/desktop/org.remmina.Remmina.desktop.in
+++ b/data/desktop/org.remmina.Remmina.desktop.in
@@ -75,7 +75,7 @@ Type=Application
Categories=GTK;GNOME;X-GNOME-NetworkSettings;Network;
Keywords=remote desktop;rdp;vnc;nx;ssh;spice;xdmcp;
StartupWMClass=@REMMINA_APP_ID@
-MimeType=x-scheme-handler/rdp;x-scheme-handler/spice;x-scheme-handler/vnc;x-scheme-handler/remmina;application/x-remmina;
+MimeType=x-scheme-handler/rdp;x-scheme-handler/spice;x-scheme-handler/vnc;x-scheme-handler/ssh;x-scheme-handler/remmina;application/x-remmina;
Actions=Kiosk;Profile;Tray;Quit;
[Desktop Action Profile]
diff --git a/data/desktop/remmina-file-wrapper.in b/data/desktop/remmina-file-wrapper.in
index ccf6dbe56..a2033a157 100755
--- a/data/desktop/remmina-file-wrapper.in
+++ b/data/desktop/remmina-file-wrapper.in
@@ -42,6 +42,9 @@ case "$@" in
*vnc:*)
"$REMMINA" "${@}"
;;
+ *ssh:*)
+ "$REMMINA" "${@}"
+ ;;
*remmina:*)
"$REMMINA" "${@#remmina:\/\/}"
;;