![]() If this shortcut does not work, then it is likely that the system's "locate" database is not properly built. Note: The "lsregister" command itself is buried deep in an application framework, so instead of typing the very long path to the command in the Terminal, we can use the `locate lsregister` notation as a shortcut. `locate lsregister` /Applications/Appname.app While done automatically by the system, you can manually do this by using the "lsregister" Terminal command.įor instance, to register a program called Appname with the launch services, you can run the following command in the Terminal: When an application is launched for the first time, the system scans its file-handling abilities and stores them in this database so the application can then be used to quickly open documents it was built to handle. The resource that OS X uses to associate file types (e.g., TXT and PDF) or protocols (e.g., HTTP or FTP) with applications that can handle them is the launch services database. While OS X provides options to change the programs associated with documents, there is no option to clear all application associations for a file type. ![]() When you open a document or click a link in OS X, the system launches a program that can read it.
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |