Mac Hacks

Book description

Want to take real control of your Mac? The hacks in this book help you dig below the surface to tweak system preferences, mount drives and devices, and generally do things with your system that Apple doesn’t expect you to do. With a little effort, you can make your Mac and its applications perform exactly the way you want them to.

There are more than 50 hacks in this book that show you how to fine-tune the interface, work with multimedia, set up your network, boost security, and perform a few tricks with Unix.

  • Go beyond Preferences: change the way OS X Mountain Lion behaves
  • Customize your experience by taming browsers and making apps full screen
  • Get information delivered right to your desktop, and automate mundane tasks
  • Use the command line and install various Unix apps to unlock your Mac’s Unix power
  • Increase security, monitor network traffic, and remain anonymous
  • Play Wii games and host a Minecraft server on your Mac
  • Modify your WiFi, move iTunes, and record TV shows
  • Turn your MacBook into a tablet and give it a custom dye job

Publisher resources

View/Submit Errata

Table of contents

  1. Mac Hacks
  2. A Note Regarding Supplemental Files
  3. Preface
    1. How to Use This Book
    2. How This Book Is Organized
    3. Conventions Used in This Book
    4. Using Code Examples
      1. Guest Hackers
    5. Safari® Books Online
    6. How to Contact Us
    7. Acknowledgments
  4. 1. Before You Hack
    1. Hack 1. Create a Great Backup
      1. What Makes a Good Backup?
      2. Time Machine
      3. Backing Up with Disk Utility
    2. Hack 2. Create a Bootable Flash Drive
    3. Hack 3. Partition that Drive Nondestructively
      1. Beyond the Hack
    4. Hack 4. Get to Know Your User Account
      1. Turning Your Administrator Account into a Standard Account
      2. Enabling the Root User
    5. Hack 5. Home Folder to Go
      1. What Your Home Folder Means to You
      2. Setting Up Your Portable Drive
        1. Transferring your user account
        2. Two Home folders or a Home folder to go?
        3. Keeping everything synced
      3. Using Your Home Folder on the Go
    6. Hack 6. Fun with PLIST
      1. PLIST Files for Hackers
    7. Hack 7. Troubleshooting Mac OS X
      1. Misbehaving Applications
        1. An application stops responding
        2. The Finder stops responding
        3. Force quitting greedy processes
      2. Startup Problems
        1. Your Mac beeps at you instead of starting
        2. Your hard drive is making noises
        3. Startup troubleshooting
        4. Reset your PRAM
  5. 2. Mountain Lion Hacks
    1. Hack 8. Copy the Mountain Lion Installer to a Flash Drive
    2. Hack 9. Resurrect Web Sharing in Mountain Lion
      1. Automating Apache
    3. Hack 10. Make Notification Center Less Annoying
      1. A Shortcut for Notification Center
      2. Make Notification Center Less Intrusive
      3. Truly Killing Notification Center
      4. Hacking the Hack
    4. Hack 11. Quick Hacks for Mountain Lion
      1. Make Those Keys Repeat
      2. Turn Off Autocorrect
      3. Reveal Your Library Folder
      4. Get Save As Back the Way You Expect It
      5. Turn Off Resume
    5. Hack 12. A Clean Install of Mountain Lion
      1. Performing the Clean Install
        1. Clean Install with Two Macs
        2. Clean Install with One Mac
  6. 3. Customize Your OS X Experience
    1. Hack 13. Tame Your Browsers
      1. The Road to Flash-less Happiness
        1. Disable Flash
        2. Uninstall Flash
        3. Trick sites into not needing Flash
      2. Open Safari Pages in Chrome
      3. All Your Bookmarks Everywhere
      4. Help Safari Get its RSS Groove Back
      5. Safari Reading List
    2. Hack 14. Blog with Your Mac
      1. Step 1: Why Are You Here?
      2. Step 2: Get Set Up
      3. Step 3: Start Blogging
      4. Step 4: Make Blogging Easier
        1. Get a bookmarklet
        2. Get the full Mac blogging experience with MarsEdit
      5. Finder: The Mac Blogger’s Secret Weapon
    3. Hack 15. Host a Web Page on Your Mac (and Get at Your Files Anytime)
      1. Do You Have the Bandwidth?
      2. Make a Web Page
      3. Fake a Static IP
      4. Extending the Hack
    4. Hack 16. Change the Startup Sound
      1. Using Terminal Commands: A Better Way?
    5. Hack 17. Full Screen for (Almost) Any App
    6. Hack 18. Create Custom Icons
      1. Changing Icons the Easy Way: Cut and Paste
        1. Undoing the Hack
      2. Designing Your Own Icons
        1. Generating the image
        2. Composing the icon
  7. 4. Hacks for a More Informative Mac
    1. Hack 19. Quit the Finder
      1. Undoing the Hack
    2. Hack 20. Move a Widget to the Desktop
      1. Quit Dashboard for Real
        1. Unhacking the Hack
    3. Hack 21. Turn Your Desktop into a Fount of Useful Info
  8. 5. Make It Automatic
    1. Hack 22. Getting Things Done with AppleScript
      1. Creating the Script
      2. Hacking the Hack
    2. Hack 23. Create a Service with Automator
    3. Hack 24. Customize the Services Menu
      1. Find the Service You Need
      2. Find and Uncompress the File
      3. Move the File
      4. Using the Service
      5. Adding a Keyboard Shortcut
    4. Hack 25. Speed Things Up with Keybindings
    5. Hack 26. Eject iTunes
      1. Step 1: Quit iTunes
      2. Step 2: Tell Automator to Wait
      3. Step 3: Eject Your Drive
      4. Step 4: Save Your Utility
      5. Step 5: Make Your Utility Useful
  9. 6. Fun with Unix
    1. Hack 27. Harmless Unix Tricks
    2. Hack 28. Install Homebrew
      1. Prepare for Homebrew
      2. Install Homebrew
    3. Hack 29. Get Things Done Safely with the Command Line
      1. Navigating Around Your Mac
      2. Creating Directories and Working with Files
      3. Fancy Command-Line Moves
    4. Hack 30. Manipulate Images with ImageMagick
    5. Hack 31. Customize the Dock with Terminal
      1. Highlight that Item
      2. Get Rid of the Glass
      3. Add a Recent Applications Stack
      4. Organize Your Dock with Spaces
      5. Have the Dock Display Only Running Apps
  10. 7. Lock Down that Mac
    1. Hack 32. Achieve Network Anonymity
      1. Control Those Cookies
    2. Hack 33. Monitor Your Network Traffic
      1. Using Mac OS X’s Firewall
      2. More Information with Private Eye
    3. Hack 34. Protect Sensitive Files
      1. The Quick and Easy Way: Bury It in Your Library
      2. Make It Disappear
      3. Hiding Files in a Disk Image
      4. It’s Better to Be Better
    4. Hack 35. Encrypt a USB Drive
      1. Using Your New Drive
      2. Beyond the Hack
    5. Hack 36. Add Physical Security Measures to Your Mac
      1. Security Cables
      2. Screensaver/Sleep Password
      3. Login Password
      4. Firmware Password
  11. 8. Other OSes
    1. Hack 37. Run a Minecraft Server on Your Mac
      1. Configuring Minecraft
      2. Going Further
    2. Hack 38. Play Wii Games on Your Mac
    3. Hack 39. Manage Your Devices with Profile Manager
      1. Preparing for Profile Manager
      2. Setting Up Profile Manager
      3. Enrolling into Profile Manager
      4. Automating Enrollment and Random Management Tips
      5. Device Management
      6. Conclusion
  12. 9. Networking Hacks
    1. Hack 40. Optimize Your WiFi
      1. Make Wi-Fi Diagnostics Easily Available
    2. Hack 41. Secure Your Wireless Network
      1. Basic Steps
      2. Disable SSID Broadcast
      3. Restrict MAC Addresses
      4. Add WPA2
      5. Unhacking the Hack
    3. Hack 42. Use Your Mac as an Access Point
      1. Pulling Off the Hack
  13. 10. Multimedia Hacks
    1. Hack 43. Turn Your Mac into a DVR
      1. Get the Apps
        1. Install TVShows 2
    2. Hack 44. Master Torrents
      1. Share Torrents
    3. Hack 45. Move Your iTunes Library
    4. Hack 46. Get Free and Better-Sounding Music for iTunes
      1. Make Music Sound Better with iTunes’ Equalizer
  14. 11. Hack Some Hardware
    1. Hack 47. Have Your Mac Automagically Recognize You
      1. The Hardware You Need
      2. The Software You Need
      3. Mac, Meet Phone
      4. Preparing Bluetooth Proximity Tasker
      5. Putting It in Action
    2. Hack 48. Squeeze Some Speed out of an Aging MacBook Pro
      1. Preparing for the Hack
    3. Hack 49. Give Your Polycarbonate Mac a Dye Job
      1. Caveats
      2. Warnings
      3. Disclaimer
      4. Supplies
      5. Process
      6. Finished Project
    4. Hack 50. Get that iMac out of the Way
      1. Removing the iMac’s Stand
      2. Installing the Adapter
      3. Installing the Articulated VESA Mount
    5. Hack 51. Use a Wiimote with Your Mac
    6. Hack 52. Turn Your MacBook into a Tablet
      1. Absolution of the Author
      2. Supplies
      3. Caveats
      4. Procedure
      5. The MessagePad in Use
  15. Index
  16. About the Author
  17. Colophon
  18. Copyright

Product information

  • Title: Mac Hacks
  • Author(s): Chris Seibold
  • Release date: March 2013
  • Publisher(s): O'Reilly Media, Inc.
  • ISBN: 9781449343484