This forum has been archived. All content is frozen. Please use KDE Discuss instead.

Setting Thunderbird as Default Mail Client

Tags: None
(comma "," separated)
jsalomi
Registered Member
Posts
3
Karma
0
Hi,
In 'default applications', I set Thunderbird as the default mail client with 'thunderbird %u'. When I use the contextual-menu on (for example) an image, to send it via e-mail, it still opens in KMail.

Am I doing something wrong, or is it just not possible to get Thunderbird to be the default?

Thanks.
User avatar
google01103
Manager
Posts
6668
Karma
25
I don't seem to have that option, it could be that you installed a 3rd party service menu and it only uses Kmail (or that I don't see it). Are you trying to attach within Dolphin?

you could try http://kde-apps.org/content/show.php/?content=122832


OpenSuse Leap 42.1 x64, Plasma 5.x

jsalomi
Registered Member
Posts
3
Karma
0
Yeah, I'm doing so within Dolphin. It's right click --> Actions --> Send as an attachment.

I like your link. Sorry for being obtuse.. do I create a text file in ~/.kde/share/kde4/services with that? What do I call the file?
User avatar
google01103
Manager
Posts
6668
Karma
25
save it in ~/.kde4/share/kde4/services/ServiceMenus as something like Attach-to-thunderbird.desktop and it will be under the action submenu of the context menu

for the icon to display you probably need to change the icon location in the script as it looks hard coded to t-bird 3.0.7


OpenSuse Leap 42.1 x64, Plasma 5.x

jsalomi
Registered Member
Posts
3
Karma
0
Excellent, that works. Thanks for that! o)
User avatar
gvazquez
Registered Member
Posts
1
Karma
0
OS
Excellent, but if you want to add multiple files, you must change these lines.

Code: Select all
Exec=thunderbird -compose "attachment='file:/`echo %F | sed 's/\\\\//,file:\\/\\//g'`'"


by

Code: Select all
Exec=thunderbird -compose "attachment='$(echo %F | sed 's/\\ \\//,\\/\\//g')'"



Kernel: 3.13.2-2.gb59b809-desktop x86_64 (64 bit) Desktop: KDE 4.12.2 Distro: openSUSE 13.1 (Bottle)

Have a lot of Fun!!
marchelo2212
Registered Member
Posts
1
Karma
0
[quote="google01103"]save it in ~/.kde4/share/kde4/services/ServiceMenus as something like Attach-to-thunderbird.desktop and it will be under the action submenu of the context menu


??? ??? ??? I copied the files but do not appearing the option in the context menu ??? ???

I have this in the folder...
~/.kde4/share/kde4/services/ServiceMenus>
-rwxr-xr-x 1 marchelo2212 users 598 ene 19 09:42 attach_thunderbird.desktop
-rwxr-xr-x 1 marchelo2212 users 272 ene 19 09:44 AttachToThunderbirdMail.desktop

Please... help me... I think is the file's permission
wolfi323
Registered Member
Posts
1129
Karma
11
OS
marchelo2212 wrote:Please... help me... I think is the file's permission

I don't think so.

But if you are using Plasma 5 and/or Dolphin 15.08.0 or later, you need to copy it to ~/.local/share/kservices5/ServiceMenus/ (create the folder if it doesn't exist).

~/.kde4/ is obviously only used by KDE4. Although, depending on your distribution it might also be ~/.kde/share/kde4/services/ServiceMenus/ for KDE4.


Bookmarks



Who is online

Registered users: abc72656, Bing [Bot], daret, Google [Bot], lockheed, Sogou [Bot], Yahoo [Bot]