LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Desktop (http://www.linuxquestions.org/questions/linux-desktop-74/)
-   -   Where does KDE store the file assocition configuration. (http://www.linuxquestions.org/questions/linux-desktop-74/where-does-kde-store-the-file-assocition-configuration-777286/)

ravi.xolve 12-21-2009 01:45 PM

Where does KDE store the file assocition configuration.
 
Editing the file associations with kde's default gui is quiet tiresome. Where is the confile file for it actually stored so that I can change the associations the way I want to.


I use KDE 4.3 on KUbunutu 9.10

~sHyLoCk~ 12-22-2009 08:55 AM

Try searching in:

Code:

~/.kde/share/config
I think this method will be more tiresome. You have to manually edit a number of files, like for email client you need to edit the file emaildefaults.

ravi.xolve 12-22-2009 11:28 PM

Well its a directory. I checked all the files there couldn't find such thing that relates to file associaltions. There are just too many file associations than the number of files there. I think its got to be some file.

knudfl 12-25-2009 12:54 PM

Example : associate an application, e.g. 'mousepad' to a text file,
and trace the configuration file ..

grep -R mousepad .local/*

The reply is :
.local/share/applications/mimeapps.list:text/plain=mousepad.desktop;

.....


All times are GMT -5. The time now is 03:42 AM.