Mac OS X
- See also: Category:Mac OS X
Contents |
Time Machine
Time Machine Backup To Any Network Drive
Spotlight
How to re-index folders or volumes
DVD and Discs
Creating Playable DVD ISO from a VIDEO_TS Folder
In the Terminal: [1]
hdiutil makehybrid -udf -udf-volume-name DVD_NAME -o MY_DVD.iso /path/to/VIDEO_TS/parent/folder
Where /path/to/VIDEO_TS/parent/folder is the folder that contains the VIDEO_TS folder.
Burning an Image
This can be done via Disk Utility but to burn a disc via Terminal, use:
hdiutil burn image.iso
Terminal
Perl
By default, in Leopard and Snow Leopard, you will see the following message each time you run Perl:
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
LC_ALL = (unset),
LC_CTYPE = "en.US.UTF-8",
LANG = "en_US.UTF-8"
are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
I was able to fix this by adding the following to ~/.bash_profile:
# This setting is for the new UTF-8 terminal support export LC_CTYPE=en_US.UTF-8 export LC_ALL=en_US.UTF-8
Source: Fixing that really irritating perl: warning: Setting locale failed. on OS X leopard
Menu Bar Items
Super OS X Menubar Items - a large list of add-ons.
Generic PC Icon
Remove the Windows BSOD icon in Leopard, make OS X a little less smug
I created the icon on the right to replace the default icon.
Download here: File:New Generic PC Icon.icns
Installation
Open Terminal and use the following commands:
cd /System/Library/CoreServices/CoreTypes.bundle/Contents/Resources/ sudo mv public.generic-pc.icns public.generic-pc.old.icns sudo cp ~/Downloads/New_Generic_PC_Icon.icns ./public.generic-pc.icns
This assumes the new icon is located at ~/Downloads/New_Generic_PC_Icon.icns.
After a restart, you should see the new icon throughout the Finder.
Font Rendering
In Snow Leopard, smooth font rendering is disabled if OS X thinks that at least one of your displays is a CRT.
This can be fixed with the following command in Terminal:
defaults -currentHost write -globalDomain AppleFontSmoothing -int 2
Or, for bolder rendering:
defaults -currentHost write -globalDomain AppleFontSmoothing -int 3
I had to first uncheck the "Use LCD font smoothing when available" option in the Appearance preference pane.
Other
Troubleshooting
Ejecting a Stuck Volume
sudo hdiutil eject -force device_name
Source: Force Dismount a Stuck Volume
Console.app
I was having an issue where Console.app would close immediately after starting. The instructions in this thread fixed my problem.
Basically I had to clear out the contents of /private/var/log/asl
References
- ↑ Burn a playable DVD from a VIDEO_TS folder - Mac OS X Hints