I'm trying to paste a 3K file into Thunderbird's "Write" window (i.e. for composing new messages).

This (sometimes) works:

date | xclip
# then use middle button to paste

This doesn't work:

cat /tmp/out.txt | xclip
xclip -o | wc    # just to make sure it got there - reports:      70     309    3233
# press middle mouse in Thunderbird's "Write" window - nothing is pasted

But this works:

cat /tmp/out.txt | xclip
# open gedit, paste into gedit, then select-all and copy
# paste into Thunderbird

Is there a limit to what Thunderbird can accept via the X-clipboard?

Is there another way to insert the contents of a file into a Thuderbird compose window?

I'm using Ubuntu 10.10.

link|improve this question
Are you sure that the problem is on Thunderbird's end? Is there not a limit to the X clipboard? (Also, any reason for not just attaching this beast?) – new123456 Oct 3 '11 at 21:58
there's something else going on -- even the first example (date | xclip) doesn't always work. – user5402 Oct 3 '11 at 22:07
feedback

1 Answer

How about using the compose command line?

thunderbird -compose "to='recipient@domain.com',subject='Test',body='`cat /tmp/out/txt`' "
link|improve this answer
that's interesting... – user5402 Nov 10 '11 at 2:05
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.