mardi 24 février 2015

programmatically alter kde file associations


Problem:


In kde I want to remove a particular file association from every file type


Details:


I wanted to try out clamTk as a companion to clamAv. It didn't suit my needs so I uninstalled the package. However, it had created an association with every file type on my system, which was not undone when I removed the package. I have looked in (user file) mimeapps.list and (system file) mimeinfo.cache hoping that it would be as simple as parsing these files to clean things up, but the associations are evidently more involved than that. Every file I click on in kde is set to scan via clamTk (which isn't there anymore anyway), and manually deleting every entry in Kde "System Settings" will be laborious.


Does anyone know an effective way to get at the file association configuration data?



Distro: Centos 6.2 (Final)
Kde: 4.3.4


Aucun commentaire:

Enregistrer un commentaire