Re: TextEdit acts like default text editor at times

2021-11-29 Thread Darren Duncan
I have found for years a generic thing with MacOS is that it sometimes forgets 
that particular applications exist and so ignores them when resolving what 
double-clicking a file does.  So when that happens, typically the only fix 
required is to just open the BBEdit application directly, which reminds the OS 
that it exists, and then files associated with it work again for 
double-clicking.  This assumes a scenario where double-clicking used to work 
right and then suddenly stopped. -- Darren Duncan


On 2021-11-29 7:22 a.m., Brian Gollands wrote:

rMBP 2012 / OS10.15 / BBEdit 14

Anybody else have a problem with TextEdit being invoked when double-clicking on 
a .txt file that is set to be opened with BBEdit? This has been an annoyance 
over several versions of the OS.


All .txt files are set to BB and their file icons reflect this. But 
double-clicking them or choosing Open opens them in TextEdit. Choosing my 
contextual command Open in BBEdit works OK. The latest straw was in using Hook's 
command to Make a New Note in BBEdit. It, too, makes the file in TextEdit.


Have tried making a zip of TE and deleting the original (so I didn't lose it 
completely), but can't seem to do this even in Terminal due to some magical 
protection conveyed by its living in /System/Applications/ I guess.


I have a lot of apps installed, but don't recall any other setting I've changed 
that would cause this. Is there a default text editor config I'm missing?


Thanks for any help,
Brian


--
This is the BBEdit Talk public discussion group. If you have a feature request or need 
technical support, please email "supp...@barebones.com" rather than posting here. 
Follow @bbedit on Twitter: 
--- 
You received this message because you are subscribed to the Google Groups "BBEdit Talk" group.

To unsubscribe from this group and stop receiving emails from it, send an email 
to bbedit+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/bbedit/d3d4fcbe-3e43-911d-a6ff-c6bcfb8f0c8f%40darrenduncan.net.


Re: TextEdit acts like default text editor at times

2021-11-29 Thread Luc Bressinck
Hello,

With Get Info from a txt file in the Finder change open with to bbedit.
That changes only for that file but you can also set to use that app (bbedit) 
to open all documents of that type.

Luc Bressinck
August Wautersstraat 40 C
B-9140 Temse
Belgium
bressinck@scarlet.be
03 771 20 10
0497 55 08 66

> Op 29 nov. 2021 om 16:23 heeft Brian Gollands  het 
> volgende geschreven:
> 
> rMBP 2012 / OS10.15 / BBEdit 14
> 
> Anybody else have a problem with TextEdit being invoked when double-clicking 
> on a .txt file that is set to be opened with BBEdit? This has been an 
> annoyance over several versions of the OS.
> 
> All .txt files are set to BB and their file icons reflect this. But 
> double-clicking them or choosing Open opens them in TextEdit. Choosing my 
> contextual command Open in BBEdit works OK. The latest straw was in using 
> Hook's command to Make a New Note in BBEdit. It, too, makes the file in 
> TextEdit.
> 
> Have tried making a zip of TE and deleting the original (so I didn't lose it 
> completely), but can't seem to do this even in Terminal due to some magical 
> protection conveyed by its living in /System/Applications/ I guess.
> 
> I have a lot of apps installed, but don't recall any other setting I've 
> changed that would cause this. Is there a default text editor config I'm 
> missing?
> 
> Thanks for any help,
> Brian
> 
> 
> -- 
> This is the BBEdit Talk public discussion group. If you have a feature 
> request or need technical support, please email "supp...@barebones.com" 
> rather than posting here. Follow @bbedit on Twitter: 
> 
> --- 
> You received this message because you are subscribed to the Google Groups 
> "BBEdit Talk" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to bbedit+unsubscr...@googlegroups.com.
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/bbedit/6efc1994-b969-46b8-94b2-dffe73aa4909n%40googlegroups.com.

-- 
This is the BBEdit Talk public discussion group. If you have a feature request 
or need technical support, please email "supp...@barebones.com" rather than 
posting here. Follow @bbedit on Twitter: 
--- 
You received this message because you are subscribed to the Google Groups 
"BBEdit Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to bbedit+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/bbedit/2743B9DD-D959-4DBA-9640-214B43DB%40scarlet.be.


