[TxMt] TextMate and TeXniscope - Fails opening pdf

Allan Odgaard throw-away-1 at macromates.com
Wed Mar 8 12:44:29 UTC 2006


On 8/3/2006, at 13:26, Geir-Tore Lindsve wrote:

> Running this:
> 	open -a /Applications/TeXniscope.app
> works fine though. Running the same command as above (without / 
> Applications/) works on other applications.

In that case, you could set the variable to the full path.

> Any idea what is wrong here?

Your launch services database likely has two entries for TeXniscope,  
the first one being bogus.

You can reset the database by running:

    /System/Library/Frameworks/ApplicationServices.framework/ 
Frameworks/LaunchServices.framework/Support/lsregister -kill -r / 
System/Library/CoreServices /Applications /Developer/Applications

The last path is only if you have the dev-tools installed. After  
having reset it, you will get a warning the first time you open an  
application indirectly by opening the document (if it hasn’t been  
started before). This is no bigie, just so you now…




More information about the textmate mailing list