Welcome, Guest. Please login or register.
Did you miss your activation email?
July 31, 2010, 09:12:38 pm

Kubuntu Forums  |  Important Information  |  Documentation  |  Experimentation/Customization/Optimization  |  Topic: Thunderbird-KDE menu action integration. 0 Members and 1 Guest are viewing this topic. « previous next »
Pages: [1] Go Down Print
Author Topic: Thunderbird-KDE menu action integration.  (Read 1717 times)
Xwang
On a Roll
**
Offline Offline

Posts: 47


« on: July 22, 2006, 04:03:51 pm »

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?
Logged
Pages: [1] Go Up Print 
Kubuntu Forums  |  Important Information  |  Documentation  |  Experimentation/Customization/Optimization  |  Topic: Thunderbird-KDE menu action integration. « previous next »
Jump to:  


Powered by MySQL Powered by PHP Powered by SMF 1.1.11 | SMF © 2006-2009, Simple Machines LLC Valid XHTML 1.0! Valid CSS!
Page created in 0.13 seconds with 15 queries.
 

MKPortal M1.1.1 ©2003-2006 mkportal.it
Page generated in 0.04061 seconds with 10 queries