[Users] Insert browser URL link into open 'compose' mail -- the "smartphone chat" way

Ralf Mardorf silver.bullet at zoho.com
Sat Apr 23 22:05:32 CEST 2016


Assign a shortcut to a script.

I marked a link and bash can display it:

[rocketmouse at archlinux ~]$ echo $(xsel -b)
http://www.claws-mail.org/

A script could generate a mail with the message body $(xsel -b).

$ claws-mail --help
--compose-from-file file
  open composition window with data from given file;
  use - as file name for reading from standard input;
  content format: headers first (To: required) until an
  empty line, then mail body until end of file.

There are several commands that can copy a selection to the clipboard
and get content from the clipboard, IOW you not necessarily need to
first push Ctrl+C and then the shortcut for the script, you also could
directly do all with one shortcut.

However, yesterday another user and I wrote for somebody on another
list a script, for usage with a shortcut to resize the active window to
75% of it's original size and I won't continue today to write a script
to generate mails with copied links/text. It's not hard to do, but
takes some time.






More information about the Users mailing list