| Server IP : 172.67.191.97 / Your IP : 104.23.243.196 Web Server : Apache/2.4.63 (Ubuntu) System : Linux adminpruebas-Virtual-Machine 6.14.0-37-generic #37-Ubuntu SMP PREEMPT_DYNAMIC Fri Nov 14 22:10:32 UTC 2025 x86_64 User : www-data ( 33) PHP Version : 8.4.5 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : ON Directory : /usr/bin/ |
Upload File : |
#!/bin/sh
#===============================================================================
#
# FILE: remmina-file-wrapper
#
# USAGE: ./remmina-file-wrapper
#
# DESCRIPTION: Wrapper used by xdg to connect or edit a remmina file clicking
# on it, or clicking to an URL like remmina:///profile.remmina
#
# OPTIONS: File path or URL
# REQUIREMENTS: ---
# BUGS: ---
# NOTES: ---
# AUTHOR: Antenore Gatta (tmow), [email protected]
# ORGANIZATION: Remmina
# CREATED: 15. 06. 19 00:32:11
# REVISION: ---
# LICENSE: GPLv2
#===============================================================================
set -o nounset # Treat unset variables as an error
USRBIN="$(dirname "$(readlink -f "${0}")")"
REMMINA="/usr/bin/remmina"
if [ ! -f "$REMMINA" ]; then
REMMINA="${USRBIN}/remmina"
fi
if [ ! -f "$REMMINA" ]; then
REMMINA="remmina"
fi
export GLADE_HOME="$USRBIN/../share/remmina/ui/"
case "$@" in
*rdp:*)
"$REMMINA" "${@}"
;;
*spice:*)
"$REMMINA" "${@}"
;;
*vnc:*)
"$REMMINA" "${@}"
;;
*ssh:*)
"$REMMINA" "${@}"
;;
*remmina:*)
"$REMMINA" "${@#remmina:\/\/}"
;;
*)
"$REMMINA" "${@}"
;;
esac