Osx

Fast sleep on Mac OS X

       100 words, 1 minutes

By default, my MacBook Pro goes into deep sleep (hibernate) mode when I close the lid. This is nice but I have 8GB of RAM and it is quite a slow process. Furthermore, I never went out of battery during a whole sleep process. So I’m going to avoid dumping my whole RAM content to the SSD disk and save of bit of it: # pmset -a hibernatemode 0 # rm /var/vm/sleepimage Should I want to re-enable hibernate mode, I’d run

Continue reading...


Restore Aperture library in Desktop Background

       137 words, 1 minutes

Once in a while, I reinstall OSX. I have both a SSD for the system and a SATA drive for /Users. This way, I can recover my personal files in only a few seconds. The problem is, when I do that, the Aperture library disappears from the desktop background selection. I found a tweak on the Internet which states that you have to go to Aperture’s preferences, in the “Previews” section and unset/reset “Share previews with iLife and iWork”, restarting Aperture between switch.

Continue reading...


Change user shell on Mac OS X

       50 words, 1 minutes

I am used to using ksh on my *BSD box. I have configured a tweaked .profile with colors and aliases. I already used it with the default bash. But today, I want to switch to ksh on the Mac too. And that’s quite simple: # chsh -s /bin/ksh That’s All!

Continue reading...


Enable root login on Mac OS X

       144 words, 1 minutes

I have a second hard drive in my MacBook Pro that stores the user’s files. To enable state safe manipulation of those data, I like to log as root. This way, I ensure that none of those files will be modified during operation (copy, move, …). Here’s how to enable root login on Snow Leopard: From the  menu, select System Preferences ; From the System section, select the Accounts tool ; Select the Options option and click the Join button ; Click the Open Directory Utility button ; Click on the lock and enter the administrator password ; In the Edit menu, select the Enable Root User command ; Fill-in the root password and click OK.

Continue reading...


Boot Mac OS X in single-user mode

       60 words, 1 minutes

Here’s the quick reminder on how to start OSX in single-user mode : If the Mac is on, turn it off. Power the Mac on. When you hear the chime, press cmd-s Do what you have to and type exit or reboot to return to normal mode. Source: Mac OS X: How to start up in single-user or verbose mode

Continue reading...


2 / 6