On Sat, 2015-09-26 at 13:26 +0200, Per Olofsson wrote: > Den 2015-06-08 kl. 07:19, skrev Paul Wise: > > Whenever I run xdg-email I get a strange warning from grep: > > > > pabs@chianamo ~ $ xdg-email [email protected] > > grep: /home/pabs/.local/share/applications/: Is a directory
I think this bug is fixed in 1.1.0~rc3+git20150907-2 or earlier as I no longer get the warning any more. > Could you run > > sh -x /usr/bin/xdg-email [email protected] > > and send me the output? pabs@chianamo ~ $ sh -x /usr/bin/xdg-email [email protected] + check_common_commands [email protected] + [ 1 -gt 0 ] + [email protected] + shift + [ 0 -gt 0 ] + [ -z ] + unset XDG_UTILS_DEBUG_LEVEL + [ 0 -lt 1 ] + xdg_redirect_output= > /dev/null 2> /dev/null + options= + mailto= + utf8=iconv -t utf8 + [ 1 -gt 0 ] + [email protected] + shift + url_encode [email protected] + IFS= + + iconvecho -t [email protected] utf8 + [email protected] + local ORIG_LANG=en_AU.utf8 + local ORIG_LC_ALL= + LANG=C + LC_ALL=C + echo [email protected] + awk BEGIN { for ( i=1; i<=255; ++i ) ord [ sprintf ("%c", i) "" ] = i + 0 e = "" linenr = 1 } { if ( linenr++ != 1 ) { e = e "%0D%0A" } for ( i=1; i<=length ($0); ++i ) { c = substr ($0, i, 1) if ( ord [c] > 127 ) { e = e "%" sprintf("%02X", ord [c]) } else if ( c ~ /[@a-zA-Z0-9.\-\\\/]/ ) { e = e c } else { e = e "%" sprintf("%02X", ord [c]) } } } END { print e } + [email protected] + LANG=en_AU.utf8 + LC_ALL= + [ -z ] + mailto=mailto:[email protected]? + [ 0 -gt 0 ] + [ -z mailto:[email protected]? ] + mailto=mailto:[email protected]? + echo mailto:[email protected]? + sed s/[?&]$// + mailto=mailto:[email protected] + [ xmailto:[email protected] != x ] + which xdg-email-hook.sh + detectDE + unset GREP_OPTIONS + [ -n GNOME-Classic:GNOME ] + DE=gnome + [ xgnome = x ] + [ xgnome = x ] + [ xgnome = x ] + [ xgnome = xgnome ] + which gnome-default-applications-properties + DE=gnome3 + [ xgnome3 = x ] + [ x != x ] + [ x = x ] + BROWSER=www-browser:links2:elinks:links:lynx:w3m + [ -n :0 ] + BROWSER=x-www-browser:firefox:seamonkey:mozilla:epiphany:konqueror:chromium-browser:google-chrome:www-browser:links2:elinks:links:lynx:w3m + open_gnome3 mailto:[email protected] + local client + local desktop + xdg-mime query default x-scheme-handler/mailto + desktop=evolution.desktop + desktop_file_to_binary evolution.desktop + search=/home/pabs/.local/share:/usr/share/gnome:/usr/local/share/:/usr/share/ + basename evolution.desktop + desktop=evolution.desktop + IFS=: + unset IFS + [ /home/pabs/.local/share ] + [ -d /home/pabs/.local/share/applications ] + file=/home/pabs/.local/share/applications/evolution.desktop + [ -r /home/pabs/.local/share/applications/evolution.desktop ] + continue + unset IFS + [ /usr/share/gnome ] + [ -d /usr/share/gnome/applications ] + file=/usr/share/gnome/applications/evolution.desktop + [ -r /usr/share/gnome/applications/evolution.desktop ] + continue + unset IFS + [ /usr/local/share/ ] + [ -d /usr/local/share//applications ] + continue + unset IFS + [ /usr/share/ ] + [ -d /usr/share//applications ] + file=/usr/share//applications/evolution.desktop + [ -r /usr/share//applications/evolution.desktop ] + grep -E ^Exec(\[[^]=]*])?= /usr/share//applications/evolution.desktop + cut -d= -f 2- + first_word + read first rest + echo evolution + command=evolution + which evolution + command=/usr/bin/evolution + readlink -f /usr/bin/evolution + return + client=/usr/bin/evolution + echo /usr/bin/evolution + grep -E thunderbird|icedove + [ 1 -eq 0 ] + gvfs-open --help + DEBUG 1 Running gvfs-open "mailto:[email protected]" + [ -z ] + return 0 + gvfs-open mailto:[email protected] + [ 0 -eq 0 ] + exit_success + [ 0 -gt 0 ] + exit 0 -- bye, pabs https://wiki.debian.org/PaulWise
signature.asc
Description: This is a digitally signed message part

