Archive for October, 2008

MacBook Pro and UPS

My MacBook Pro arrived earlier this week and i’ve been using it since. Although i’ll probably talk about the MacBook Pro itself later on, i just wanted to mention my experience with UPS.

Click to continue reading “MacBook Pro and UPS”

Make your newer Mac portable go to sleep immediately

Newer laptop Mac’s by default use ‘Safe Sleep’. This means that when you put your Mac to sleep, it writes the contents of RAM out to the hibernation file before going to sleep. This means that if it completely runs out of power (or you remove the battery to swap it) you wont lose your work, because it will automatically have gone into hibernation.

However, this takes time, particularly if you have a large amount of RAM, and during this time the hard drive is still spinning - and writing data. If you want your Mac to go to sleep straight away and don’t care about losing the ’safe’-ness of your sleep mode, you can change your hibernation mode using this terminal command:

sudo pmset -a hibernatemode 0

Before doing this, you might want to check what your current hibernation mode is:

pmset -g | grep hibernatemode

By default it will either be 3 (Safe Sleep) or 7 (Safe Sleep if you have secure virtual memory enabled).

Now your Mac should go to sleep much quicker.

Apple Developer Connection - Developer Forums

Apple Developer Connection - Developer Forums.

Looks like Apple is really making an effort with developers now.

Locking Your Screen

In Mac OS X there are several ways to lock your screen automatically. However, what if you only want to lock your screen when you want?

Here’s the answer, and it involves Automator.

Click to continue reading “Locking Your Screen”

Next entries