Add “Send files to email” item to right click menu on Dolphin and Konqueror
Posted November 9, 2009
By Saeid Zebardast
Hey
One of the useful features when you are using email clients, is “adding attachment(s)” item in right click menu.
This feature does not exist in default KDE 4.x version but adding this item is really piece of cake:
First, go to the service directory:
cd ~/.kde/share/kde4/services
Create file `email.desktop`:
touch email.desktop
Add below configuration commands.
for KMail
[Desktop Entry] Type=Service Icon=dolphin ServiceTypes=KonqPopupMenu/Plugin,all/allfiles Actions=Send_to_KMail X-KDE-menu=Email X-KDE-Priority=TopLevel [Desktop Action Send_to_KMail] Name=Send file(s) with KMail Exec=kmail --attach %U Icon=kmail
for Thunderbird
[Desktop Entry] Type=Service Icon=dolphin ServiceTypes=KonqPopupMenu/Plugin,all/allfiles Actions=Send_to_Thunderbird X-KDE-menu=Email X-KDE-Priority=TopLevel Encoding=UTF-8 ServiceTypes=all/all [Desktop Action Send_to_Thunderbird] Name=Send file(s) with Thunderbird Exec=thunderbird -P guest -compose "attachment=file://%U" Icon=thunderbird
Now save the file and reopen the Dolphin file manager.
done!
Good luck


As you wrote : “piece of cake”. Done in 2 minutes and worked great. Thanx
Why it is not default? In kde3 there was such option