Am 18.02.2017 um 19:00 schrieb Carsten Schoenert:
On Fri, Feb 17, 2017 at 03:57:16PM +0100, John Landmesser wrote:
Package: thunderbird
Version: 1:45.7.1-1
Severity: normal

--- Please enter the report below this line. ---

this KDE-Service-Menue doesn't run with Debain Thunderbid, but it's ok with
Mozilla Thunderbird

[Desktop Entry]
Type=Service
Actions=SendToMailRcp
Encoding=UTF-8
MimeType=application/octet-stream
X-KDE-ServiceTypes=KonqPopupMenu/Plugin
X-KDE-Priority=TopLevel
X-KDE-Submenu=Send To

[Desktop Action SendToMailRcp]
Name=Mail Recipient...
Exec=/usr/bin/thunderbird -compose "attachment='$(echo %F | sed 's: /:,/:g')'"
Icon=thunderbird
Where this menu entry is come from? Debian hasn't a Desktop Action
section for Thunderbird. Please explain a little bit more how to
readjust this issue.

Regards
Carsten

I developed it on my own/with help of google and members of siduction-Forum

It was ok and working fine with icedove, multiple attachments with long filenames.

But it stopped working when the new Debian-Thunderbird showed up.

One of these siduction forum members showed me this:

In man bash we can read in Shell Builtin Commands section:

Unless otherwise noted, each builtin command documented in this section as
accepting options preceded by - accepts -- to signify the end of the options.

The :, true, false, and test builtins do not accept options and do not treat
-- specially. The exit, logout, break, continue, let, and shift builtins
accept and process arguments beginning with - without requiring --. Other
builtins that accept arguments but are not specified as accepting options
interpret arguments beginning with - as invalid options and require -- to
prevent this interpretation.

Note that echo does not interpret -- to mean the end of options.

... and that "--"  seems to be the problem?


thunderbird -- -compose "attachment='$(echo %F | sed 's: /:,/:g')'"

this does not work with Debian-thunderbird!

i can't give you the error message, because i went back to Mozilla-Thunderbird and i'm happy with that, because it's just working fine with my "menu entry"

Thanks for your post!

John Landmesser

Reply via email to