Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

GLCH

macrumors newbie
Original poster
I have installed Catalina 10.15.7 and for some reason the icons for the ".tex" files to be opened with the app "TexMaker" disappeared. Namely what I see for a given file is a generic icon like this: https://i.stack.imgur.com/fRz5m.png

On the other hand, when I open /Applications/texmaker.app/Contents/Resources, the `texmaker.icns` is: TexMaker.icns

When I have a file ".bib" or ".sty", the icons are correctly displayed. These formats are given in the `.plist` of the TexMaker app copied below. I do not understand why the same does not happen with ".tex" whence the question:

How do I get the correct icons for the ".tex" files?

I tried to delete some cache files, kill the Finder, turn off/on my computer, go to safe mode, ... nothing seems to work!


________________________________

Here is a copy of the 'Info.plist' file of TexMaker:

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>CFBundleDocumentTypes</key>
<array>
<dict>
<key>CFBundleTypeExtensions</key>
<array>
<string>tex</string>
<string>TEX</string>
<string>bib</string>
<string>BIB</string>
<string>sty</string>
<string>STY</string>
<string>cls</string>
<string>CLS</string>
<string>mp</string>
<string>MP</string>
<string>asy</string>
<string>ASY</string>
<string>Rnw</string>
</array>
<key>CFBundleTypeIconFile</key>
<string>texmaker.icns</string>
<key>CFBundleTypeName</key>
<string>TeX Document</string>
<key>CFBundleTypeRole</key>
<string>Editor</string>
<key>LSIsAppleDefaultForType</key>
<true/>
</dict>
</array>
<key>CFBundleIconFile</key>
<string>texmaker.icns</string>
<key>CFBundlePackageType</key>
<string>APPL</string>
<key>CFBundleSignature</key>
<string>????</string>
<key>CFBundleExecutable</key>
<string>texmaker</string>
<key>CFBundleGetInfoString</key>
<string>Copyright (c) 2003-2021, Pascal Brachet</string>
<key>CFBundleIdentifier</key>
<string>texmaker</string>
<key>CFBundleName</key>
<string>texmaker</string>
<key>CFBundleShortVersionString</key>
<string>5.1.3</string>
<key>CFBundleVersion</key>
<string>5.1.3</string>
<key>NSPrincipalClass</key>
<string>NSApplication</string>
<key>NSHighResolutionCapable</key>
<string>True</string>
<key>NSSupportsAutomaticGraphicsSwitching</key>
<string>True</string>
</dict>
</plist>
 
Last edited:
.tex-files are still associated with TeXMaker as default program to open with? Does location of a .tex-file effect this, e.g. icon on external drive is „correct“, on the Finder desktop they show generic ones?
 
I connected an external drive and apparently now the icons are back... (I did not change anything). That's strange but nice to see.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.