Menu in Dolphin

Mike McGinn mikemcginn at mcginnweb.net
Thu Nov 12 19:55:30 UTC 2009


On Thursday 12 November 2009 14:00:44 Jonas Norlander wrote:
> 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
> 
Thanks Jonas,
That works wonderfully.

-- 
Mike McGinn		FACOCM
No electrons were harmed in sending this message.
My deeds are my dearest companions.  I am the beneficiary of my deeds.
My deeds are the ground on which I stand.  ** Registered Linux User 377849




More information about the kubuntu-users mailing list