创客百科

姿势共享,有节操无门槛参与的创客百科,创客动力之源 \ (^_^) /

用户工具

站点工具


note:spoony:resetting-the-open-with-menu

差别

这里会显示出您选择的修订版和当前版本之间的差别。

到此差别页面的链接

note:spoony:resetting-the-open-with-menu [2017/03/01 15:55] (当前版本)
Spoony 创建
行 1: 行 1:
 +====== Resetting the 'Open With' Menu ======
  
 +<​code>​
 +Resetting the 'Open With' menu will remove duplicates and ghost applications (ones you have deleted) from the list. You reset the 'Open With' menu by rebuilding the Launch Services database your Mac maintains. There are multiple ways to rebuild the Launch Services database, including third-party system utilities like Cocktail andOnxy.
 +
 +If you don't own a system utility that can rebuild the Launch Services database, don't worry; you can perform the rebuild yourself using Terminal.
 +
 +Using Terminal to Rebuild the Launch Services Database
 +
 +Launch Terminal, located at /​Applications/​ Utilities/.
 +
 +For OS X 10.5.x and later, enter the following at the Terminal prompt:
 +
 +在终端中键入下列命令(将下面的路径整个拷贝或进入Support目录下):
 +
 +/​System/​Library/​Frameworks/​CoreServices.framework/​Frameworks/​LaunchServices.framework/​Support/​lsregister -kill -r -domain local -domain system -domain user
 +
 +For OS X 10.3.x - 10.4.x, enter the following at the Terminal prompt:
 +
 +/​System/​Library/​Frameworks/​ApplicationServices.framework/​\Frameworks/​LaunchServices.framework/​Support/​lsregister \-kill -r -domain local -domain system -domain user
 +
 +The above is one command and is entered on a single line. You can simply copy/paste the above command into Terminal, then press Return/​Enter to execute the command.
 +
 +The rebuild process can take a minute or two. Once the Terminal prompt returns, you can quit Terminal.
 +
 +Now when you use the 'Open With' menu, you should see an application list that's limited to the applications currently installed on your Mac, with no duplicates or ghosts.
 +</​code>​
note/spoony/resetting-the-open-with-menu.txt · 最后更改: 2017/03/01 15:55 由 Spoony