I installed DarwinPorts (now MacPorts) several weeks ago, and installed TextMate today. When I click on a Unix app found in /opt/local/bin, such as /opt/local/bin/kmail, instead of the app opening using Apple's X11, which it was doing previously, it now opens in TextMate.
If I Get Info, I cannot change the file association back to X11 due to permissions.
Is there a solution that I'm simply not seeing? So far, the only thing that works is uninstalling TextMate, which I obviously don't want to do.
Thanks.
Scott
Scott,
I guess what happens is that you would need to select one of those files (probably with a .sh file extension) in the finder, press apple- I (get info) and change its associated applications to X11.app…
hth,
Dan
On Friday 27 October 2006 3:31 pm, Daniel Käsmayr wrote:
Scott,
I guess what happens is that you would need to select one of those files (probably with a .sh file extension) in the finder, press apple- I (get info) and change its associated applications to X11.app…
As I said in my previous email, "If I Get Info, I cannot change the file association back to X11 due to permissions."
The files don't end with a .sh extension, as they are not shell scripts. They are the actual executables installed by Darwinports. Here's the output of the file command:
$ file /opt/local/bin/kmail /opt/local/bin/kmail: Mach-0 excecutable i386
Therefore, there is no extension I can select for using 3rd party tools that allow me to change file associations based on file types.
When I try to use Apple-I, after 4 screens, I am finally told that I can't change the files, as I don't have permission to do so. They are, after all, owned as follows:
$ ls -l /opt/local/bin/kmail -rwxr-wr-x 2 root admin [snip] /opt/local/bin/kmail
So, since I can't use Apple-I, I now have 2 questions:
1. Is anyone else having this problem? 2. Short of removing TextMate (which I have done, but I can, of course, reinstall it), is there a solution to this problem?
Thanks.
Scott
On 28. Oct 2006, at 01:00, Scott Granneman wrote:
[...] So, since I can't use Apple-I, I now have 2 questions:
- Is anyone else having this problem?
- Short of removing TextMate (which I have done, but I can, of
course, reinstall it), is there a solution to this problem?
Here is a previous thread about it: http://lists.macromates.com/ pipermail/textmate/2006-June/011293.html
The only solution is to edit TextMate’s info.plist (see my reply in the thread for what goes on -- IMO it really is a system shortcoming).
On Friday 27 October 2006 6:32 pm, Allan Odgaard wrote:
On 28. Oct 2006, at 01:00, Scott Granneman wrote:
[...] So, since I can't use Apple-I, I now have 2 questions:
- Is anyone else having this problem?
- Short of removing TextMate (which I have done, but I can, of
course, reinstall it), is there a solution to this problem?
Here is a previous thread about it: http://lists.macromates.com/ pipermail/textmate/2006-June/011293.html
The only solution is to edit TextMate’s info.plist (see my reply in the thread for what goes on -- IMO it really is a system shortcoming).
Cool. I'll try that.
I noticed in your response on that thread that you said only 3 people had complained. I wonder how many of those folks were Unix users, like me. The 1st thing I did with my new MBP was install DarwinPorts & start installing all my Linux apps, like kmail & others. Needless to say, TextMate completely breaks ALL of those apps, since it takes over the file association for files without extensions, which, as a Unix guy yourself, I'm sure you know are widely used in the *nix world. I can't double click on those files to open them, I can't use the CLI; I'm forced to open X11, add the apps to the Applications list, & then use that. Blech.
So, some sort of solution that doesn't involve editing plist files would be really nice. I notice that the "other Mac editor which shall not be named here" doesn't have this problem, which may or may not inspire a change on the part of TextMate. :) Especially since TextMate is much more "comfortable" for a *nix guy like myself (although vim still rules!). :)
Scott
Allan Odgaard wrote:
On 28. Oct 2006, at 01:00, Scott Granneman wrote:
[...] So, since I can't use Apple-I, I now have 2 questions:
- Is anyone else having this problem?
- Short of removing TextMate (which I have done, but I can, of
course, reinstall it), is there a solution to this problem?
Here is a previous thread about it: http://lists.macromates.com/ pipermail/textmate/2006-June/011293.html
The only solution is to edit TextMates info.plist (see my reply in the thread for what goes on -- IMO it really is a system shortcoming).
Dear Allan:
It may be a system shortcoming but it breaks the default OS X behavior. Personally I always launch X11 apps from the command line like any other unix program, but OS X has been specifically designed to make these binaries double-clickable or openable with the "open" command (as well as the defective open-x11 command).
Is there not a way to simply exclude binary executable files from those textmate claims as its own? Other editors don't seem to do this.
Bill