Terminal 101: 5 Mountain Lion UI Tricks
Every Monday, we'll show you how to do something new and simple with Apple's built-in command line application. You don't need any fancy software, or a knowledge of coding to do any of these. All you need is a keyboard to type 'em out!
With the release of Mountain Lion last week, many users have now downloaded and installed the latest cat on the block. While the new version of OS X has many great new features, some features and tricks that were present in past versions are no longer available. Let's take a look at a few of these missing features and re-enable (or disable) them in Mountain Lion.
Please note that for each of the commands below, you will need to log out and back into your OS X account for the changes to take place.
1. Key Repeating
Like it or not, but when you're typing and press and hold a key, it should repeat. Starting in Mac OS X Lion, whenever you pressed and held a key, it no longer repeated. Instead, an auto-correction palette would appear, allowing you to select accented characters. Luckily, you can re-enable the repeat key presses with a simple Terminal command.
To do this, launch Terminal and type in the following command followed by the enter key:
defaults write -g ApplePressAndHoldEnabled -bool false
When you log out of your OS X account and back in, you will notice that you can push down and the keys will repeat at a rapid pace. Can we get a wooooooooooohooooooooooo?
If you no longer wish to use this feature, type the command above again, but replace the "false" at the end with a "true". Remember to log out of your account and back in to make the changes appear.
2. Disable Mountain Lion's Window Animations
Mountain Lion includes many window animations. From opening new apps to dialogs that appear. If you're tired of these animations, why not nix them with the following command:
defaults write NSGlobalDomain NSAutomaticWindowAnimationsEnabled -bool false
Not only will this command make your Mac feel a lot faster, but it can also keep you from getting motion sickness from all of the window movements. If you wish to return your Mac to its animated goodness, then replace "false" in the above command with "true".
3. Enable AirDrop on Unsupported Macs and over Ethernet
AirDrop is a cool feature that lets you transfer files over the network with relative ease right from the Finder. Unfortunately, this feature will only work with newer Macs and over Wi-Fi. If you wish to enable this feature on some older systems and over Ethernet, then give this command a try:
defaults write com.apple.NetworkBrowser BrowseAllInterfaces -bool true
After typing this command, AirDrop will work over Ethernet and on some older Macs that aren't automatically supported by AirDrop in OS X Mountain Lion. If you wish to return your Mac to normal, replace "true" in the above command with "false". Remember to log out and back in to enable the changes.
4. Disable Smooth Scrolling
The animated Smooth Scrolling feature present in Mountain Lion may be a feature that some could live without. To return OS X to it's pre-Smooth Scrolling functionality, give this command a try:
defaults write -g NSScrollAnimationEnabled -bool NO
To enable Smooth Scrolling again, replace the "NO" in the above statement with "YES".
5. Disable Rubber Band Effect
Trying to mimic iOS, the rubber band effect is when you mouse up or down in a document and reach the end too fast. The page will jump up and then back down. If you wish to disable this feature in Mountain Lion, type the following command into Terminal:
defaults write -g NSScrollViewRubberbanding -int 0
Unfortunately, this command will not work for every app. You will need to restart apps on an app-by-app basis to see the change. Replace "0" in the above command with a "1" to re-enable the rubber band effect.
Cory Bohon is a freelance technology writer, indie Mac and iOS developer, and amateur photographer. Follow this article's author, Cory Bohon on Twitter.
Original Page: http://www.maclife.com/article/columns/terminal_101_5_mountain_lion_ui_tricks
Sent from Feeddler RSS Reader
Sent from my iPhone
沒有留言:
發佈留言