FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Ubuntu > Kubuntu User

 
 
LinkBack Thread Tools
 
Old 11-12-2009, 01:45 PM
Georgi Kourtev
 
Default Menu in Dolphin

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

--
kubuntu-users mailing list
kubuntu-users@lists.ubuntu.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/kubuntu-users
 
Old 11-12-2009, 06:00 PM
Jonas Norlander
 
Default Menu in Dolphin

2009/11/12 Georgi Kourtev <gkourtev@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

--
kubuntu-users mailing list
kubuntu-users@lists.ubuntu.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/kubuntu-users
 
Old 11-12-2009, 06:55 PM
Mike McGinn
 
Default Menu in Dolphin

On Thursday 12 November 2009 14:00:44 Jonas Norlander wrote:
> 2009/11/12 Georgi Kourtev <gkourtev@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

--
kubuntu-users mailing list
kubuntu-users@lists.ubuntu.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/kubuntu-users
 
Old 11-13-2009, 07:42 AM
Georgi Kourtev
 
Default Menu in Dolphin

On Thursday 12 November 2009 21:00:44 Jonas Norlander wrote:
> 2009/11/12 Georgi Kourtev <gkourtev@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
>
Jonas,

It is excellent solution! Works perfectly! Thanks.
gk

--
kubuntu-users mailing list
kubuntu-users@lists.ubuntu.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/kubuntu-users
 
Old 11-24-2009, 01:43 PM
"O. Sinclair"
 
Default Menu in Dolphin

Jonas Norlander wrote:
> 2009/11/12 Georgi Kourtev <gkourtev@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"
>
>
Works great on one file, any idea how to get it to work if you select
more than one file?

--
kubuntu-users mailing list
kubuntu-users@lists.ubuntu.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/kubuntu-users
 

Thread Tools




All times are GMT. The time now is 10:15 AM.

VBulletin, Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright ©2007 - 2008, www.linux-archive.org