You are not logged in.
Hello,
I'm using Thunar as my file manager. However, it sees both '.doc' and '.txt' files as "plain text files".
This means that I can't make the .doc files open with OpenOffice and the .txt files open with a plaintext editor, because whenever I change the program association of one, the other changes.
How to fix that? (looks like a MIME-type issue).
Thanks.
Last edited by Renan Birck (2009-08-14 15:57:05)
Offline
Does anyone know where the config file is stored for file associations? I don't know if that is system-wide or Thunar specific, but that will probably help you.
Libertarian Arch Linux User
Offline
Does this help:
All men have stood for freedom...
For freedom is the man that will turn the world upside down.
Gerrard Winstanley.
Offline
Yes, but $XDG_CACHE_HOME/Thunar/metafile.tdb is a database. I guess you can edit it with tdbtool. But it's not working well for me.
I sure wish Thunar would just store it in a plain old text file.
Libertarian Arch Linux User
Offline
Open /usr/share/mime/globs and /usr/share/mime/globs2, find the lines that assign *.doc to the plaintext mime type, and remove them. Restart Thunar, problem solved.
Offline
Open /usr/share/mime/globs and /usr/share/mime/globs2, find the lines that assign *.doc to the plaintext mime type, and remove them. Restart Thunar, problem solved.
Finally it works. Thanks!
Offline