The code is with an implemented script. See below.
I'm using the inbuilt mail client of Vivaldi browser as standard client. It is defined in my 21.3 Cinnamon desktop settings.
With the exec command the editor tab of the browser is opened. However, without the attachment.
Have you any idea how to edit the code to make it work?
Code: Select all
[Nemo Action]
Name=_Attach to email
Comment=Attach %F to email in default mail application
Exec=<action_scripts/attach_to_email_xdg-email.sh %F>
Icon-Name=mail-attachment-symbolic
Selection=notnone
Extensions=nodirs
Quote=double
Dependencies=xdg-email;
Code: Select all
#!/bin/bash
COMMAND="xdg-email"
for file in "$@"
do
COMMAND="$COMMAND --attach '$file'"
done
sh -c "$COMMAND"