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

How to unset Konqueror and Kamail as default applications?

Tags: None
(comma "," separated)
manolomanolo
Registered Member
Posts
18
Karma
0
OS
Hi to all.

I'd like to set Firefox and Thunderbird as default applications, respectively in place of Konqueror and Kmail.

How to do that?
Thanks.
Regards
User avatar
scummos
Global Moderator
Posts
1175
Karma
7
OS
Open "System settings", and click "Default applications".


I'm working on the KDevelop IDE.
manolomanolo
Registered Member
Posts
18
Karma
0
OS
Thanks for your reply.
However, despite I've been changing kmail with thunderbird, kmail is still opened when right clicking on a file and pressing Action -> Send

Should I restart the session for the changes to be effective?
Regards.
User avatar
bcooksley
Administrator
Posts
19765
Karma
87
OS
If you are referring to the menu action "Send as Email Attachment" then this is hardcoded to KMail - as KMail itself provides this. To alter it, you need to create a custom service menus. I'm not sure how easy it will be to override / alter the existing service menus.

You can probably find it at /usr/share/kde4/services/ServiceMenus/kmail_addattachmentservicemenu.desktop

If you copy it to ~/.kde4/share/kde4/services/ServiceMenus/ (creating folders if needed, and changing ~/.kde4 for ~/.kde if needed) then edit it you should get the result you want.


KDE Sysadmin
[img]content/bcooksley_sig.png[/img]
manolomanolo
Registered Member
Posts
18
Karma
0
OS
I see that it is hard coded. In fact, uninstalling KMail it also removed the "Send to" function :o
Isn't it frustrating?

Ho to propose to separate the SendTO from KMail?
User avatar
bcooksley
Administrator
Posts
19765
Karma
87
OS
As I mentioned, you need to copy it to the appropriate directory, then modify it to use Thunderbird (the arguments may differ however).

Finally, you may need to run "kbuildsycoca4 --noincremental" to ensure it is picked up.


KDE Sysadmin
[img]content/bcooksley_sig.png[/img]
manolomanolo
Registered Member
Posts
18
Karma
0
OS
Thanks.

I was missing the followind command

Code: Select all
kbuildsycoca4 --noincremental
kbuildsycoca4 running...
kbuildsycoca4(31405) KConfigGroup::readXdgListEntry: List entry MimeType in "sendto.desktop" is not compliant with XDG standard (missing trailing semicolon).
kbuildsycoca4(31405) KConfigGroup::readXdgListEntry: List entry Actions in "sendto.desktop" is not compliant with XDG standard (missing trailing semicolon).
kbuildsycoca4(31405) KConfigGroup::readXdgListEntry: List entry Categories in "/usr/share/applications/gmerlin-plugincfg.desktop" is not compliant with XDG standard (missing trailing semicolon).
kbuildsycoca4(31405) KConfigGroup::readXdgListEntry: List entry Categories in "/usr/share/applications/im-switch.desktop" is not compliant with XDG standard (missing trailing semicolon).
kbuildsycoca4(31405) KConfigGroup::readXdgListEntry: List entry Categories in "/usr/share/applications/kde4/bluedevil-network-panu.desktop" is not compliant with XDG standard (missing trailing semicolon).
kbuildsycoca4(31405) KConfigGroup::readXdgListEntry: List entry Categories in "/usr/share/applications/kde4/bluedevil-network-dun.desktop" is not compliant with XDG standard (missing trailing semicolon).


As you can see, there are errors.
User avatar
bcooksley
Administrator
Posts
19765
Karma
87
OS
Those "errors" are more like insignificant warnings - and should not be relevant here. Does your action appear after running that command?


KDE Sysadmin
[img]content/bcooksley_sig.png[/img]
manolomanolo
Registered Member
Posts
18
Karma
0
OS
Yes, it works.
Thanks for your precious help!


Bookmarks



Who is online

Registered users: Bing [Bot], Google [Bot], Yahoo [Bot]