Posts

Showing posts from October, 2009

zz Upgrading to Snow Leopard Part 3: MacPorts

http://www.libertypages.com/clarktech/?p=743 Upgrading to Snow Leopard Part 3: MacPorts Posted by clark in System on August 30th, 2009 OK, here’s the “fun” part of the upgrade. Fixing MacPorts. Fortunately MacPorts installs stuff in mainly two places. /opt and /Applications/MacPorts. So that makes dismantling the old stuff relatively easy. Usually I start by moving the /Applications/MacPorts directory to the desktop and then simply renaming /opt to /opt.old so as to keep everything around. (Also note that I did a total disk backup prior to installing Snow Leopard in case of real catastrophic mistakes) To get rid of everything (and some of these directories are legacy) do the following: sudo rm -rf \ /opt/local \ /etc/manpaths.d/macports \ /etc/paths.d/macports \ /Applications/DarwinPorts \ /Applications/MacPorts \ /Library/LaunchDaemons/org.macports.* \ /Library/Receipts/DarwinPorts*.pkg \ /Library/Receipts/MacPorts*.pkg \ /Library/S...

snow leopard点滴

some are from  http://www.libertypages.com/clarktech/ 1.Sound Menu Option click the sound icon in the menu bar to get a list of input and output devices.   2 Battery Menu Option click gives the numeric battery level and an indicator of your battery condition. (As one who has had to replace his battery due to too many failed “sleep on lid close” this is nice. Now let’s hope SL fixes that lid close issue) 3 WiFi Menu Option click the WiFi menu to get details on your network. (Yes, I was option clicking and cmd clicking everything in sight tonight) 4 Services I know this ones been talked a lot about but I figured I’d mention it anyway. There is now a Services section in the keyboard pref pane that lets you control active services and assign keystrokes to their activation. This is very useful. 5 Grab If, like me, you hate that Apple makes screen captures tiffs rather than jpgs do the following: defaults write com.apple.screencapture type jpg Now when you do...

zz关闭MacOS苹果操作系统开机自启动程序

http://macos.it168.com/thread-4164-1-1.html 关闭MacOS苹果操作系统开机自启动程序的方法 很多朋友问过这个问题,干脆写篇教程出来吧。 其实很简单,MacOS的开机自启动程序一般在这两个地方: 一、查看~/Library/Preferences/com.apple.loginitems.plist,把不需要的删掉,再到/Library/StartupItems/下把相应的程序删掉就可以了 二、在 Dock 上开机自动打开的程序,选择取消“登陆时打开”。  

关于硬盘分区的提醒

zz http://blog.sina.com.cn/s/blog_493fafce0100btmk.html http://www.apple163.com/thread-932-1-1.html 1、 千万别删除第一个200M的隐藏分区。 2、 为了保证EFI中的GPT表不被破坏,所以,千万不要在windows下尝试改变分区,特别 是删除,和增加未知的分区,这些操作会直接破坏EFI。 3、Windows是用MBR来管理分区的,所以其最多可以管理4个主分区,或三个主分区一个逻 辑分区。(我们平时都是用1个主分区和一个扩展分区下挂载多个罗辑分区,)。 又第一个主分区已经划给EFI了,所以Windows所用分区不能超过3个。而mac os用GPT管理 ,支持128个主分区,所以,Mac 扔在哪里都可以。 4、千万不要在mac下格式话扩展分区内的任何分区(切记); 5、首分区不要用hfs+,否则win可能不识硬盘