Bug 63527

Summary: restore user MIME settings from system-default
Product: [Applications] systemsettings Reporter: Damir Perisa <damir.perisa>
Component: kcm_filetypesAssignee: Plasma Bugs List <plasma-bugs-null>
Status: CONFIRMED ---    
Severity: wishlist    
Priority: NOR    
Version First Reported In: 0.2   
Target Milestone: ---   
Platform: Compiled Sources   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Damir Perisa 2003-08-31 20:41:07 UTC
Version:           3.1.3 (using KDE 3.1.3)
Installed from:    compiled sources
Compiler:          gcc version 3.3
OS:          Linux (i686) release 2.4.22

i want to be able to restore the user mime settings to the default of the system mime settings from the control center, but the mime settings that do not exist in system config must stay available in the mime user settings

-> rm -r ~/.kde/share/mimelnk 
is not a solution, because you lose all additional mime settings the user had (e.g. if (s)he installed realplayer)

-> this is really usefull if a user has messed with mime and the admin want to restore the system-ones to default (... and if it is an option in Control Center, the user is able to do it by him/herself)

a workaround is: cp -r /opt/kde/share/mimelnk/* ~/.kde/share/mimelnk/*
Comment 1 David Faure 2008-03-04 00:25:12 UTC
In KDE >= 4.0.2 this is as simple as rm ~/.local/share/applications/mimeapps.list

I'm not entirely sure about adding a button for doing this though; even with a big confirmation dialog, it sounds like losing too many settings in one go...