Monday, November 9, 2009

Add “Send files to email” item to right click menu on Dolphin and Konqueror

Hey :)

One of the useful features when you are using email clients, is "adding attachment(s)" item in right click menu.

Send files to email


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

1 comment:

  1. Anything different have to be done to apply this same procedure to Ubuntu 13.10 with Unity?

    I prefer both Dolphin and Thunderbird, but love Unity also (Sometimes it's hard being stuck between two worlds, LoL) :-)

    ReplyDelete