屏幕快照 2017-05-21 13.00.43.png
痛快一點,就下面四步:在10.12.4下測試成功
- 關閉SIP。
- 下載betterDictionary。
- 下載安裝mySIMBL并運行,拖入betterDictionary.bundle到mySIMBL。
- 恢復SIP。
目錄
0.絮叨
1.系統10.10以下
2.系統10.11
3.系統10.12(最新)
附
0.詞典軟件的選擇(手機黨請無視)
目前OS X的翻譯軟件也很多,但不是詞庫少,就是在線的翻譯和生詞本,離線好軟件大多是收費軟件。而系統自帶的Dictionary詞典默認就有正版現代漢語規范詞典和牛津英漢漢英詞典,以及Apple和維基百科在線翻譯(在我大天朝幾乎連不上)。有一部分強迫癥患者喜歡系統自帶的詞典,美中不足之處是系統的詞典沒有生詞本功能,查過的詞都無法進行復習(有高人說掌握語言或詞匯的最簡單方法就是重復使用——有沒有效不知道,反正不是我說的)。
1.OS X系統版本在10.10以下
Installa'on Guide(安裝手冊——這可是官方的哦)
- 1 Download the latest version of EasySIMBL. Currently it is version 1.6.(下載EasySIMBL)
- 2 Extract EasySIMBL-1.6.zip and move EasySIMBL.app into the ApplicaCons folder.(解壓和安裝EasySIMBL)
- 3 Download and extract BeEerDicConary-v0.992.zip. It contains two files: BetterDictionary.bundle and migrate-data.(下載和解壓BetterDictionary)
- 4 Run EasySIMBL.(運行EasySIMBL)
- 5 Make sure "Use SIMBL" is checked.(勾選)
- 6 Drag and drop BetterDictionary.bundle into EasySIMBL:(把解壓出來BetterDictionary.bundle文件拖拽到EasySIMBL界面上即可)
2.OS X系統版本是10.11 EI Capitan
- 1.下載BetterDictionary
文件名為pooriaazimi-BetterDictionary-v0.992-3-g036bef6.zip
(這里面有SIMBL哦)
Snip20160324_1.png
- 2.關閉系統SIP
重啟 Mac,按住 Command+R 鍵直到 Apple logo 出現,進入 Recovery Mode點擊 Utilities > Terminal,在 Terminal 中輸入csrutil disable
,之后回車, 重啟 Mac這樣 SIP 安全設置就已經被關閉了,如果想重新開啟該安全設置,重復上面步驟,在第三步中將命令更換為 cqsrutil enable。 - 3.手動安裝SIMBL
在terminal終端運行以下命令:
注意:第一條指令中的Downloads/SIMBL-0.9.9/SIMBL-0.9.9.pkg
應改為自己下載BetterDictionary解壓出來SIMBL的目錄哦(其他指令可直接復制)。
Snip20160324_5.png
sudo installer -verbose -pkg Downloads/SIMBL-0.9.9/SIMBL-0.9.9.pkg -target /
sudo rm -rf /System/Library/ScriptingAdditions/SIMBL.osax
sudo mv /Library/ScriptingAdditions/SIMBL.osax /System/Library/ScriptingAdditions/
sudo cp -p /System/Library/ScriptingAdditions/SIMBL.osax/Contents/Resources/SIMBL\ Agent.app/Contents/Resources/net.culater.SIMBL.Agent.plist /System/Library/LaunchAgents/
sudo sed -e "s/Library/System\/Library/" -i "" /System/Library/LaunchAgents/net.culater.SIMBL.Agent.plist
留意一下終端沒有錯誤提示就是成功了(不外乎就是些刪除、復制、修改之類的操作)。
- 4.還原系統的SIP
參考步驟2>關閉SIP(指令改為csrutil enable
) - 5.安裝BetterDictionary
把剛才下載的BetterDictionary解壓后的Installers/BetterDictionary-0.992目錄里的BetterDictionary.bundle
文件復制到/Library/Application Support/SIMBL/Plugins目錄下,然后重啟電腦,再打開詞典發現和原來不同了吧。
Snip20160324_7.png
3.系統Sierra10.12.4
- 關閉SIP(參考本文)。
- 下載betterDictionary。
- 下載安裝mySIMBL并運行,拖入betterDictionary.bundle到mySIMBL。
- 恢復SIP。
附:
- 1.BetterDictionary 下載 http://pooriaazimi.github.io/BetterDictionary/
SIMBL 下載 https://github.com/norio-nomura/EasySIMBL - 2.詞典的詞庫下載地址:http://bbs.feng.com/read-htm-tid-4007586.html
或者網盤
http://pan.baidu.com/share/link?shareid=1217724387&uk=1728178661
(提取碼nsp0) - 3.mySIMBL 下載 https://link.zhihu.com/?target=https%3A//github.com/w0lfschild/app_updates/raw/master/mySIMBL/mySIMBL_master.zip