[OS X TeX] .sty files open with & have Aquamacs icon after upgrade to MacTeX 2019
Herbert Schulz
herbs at wideopenwest.com
Mon May 6 16:05:21 EDT 2019
> On May 6, 2019, at 2:43 PM, Herbert Schulz <herbs at wideopenwest.com> wrote:
>
>> On May 6, 2019, at 2:37 PM, Murray Eisenberg <murrayeisenberg at gmail.com> wrote:
>>
>> Should execution of that command take a very long time? I executed it (in the form of the revised .sh file) and it’s been running now for over 10 minutes.
>>
>>> On 5 May2019, at 2:56 PM, Herbert Schulz <herbs at wideopenwest.com> wrote:
>>>
>>>> On May 5, 2019, at 1:47 PM, Herbert Schulz <herbs at wideopenwest.com> wrote:
>>>>
>>>>> 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
>>>>
>>>> <FixLaunchServices.sh>
>>>>
>>>> onto a Terminal window and press return. This forces a rebuild of the LaunchServices database.
>>>>
>>>> Good Luck,
>>>>
>>>> Herb Schulz
>>>> (herbs at wideopenwest dot com)
>>>>
>>>
>>> Howdy,
>>>
>>> Sorry that file didn't preserve the execute bit. Unzip
>>>
>>> <FixLaunchServices.sh.zip>
>>>
>>> and follow the directions I gave before.
>>>
>>> Good Luck,
>>>
>>> Herb Schulz
>>> (herbs at wideopenwest dot com)
>>
>> ---
>> Murray Eisenberg murrayeisenberg at gmail.com
>> 503 King Farm Blvd #101 Home (240)-246-7240
>> Rockville, MD 20850-6667 Mobile (413)-427-5334
>
> Howdy,
>
> No, it should run rather quickly.
>
> Good Luck,
>
> Herb Schulz
> (herbs at wideopenwest dot com)
>
Howdy,
One more thing... I see nothing in Aquamacs that should force it's icon onto the item.
Could you look in ~/Library/Spotlight and /Library/Spotlight to see if you have a TeX.mdimporter there? TeXShop has one built in so it isn't needed outside and can be removed. That might fix up the ``OPen With'' problem.
Good Luck,
Herb Schulz
(herbs at wideopenwest dot com)
More information about the MacOSX-TeX
mailing list