| Server IP : 178.105.222.151 / Your IP : 216.73.216.38 Web Server : nginx/1.28.3 System : Linux MNK 7.0.0-15-generic #15-Ubuntu SMP PREEMPT_DYNAMIC Wed Apr 22 16:06:43 UTC 2026 x86_64 User : www-data ( 33) PHP Version : 8.5.4 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : OFF Directory : /bin/ |
Upload File : |
#!/bin/sh
# Prevent recursive loops, where environment variables are set to this script
[ -n "$__SENSIBLE_BROWSER" ] && exit 126
__SENSIBLE_BROWSER="$0"
export __SENSIBLE_BROWSER
Try()
{
[ -z "$__sensible_candidate" ] && return
eval "$__sensible_candidate \"\$@\""; ret=$?
# 127=ENOENT, 126=couldn't exec for another reason
[ "$ret" -ne 126 ] && [ "$ret" -ne 127 ] && exit "$ret"
unset ret
}
__sensible_candidate="$BROWSER"
Try "$@"
if [ -n "$DISPLAY" ]; then
if [ -n "$GNOME_DESKTOP_SESSION_ID" ]; then
for __sensible_candidate in gnome-www-browser x-www-browser "gnome-terminal www-browser"; do
Try "$@"
done
fi
for __sensible_candidate in x-www-browser "sensible-terminal -e www-browser"; do
Try "$@"
done
else
__sensible_candidate=www-browser
Try "$@"
fi
command -v gettext > /dev/null || alias gettext='printf %s'
# shellcheck disable=SC2016
TEXTDOMAIN=sensible-utils gettext 'Couldn'\''t find a suitable web browser!
Set the $BROWSER environment variable to your desired browser.
' >&2
exit 1