Re:Request for comments regarding topics to be discussed at ...
by lioeters on Sunday May 02, 2021 @08:56PM
(#27020531)
That reminds me.. On macOS, the default application to open files with the .html extension is Safari, which I found is impossible to change. A tiny thing but it still makes me angry that someone at Apple intentionally removed my ability as a user.
[ Parent
| on HN ]
Re:Request for comments regarding topics to be discussed at ...
by joshstrange on Sunday May 02, 2021 @09:17PM
(#27020662)
You might want to check again. I just checked and mine is set to (and works with) Chrome. Right click an HTML file and click "Get Info". Then look for the "Open With:" section and select your prefered browser. Then click the "Change All.." button. I just tested this with `echo "Hello World" > test.html` and then double-clicked it in Finder and it opened in Chrome.
Re:Request for comments regarding topics to be discussed at ...
by lioeters on Monday May 03, 2021 @07:34AM
(#27023787)
Huh, you're right - I just did what you described, and was able to change the default application for .html files. Weird! I could have sworn I did the same thing a few times, and it kept reverting back to Safari.
Apparently this was an issue with the user, not the OS. My bad.
EDIT: Actually, I remember now that I had to use duti to change this from the command line.
Re:Request for comments regarding topics to be discussed at ...
by vulcan01 on Monday May 03, 2021 @01:13AM
(#27021826)
Thanks for this tip! I have the opposite problem of GP; I installed Edge, and though it has never been my default browser, it's now the default browser for .html files... This fixed that issue.
Re:Request for comments regarding topics to be discussed at ...
by peteretep on Sunday May 02, 2021 @09:15PM
(#27020647)
> the default application to open files with the .html extension is Safari, which I found is impossible to change
Do you have some more context? I have found this trivial to change...