this works:
thunderbird -compose "attachment='file:///etc/hostname'"
it creates an email with attachment
this does not work:
XDG_UTILS_DEBUG_LEVEL=100 xdg-email --attach /etc/hostname
it creates an email withou attachment and prints the following debug output:
DE is "gnome"
Checking /usr/share/ubuntu/applications/defaults.list
Checking /usr/share/gnome/applications/defaults.list
Running gvfs-open "mailto:?attach=/etc/hostname"
hmmm:
this works: 'file:/ //etc/hostname' "
thunderbird -compose "attachment=
it creates an email with attachment
this does not work: DEBUG_LEVEL= 100 xdg-email --attach /etc/hostname ubuntu/ applications/ defaults. list gnome/applicati ons/defaults. list ?attach= /etc/hostname"
XDG_UTILS_
it creates an email withou attachment and prints the following debug output:
DE is "gnome"
Checking /usr/share/
Checking /usr/share/
Running gvfs-open "mailto: