PDA

View Full Version : [ubuntu] Change MIME type



LittleKoy
April 24th, 2008, 10:23 PM
Hello,
my ubuntu recognises .cpp and .in files as application/x-*-extension. This wont't give correct highliting in gedit when cpp programming, file preview not viewable, ecc.
How can I change it back? I tried assogiate, but
- If I run as user, I can't change a thing
- If I run as root, .cpp and .in extensions disappear

protorox
May 1st, 2008, 02:01 AM
Try


sudo gedit /usr/share/applications/mimeinfo.cache