Re: TextEdit acts like default text editor at times

2021-11-29 Thread Bruce Van Allen
This reminds me of a problem I had a few years ago with opening files. I 
fixed it with a Terminal command that clears and re-sets the 
LaunchServices database.


Try this (all one line):
/System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/LaunchServices.framework/Versions/A/Support/lsregister 
-kill -r -domain local -domain user;killall Finder;echo "Open With has 
been rebuilt, Finder will relaunch"


See 
The question is old but the useful answer from Tony Williams was posted 
in January 2021.


I just ran it on macOS Big Sur and it still seemed to work (although my 
"Open With" wasn't currently giving me problems).



Brian Gollands wrote on 2021-11-29 7:22 AM:
Anybody else have a problem with TextEdit being invoked when 
double-clicking on a .txt file that is set to be opened with BBEdit? 
This has been an annoyance over several versions of the OS.


All .txt files are set to BB and their file icons reflect this.




--
    - Bruce

_bruce__van_allen__santa_cruz__ca_

--
This is the BBEdit Talk public discussion group. If you have a feature request or need 
technical support, please email "supp...@barebones.com" rather than posting here. 
Follow @bbedit on Twitter: 
--- 
You received this message because you are subscribed to the Google Groups "BBEdit Talk" group.

To unsubscribe from this group and stop receiving emails from it, send an email 
to bbedit+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/bbedit/28928de1-58c6-61b5-53ed-09c23301e041%40cruzio.com.


Re: TextEdit acts like default text editor at times

2021-11-29 Thread jj
Hi Brian,

The duti  command line utility might 
help you.

You can install it with Homebrew:

% brew install duti

Read the man page:

% man duti

To get default applications information for .txt files:

% duti -x txt
BBEdit.app
/Applications/BBEdit.app
com.barebones.bbedit
 
To set BBEdit as the default application for .txt files:
 
% duti -s com.barebones.bbedit txt all

HTH,

Jean Jourdain

On Monday, November 29, 2021 at 4:59:50 PM UTC+1 Ulrich Kapp wrote:

> Hi Brian
>
> Did you try to „First Aid“ from the Disk Utility App on your startup 
> volume?
> This helped for me some years ago.
>
> You may also try to assign .text and .txt files to another application 
> like Atom  (Don’t forget to use „Change All…“!) and then 
> set it back to BBEdit again.
>
> Otherwise you may want to delete the TextEdit App, because it’s mostly 
> useless anyway…
> I could tell you how to do this. But without any warranty!
>
> Cheers!
> Ulrich
>
>
>
> Am 29.11.2021 um 16:22 schrieb Brian Gollands :
>
> rMBP 2012 / OS10.15 / BBEdit 14
>
> Anybody else have a problem with TextEdit being invoked when 
> double-clicking on a .txt file that is set to be opened with BBEdit? This 
> has been an annoyance over several versions of the OS.
>
> All .txt files are set to BB and their file icons reflect this. But 
> double-clicking them or choosing Open opens them in TextEdit. Choosing my 
> contextual command Open in BBEdit works OK. The latest straw was in using 
> Hook's command to Make a New Note in BBEdit. It, too, makes the file in 
> TextEdit.
>
> Have tried making a zip of TE and deleting the original (so I didn't lose 
> it completely), but can't seem to do this even in Terminal due to some 
> magical protection conveyed by its living in /System/Applications/ I guess.
>
> I have a lot of apps installed, but don't recall any other setting I've 
> changed that would cause this. Is there a default text editor config I'm 
> missing?
>
> Thanks for any help,
> Brian
>
>
>
> -- 
> This is the BBEdit Talk public discussion group. If you have a feature 
> request or need technical support, please email "sup...@barebones.com" 
> rather than posting here. Follow @bbedit on Twitter: <
> https://twitter.com/bbedit>
> --- 
> You received this message because you are subscribed to the Google Groups 
> "BBEdit Talk" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to bbedit+un...@googlegroups.com.
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/bbedit/6efc1994-b969-46b8-94b2-dffe73aa4909n%40googlegroups.com
>  
> 
> .
>
>
>

-- 
This is the BBEdit Talk public discussion group. If you have a feature request 
or need technical support, please email "supp...@barebones.com" rather than 
posting here. Follow @bbedit on Twitter: 
--- 
You received this message because you are subscribed to the Google Groups 
"BBEdit Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to bbedit+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/bbedit/68ca7ab1-59cb-457a-8aee-3360c3d92b1bn%40googlegroups.com.


Re: TextEdit acts like default text editor at times

2021-11-29 Thread eu...@gmx.de
Hi Brian

Did you try to „First Aid“ from the Disk Utility App on your startup volume?
This helped for me some years ago.

You may also try to assign .text and .txt files to another application like 
Atom  (Don’t forget to use „Change All…“!) and then set it 
back to BBEdit again.

Otherwise you may want to delete the TextEdit App, because it’s mostly useless 
anyway…
I could tell you how to do this. But without any warranty!

Cheers!
Ulrich



> Am 29.11.2021 um 16:22 schrieb Brian Gollands :
> 
> rMBP 2012 / OS10.15 / BBEdit 14
> 
> Anybody else have a problem with TextEdit being invoked when double-clicking 
> on a .txt file that is set to be opened with BBEdit? This has been an 
> annoyance over several versions of the OS.
> 
> All .txt files are set to BB and their file icons reflect this. But 
> double-clicking them or choosing Open opens them in TextEdit. Choosing my 
> contextual command Open in BBEdit works OK. The latest straw was in using 
> Hook's command to Make a New Note in BBEdit. It, too, makes the file in 
> TextEdit.
> 
> Have tried making a zip of TE and deleting the original (so I didn't lose it 
> completely), but can't seem to do this even in Terminal due to some magical 
> protection conveyed by its living in /System/Applications/ I guess.
> 
> I have a lot of apps installed, but don't recall any other setting I've 
> changed that would cause this. Is there a default text editor config I'm 
> missing?
> 
> Thanks for any help,
> Brian
> 
> 
> 
> -- 
> This is the BBEdit Talk public discussion group. If you have a feature 
> request or need technical support, please email "supp...@barebones.com" 
> rather than posting here. Follow @bbedit on Twitter: 
> >
> --- 
> You received this message because you are subscribed to the Google Groups 
> "BBEdit Talk" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to bbedit+unsubscr...@googlegroups.com 
> .
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/bbedit/6efc1994-b969-46b8-94b2-dffe73aa4909n%40googlegroups.com
>  
> .

-- 
This is the BBEdit Talk public discussion group. If you have a feature request 
or need technical support, please email "supp...@barebones.com" rather than 
posting here. Follow @bbedit on Twitter: 
--- 
You received this message because you are subscribed to the Google Groups 
"BBEdit Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to bbedit+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/bbedit/B2D8362B-8C5A-4287-AF92-6370E35EE029%40gmx.de.


TextEdit acts like default text editor at times

2021-11-29 Thread Brian Gollands
rMBP 2012 / OS10.15 / BBEdit 14

Anybody else have a problem with TextEdit being invoked when 
double-clicking on a .txt file that is set to be opened with BBEdit? This 
has been an annoyance over several versions of the OS.

All .txt files are set to BB and their file icons reflect this. But 
double-clicking them or choosing Open opens them in TextEdit. Choosing my 
contextual command Open in BBEdit works OK. The latest straw was in using 
Hook's command to Make a New Note in BBEdit. It, too, makes the file in 
TextEdit.

Have tried making a zip of TE and deleting the original (so I didn't lose 
it completely), but can't seem to do this even in Terminal due to some 
magical protection conveyed by its living in /System/Applications/ I guess.

I have a lot of apps installed, but don't recall any other setting I've 
changed that would cause this. Is there a default text editor config I'm 
missing?

Thanks for any help,
Brian


-- 
This is the BBEdit Talk public discussion group. If you have a feature request 
or need technical support, please email "supp...@barebones.com" rather than 
posting here. Follow @bbedit on Twitter: 
--- 
You received this message because you are subscribed to the Google Groups 
"BBEdit Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to bbedit+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/bbedit/6efc1994-b969-46b8-94b2-dffe73aa4909n%40googlegroups.com.