Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!

10.6: Flip around (invert) the Magic Trackpad System 10.6
Snow Leopard only hintThe Magic Trackpad normally slants up to match the keyboard angle. Some may prefer to use it slanted down in their lap, on the couch, or on low desks with a gel palm rest. With this hidden pref, the trackpad auto-detects hand orientation from 5 resting fingers and rotates the coordinate system to match.

When slanted down, the mechanical button is at the front, activated by the fingertips instead of the thumb. If you don't like this, try turning on tap-to-click and 3-finger drag in the trackpad control panel. (You may then want the defaults write that moves navigation swipes from three to four fingers, displacing Exposť and application switch).

Type this in terminal:

defaults write com.apple.trackpad.orientation TrackpadOrientationMode 1

The orientation detection should become active after rebooting, reconnecting the trackpad, or changing other settings in the trackpad control panel. Just rest 5 fingers on the Magic Trackpad after turning it around and the cursor will thereafter move in the desired direction.

[crarko adds: I haven't tested this one. It has been suggested that the following command will work where the other does not. Give it a try and let us know. You will need to supply your admin password for this.]

sudo defaults write com.apple.MultitouchSupport ForceAutoOrientation YES
  Post a comment  •  Comments (9)  
  • Currently 3.90 / 5
  You rated: 4 / 5 (10 votes cast)
 
[29,247 views]  View Printable Version
10.6: Adjust trackpad navigation swipe System 10.6
Snow Leopard only hintSome people would prefer to retain navigation swipe functionality when enabling the new 3-finger drag. This hidden preference will remap navigation swipes from 3 to 4 fingers, displacing the Application Switcher and Exposť gestures instead of navigation swipes.

Type this in terminal and reboot to refresh the trackpad control panel:
defaults write com.apple.systempreferences com.apple.preference.trackpad.3fdrag-4fNavigate -bool YES


[crarko adds: I haven't tested this one.]
  Post a comment  •  Comments (9)  
  • Currently 4.20 / 5
  You rated: 2 / 5 (5 votes cast)
 
[7,377 views]  View Printable Version
10.6: Use Archive Utility to make zip backups System 10.6
Snow Leopard only hintFor those who don't trust Time Machine, backing up to archives manually can be tricky. First off, as of OS X 10.6.4, the Unix zip and unzip programs that you can start from a terminal shell script do NOT handle resource forks and extended attributes correctly. The zip man file has an apology that this will be implemented soon. (And Automator uses the Unix zip program.)

The tar archiver also does not handle extended attributes correctly. It also saves but does not restore resource forks. So that is not useful either.

It seems that the Archive Utility.app that makes archives for the Finder is ahead of the Unix zip and tar. It DOES handle resource forks and extended attributes correctly.
read more (366 words)   Post a comment  •  Comments (16)  
  • Currently 3.20 / 5
  You rated: 2 / 5 (10 votes cast)
 
[11,191 views]  View Printable Version
10.6: Add wireless networks from command line System 10.6
Snow Leopard only hintIn the past there have been several published hints on the /usr/sbin/networksetup command. However, until recently (well since 10.6.x) that command was not able to add passkeys to the keychain. I just received 500 new MacBooks to image in my enterprise and these brand new ones will only run 10.6. The rest of our deployment is still on 10.5.8 because we never had the desire to re-image 40 OS X Servers and 8,000 clients with 10.6.

So, I just modified my post image shell script to have a line that does a simple case statement and if it outputs 10.6* it executes this line of code:
/usr/sbin/networksetup -addpreferredwirelessnetworkatindex Airport my_ssid 0 my_security my_passkey
Where my_ssid is the SSID of your network, my_security is the level of encryption (WEP, WPA, WPA2, etc) and my_passkey is your encryption passkey for your wireless network. I've tested this out on my post image shell script on about 10 clients so far after imaging them with 10.6. So far it works pretty well, and is a key step in us not having any post configuration to do by hand after a machine is imaged.

I know this is a bit of an older hint since 10.6 has been out for a while now but I searched it did not find anything on this, then I read the manual page from the Apple Developer site and found that command.

[crarko adds: I haven't tested this one.]
  Post a comment  •  Comments (12)  
  • Currently 4.13 / 5
  You rated: 3 / 5 (8 votes cast)
 
[13,820 views]  View Printable Version
10.6: Set the View type for a Disk Image System 10.6
Snow Leopard only hintIn Snow Leopard newly created Disk Images, both unencrypted and encrypted, will default to the use of Icon View for display. Changing the View type to List, Cover Flow, or Column View and then closing the window and reopening the window causes the view to revert to Icon View. Ejecting and remounting the image will also lose any changes and revert to Icon View.

Deleting the .DS_Store file on the mounted image does not help, and there is nothing in com.apple.finder.plist that seems to affect this. This is quite vexing, and appears to be present in all revisions of Snow Leopard, at least through 10.6.4.

Fortunately, there is a workaround.
read more (159 words)   Post a comment  •  Comments (5)  
  • Currently 3.78 / 5
  You rated: 5 / 5 (9 votes cast)
 
[6,706 views]  View Printable Version
10.6: A Service to shorten URLs System 10.6
Snow Leopard only hintServices are all the rage in 10.6 now. Since Apple let non-developer users make their own Services in Automator, people (like me) have been suggesting many services.

This hint is how to make a shortened URL using a lesser-known service named qgf.in. You can use other services too, as long as they have an API (usually the syntax is 'http://shortener.name/api?url=http://foo.bar').

Credits to all the people in the MacOSXHints Forums who helped with writing of the Perl script.
read more (316 words)   Post a comment  •  Comments (10)  
  • Currently 1.89 / 5
  You rated: 5 / 5 (18 votes cast)
 
[7,629 views]  View Printable Version
10.6: Screen sharing/app switching compromise System 10.6
Snow Leopard only hintHere is a way to switch between a remotely shared screen and a local machine without losing the newly added remote control with Command keys, specifically, Command-Tab.

I just finished reading a post on how to bypass (and users weighing in on) the new Screen Sharing feature where commands are passed to the remote machine. I'm split; I do like the increased control over the remote machine with one exception: switching applications, specifically back to the Finder. Command-Tab is now sent to the remote machine, but that is how I used to switch from the shared screen to my local machine. I want both; remote commands but local switching.
read more (158 words)   Post a comment  •  Comments (9)  
  • Currently 1.80 / 5
  You rated: 3 / 5 (20 votes cast)
 
[12,859 views]  View Printable Version
10.6: Fix a broken Services menu on the fly System 10.6
Snow Leopard only hintSometimes Services in Snow Leopard stop working for no apparent reason. The menu is missing from the contextual menu items when you do a right-click, and the Services menu in the menu bar shows only 'Building...' Other times, there may be more than one entry for the same service. These problems can always (in my experience) be corrected without logging out or rebooting.
read more (128 words)   Post a comment  •  Comments (10)  
  • Currently 2.47 / 5
  You rated: 3 / 5 (17 votes cast)
 
[12,480 views]  View Printable Version
10.6: Automate the creation of ISO images System 10.6
Snow Leopard only hintI love Disk Utility, however, it does not directly support the creation of ISO 9660 images. It can create CDR images or CD/DVD master images. Those can be renamed to .iso files and are supported by most software. But that's inconvenient to say the least.

Some searching revealed that you can create ISO images using the Terminal through hdiutil.
read more (209 words)   Post a comment  •  Comments (4)  
  • Currently 2.36 / 5
  You rated: 5 / 5 (33 votes cast)
 
[9,063 views]  View Printable Version
10.6: Change remote ssh connections default System 10.6
Snow Leopard only hintIn 10.5 and previous versions of the system, Terminal's remote connection dialog (go to the menu item Shell » New Remote Connection...) had a selection for Secure Shell (ssh) that defaulted to 'SSH (Automatic).' In 10.6, this has been changed to default to 'SSH Protocol 1.' None of my servers support SSH-1 (and if yours do, you should fix the security hole and disable it). [crarko adds: Here's a nice little FAQ that describes the SSH-1 and SSH-2 protocols. SSH-2 is newer and more secure.]

Also, Terminal does not remember the state when you change this pull down. Quitting Terminal or changing to another protocol and back will reset the pull down back to SSH-1. Here's a simple way to force it to keep the change.
read more (150 words)   Post a comment  •  Comments (9)  
  • Currently 2.37 / 5
  You rated: 5 / 5 (27 votes cast)
 
[9,044 views]  View Printable Version