[OS X TeX] .sty files open with & have Aquamacs icon after upgrade to MacTeX 2019
Herbert Schulz
herbs at wideopenwest.com
Sun May 5 14:47:24 EDT 2019
> On May 5, 2019, at 9:36 AM, Murray Eisenberg <murrayeisenberg at gmail.com> wrote:
>
> Since upgrading from MacTeX 2018 to 2019 under macOS Mojave (10.14.4), in Finder all .sty files have the Aquamacs icon and open with Aquamacs, not TeXShop (the latter being what I want to use).
>
> I tried the simple supposed solution: select a .sty file in Finder, use Cmd-I, change the "Open with” choice to TeXShop.app (4.27) , click the "Change All” button, and confirm my choice with the Continue button.
>
> However, two peculiar things happen now:
>
> - the “Open with” automatically changes to TeX.mdimporter (1.3); and
> - the Preview still shows the Aquamacs icon.
>
> That .sty file, and others, _will_ now open with TeXShop when double-clicked in Finder, but the Aquamacs icon persists in Finder.
>
> Note that the icon for .tex files is the usual, expected one.
>
> Of course I’ve looked at Alan Munn’s answer at https://tex.stackexchange.com/questions/210948/macos-texshop-3-45-icon-issue. However, the file he references there ...
>
> ~/Library/Prefences/com.apple.LaunchServices.plist
>
> … does not exist on my system.
>
> Suggestions?
>
> ---
> Murray Eisenberg murrayeisenberg at gmail.com
> 503 King Farm Blvd #101 Home (240)-246-7240
> Rockville, MD 20850-6667 Mobile (413)-427-5334
>
>
Howdy,
Use Alan's alternative solution: run
/System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/LaunchServices.framework/Versions/A/Support/lsregister -kill -r -domain local -domain system -domain user
(all one line) or drag and drop
-------------- next part --------------
A non-text attachment was scrubbed...
Name: FixLaunchServices.sh
Type: application/octet-stream
Size: 193 bytes
Desc: not available
URL: <https://email.esm.psu.edu/pipermail/macosx-tex/attachments/20190505/e44c1f44/attachment.obj>
-------------- next part --------------
onto a Terminal window and press return. This forces a rebuild of the LaunchServices database.
Good Luck,
Herb Schulz
(herbs at wideopenwest dot com)
More information about the MacOSX-TeX
mailing list