Menu in Dolphin
Jonas Norlander
jonorland at gmail.com
Thu Nov 12 19:00:44 UTC 2009
2009/11/12 Georgi Kourtev <gkourtev at gmail.com>:
>
> Dearest,
>
> Any ideas how can I make a change in the menu that appears after right-click
> on a file in Dolphin to have the option 'send file via email'? Currently I only
> have 'Preview File', 'Create K3b project', and some four or five related to
> Kleopatra (signing).
>
> Thanks.
> gk
Thats a good idea so i decided to try to make a Service menu in
dolphin for that and think I got it right (at least it works for me).
Paste this into a file "emailthis.desktop" in your
~/.kde/share/kde4/services directory. the xdg-email command will open
your default email program with the selected file as an attachment. If
you have another program or want to pass other command line to that
program just replace xdg-email with your program.
[Desktop Entry]
Type=Service
ServiceTypes=KonqPopupMenu/Plugin
MimeType=application/octet-stream
Actions=EmailThisFile
[Desktop Action EmailThisFile]
Name=Email this file
Icon=kmail
Exec=xdg-email --attach "%f"
If someone do any improvements to this it would be great if you post it here.
Good luck
/ Jonas
More information about the kubuntu-users
mailing list