Description: Try using xdg-open in xdg-email's generic mode. Author: Per Olofsson Bug-Debian: https://bugs.debian.org/691259 Last-Update: 2015-09-13 --- This patch header follows DEP-3: http://dep.debian.net/deps/dep3/ --- a/scripts/xdg-email.in +++ b/scripts/xdg-email.in @@ -199,10 +199,12 @@ open_generic() run_thunderbird "$client" "$1" fi - if [ $? -eq 0 ]; then - exit_success - else - exit_failure_operation_failed + xdg-open "$1" + local ret=$? + + # 3 means exit_failure_operation_impossible + if [ $ret != 3 ]; then + exit $ret fi IFS=":"