`
ltl3884
  • 浏览: 132269 次
  • 性别: Icon_minigender_1
  • 来自: 北京
社区版块
存档分类
最新评论

TerminalColours SIMBL plugin under Lion

    博客分类:
  • mac
 
阅读更多
If, after upgrading to Lion, the TerminalColours SIMBL plugin doesn’t load anymore (you get an error informing you that SIMBL didn’t load the plugin due to it not having been tested with Terminal 2.2 (v297)), here’s a quick tip to get it working again.

The TerminalColours 1.0 plugin actually works just fine under Lion. The error message is merely stating that the Lion’s version of Terminal.app is greater than the maximum version number the plugin was designed to work with. This maximum version number is 280 and Terminal.app in Lion is 297. So, as a precaution, SIMBL doesn’t load the plugin.

All you need to do to get TerminalColours working again, is increase the maximum version number to 297 in its .plist file. Here’s how, step by step:

1,Quit Terminal.app.
2,Open a Finder window and navigate to ~/Library/Application Support/SIMBL/Plugins (if you don’t see your user’s Library folder in Finder, open a Terminal window, paste this code and press Enter: chflags nohidden ~/Library ).
3,Make a backup of the file TerminalColours.bundle by selecting it and then selecting File->Duplicate from the menu (just in case things go wrong).
4,Right-click the file TerminalColours.bundle and select Show Package Contents.
5,Click on Contents and double-click the file Info.plist. You can edit this file with any plain-text editor, such as TextEdit, or you can use the plist editor included in Xcode (which you can get for free on the Mac App Store).
6,In your text editor, find the text string <key>MaxBundleVersion</key>.
7,Immediately below that line is a line similar to <string>280</string> (the actual number may differ).
8,Change whatever number is there to 297.
Save the file (make sure to save it as plain text!).
分享到:
评论

相关推荐

Global site tag (gtag.js) - Google Analytics