Hi Pelle, Per Olofsson wrote: > arno renevier skrev:
>> I don't know what's the best way >> to have xdg-email work correctly on generic desktops: if bug #353587 is >> fixed, >> that will be easy to implement; Better to put the logic in xdg-email itself, I think, so it can be shared across distributions. > I guess that an environment variable would be best. But there > doesn't seem to exist a standard variable like $BROWSER yet, no? No, I don’t think so. Part of the problem is that there is more to do than just picking an executable to run. Do you know any programs that open up a message in a user-specified mail user agent? It would be nice to not have to figure this out from scratch. To implement 'xdg-email --cc CC --bcc BCC --subject SUBJECT --body TEXT --attach ATTACHMENT ADDRESS': - mutt: file=$(mktemp) echo 'TEXT' >$file mutt -a ATTACHMENT -b BCC -c CC -H "$file" -s SUBJECT -- ADDRESS - stock alpine: echo 'TEXT' | alpine ADDRESS -attach ATTACHMENT - alpine with Eduardo Chappa’s outgoing.patch[1]: echo 'TEXT' | alpine ADDRESS -attach ATTACHMENT -customized-hdrs='Cc: CC,Bcc: BCC' \ -subject SUBJECT - thunderbird: thunderbird -compose "to='ADDRESS',cc='CC',bcc='BCC',subject='SUBJECT',"\ "body='TEXT',attachment='ATTACHMENT'" - gnus with mailto-url-gnus[2]: emacsclient -a "" -n -c -e "(mailto-url-gnus \"$url\" t t)" - kmail: I have no idea. As you can see, I suspect would require some kind of per-package registration to be usable. Grasping at straws, I suggest maybe a field in the .desktop file. Is there prior art for this? Is there a relevant mailng list? [1] http://staff.washington.edu/chappa/alpine/info/outgoing.html [2] http://folk.uio.no/oyvinst/dist/mailto-url-gnus.el -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org