Announcement

Collapse
No announcement yet.

Thunderbird-KDE menu action integration.

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Thunderbird-KDE menu action integration.

    Hi,
    I've just done a menu action that allows you to select files and send then as attachments with thunderbird.
    To use it you have to create a email.desktop file like this one:

    [Desktop Entry]
    Actions=Email
    Encoding=UTF-8
    ServiceTypes=allfiles

    [Desktop Action Email]
    Name=Invia email con Thunderbird
    Exec=/path_to_directory_you_want/./sendWithTB.sh %U
    Icon=thunderbird

    and then you have to create the following script sendWithTB.sh:

    #!/bin/bash
    stringa=""
    while [ "$1" != "" ]; do
    stringa="${stringa}file://$1,"
    shift
    done
    mozilla-thunderbird -compose "attachment='$stringa'"

    and finally you need a soft link in the following directory:
    /home/your_user_name/.kde/share/apps/konqueror/servicemenu

    ln -s /path_to_directory_you_want/email.desktop

    I hope you enjoy it.
    I don't assume any responsability for this software which is under GPL.

    Xwang

    PS would you please correct me for my bad English?
Working...
X