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

10.5: Use the Space Bar to toggle certain check boxes System 10.5
Here's a small change I noticed:

In Leopard, you can toggle the state of an item on the Sync tab of the .Mac System Preferences pane with a tap on the Space Bar. I drag-selected a few entries (Bookmarks, Calendars, Contacts), and pressing the Space Bar would toggle all of them. Also, Option-clicking turned all of them on, and Shift-Option-clicking turned them all off.

[robg adds: This Space Bar toggle feature works anywhere in System Preferences (and potentially in other apps, though I couldn't think of any with list-style checkboxes to test with) for items that are shown in a list with checkboxes next to each item -- the Sharing pane, for instance. It definitely doesn't work in 10.4; you have to click the mouse (as far as I know) to enable or disable a given entry.]
  Post a comment  •  Comments (6)  
  • Currently 1.00 / 5
  • 1
  • 2
  • 3
  • 4
  • 5
  (1 vote cast)
[6,120 views]  View Printable Version
10.5: Use Exposť together with Spaces System 10.5
If you're using Spaces, you probably know that F8 will show an "Exposť-like" view of all the windows in all your spaces.

What you may not know, however, is that while in this mode, you can actually invoke Exposť's All Windows mode (by pressing F9) while the F8 Spaces mode is active. Now you can not only see all your spaces, but you'll have a clear view of each window within each space.

[robg adds: You can also drag windows from space to space while in All Windows mode. The Application Windows (F10) and Desktop (F11) modes work, too, but they exit the Spaces view when they do -- F10 and F11 will be applied to whichever space was active (highlighted) in the Spaces view.]
  Post a comment  •  Comments (1)  
  • Currently 3.00 / 5
  • 1
  • 2
  • 3
  • 4
  • 5
  (2 votes cast)
[7,948 views]  View Printable Version
10.5: Drag and drop between Spaces System 10.5
If you have two applications in two separate spaces (e.g iPhoto and Keynote), and you would like to drag an item from the first application to drop in the second application, here are two easy ways to do just that.

First, you can drag the item (file, photo, etc..), press F8 and then select the other space, then drop the item into the other application. Or you can drag the file, press Command-Tab, and then drop the dragged icon on the other application. You will then be switched automatically to the other space to drop your stuff, just like in Tiger.

[robg adds: When you drag and drop between spaces, OS X will return you to the originating space after the drop. While this makes logical sense, when I'm dropping something, it's usually because I want to do something with it, so then I have to switch back to the space I just dropped the item into. As far as I know, there's no setting to change this behavior.]
  Post a comment  •  Comments (7)  
  • Currently 1.00 / 5
  • 1
  • 2
  • 3
  • 4
  • 5
  (2 votes cast)
[10,138 views]  View Printable Version
10.5: Make Time Machine work with AirPort and AFP disks System 10.5
First connect your AirPort disk directly to your Mac, and set up Time Machine to use it. If you want to let it back up now, that's fine. Alternatively, you can stop it and let it back up when it's plugged back into the Airport Extreme Base Station (AEBS).

Time Machine creates a file in the root directory of the disk called .1234abc5678 -- the exact name will differ on your Mac. It appears this file has to be in the root of the network shared directory. In my case, I use user accounts to manage my AirPort disk, so the directory that it actually shares out is called /Shared on my disk. So I simply move the hidden .1234abc5678 file, or whatever it may be called, to the /Shared directory. If you let Time Machine back up while plugged in locally, you will also have to move the .sparsebundle file to the /Shared directory.

Eject the disk and plug it back into the AEBS and mount it via AFP, and Time Machine should pick it right up. This method should work for any AFP share, not just AirPort disks.

[robg adds: I strongly advise that if you're going to use this hint to enable TM backups to an AEBS disk that you have an additional backup strategy, preferably something local and known to work well. It's possible that Apple disabled the AEBS Time Machine feature due to issues with the integrity of the backups -- not exactly something you'd want to worry about in your only backup solution. I haven't tested this one, but at some point, I probably will with a NAS that mounts via AFP, just to see how well it works.]
  Post a comment  •  Comments (26)  
  • Currently 2.83 / 5
  You rated: 2 / 5 (6 votes cast)
[71,902 views]  View Printable Version
10.5: How to reset user and/or all font caches System 10.5
As a person whose work requires me to deal with fonts all day, I was naturally curious about the state of Apple Type Services (ATS) framework in Leopard: primarily, whether or not font cache corruption will be an issue.

While my limited testing shows some improvements in the stability of ATSServer when handling large numbers of fonts, what it focused on is this: how do I reset ATS's font caches in Leopard if they become corrupt? It appears as if there is no central ATS font cache in /Library » Caches » any more; in Leopard, those caches are now per-user, and stored in /private » var » folders. The directory names for a particular user within the 'folders' folder are hashed or randmoly-generated to provide security, but I was able to come up with the following one-line shell scripts for deleting the ATS cache folders.

To delete the ATS cache folder for the current user:
sudo rm -rf `lsof | grep \
| grep Finder | cut -c 66-139`
To delete the ATS cache folder for all users:
sudo rm -rf /private/var/folders/*/*/-Caches-/
After running this script, the machine should be restarted so that the caches can rebuild.

[robg adds: Please note the use of both sudo and rm -rf. If there are any typos in the above, or if you try to type them by hand and make a minor error, the results could be very bad. I tested both on my 10.5 test machine, and no damage was done. Still, please be cautious here.]
  Post a comment  •  Comments (5)  
  • Currently 2.73 / 5
  You rated: 1 / 5 (11 votes cast)
[73,625 views]  View Printable Version
10.5: One way to create an opaque menu bar System 10.5
I hate the way that the desktop background intrudes in the menu bar (due to its translucency), so I have edited every desktop picture I have (my monitor is set to 1920x1200) by adding a horizontal 21-pixel white bar at the very top, and a 1- or 2-pixel black bar just beneath the white bar.

Interestingly, Apple appears to have done the same thing on the main 10.5 installation screen, as its menu bar isn't translucent.

[robg adds: This is one solution to the translucent menu bar issue, but it's a fair bit of work. If you'd like to automate this solution, you might give OpaqueMenuBar a shot -- this piece of freeware (donations accepted) works by modifying the desktop images on the fly. It saves the modified versions to /tmp, and then uses that image for your desktop. While this solution works if you use only one desktop image, it didn't seem to work with my setup, which is set to auto-change the image at regular intervals. I've still got my fingers crossed that someone manages to root out some low-level opacity key we can modify to solve this problem for the menu bar as well as the menus themselves.]
  Post a comment  •  Comments (21)  
  • Currently 3.17 / 5
  You rated: 2 / 5 (6 votes cast)
[11,938 views]  View Printable Version
10.5: How to keep folders, not Stacks, in the Dock System 10.5
To place a folder in the dock without turning it into a Stack, you just have to create an alias of the folder, place this somewhere and drag it to the right side of the dock. The alias will behave like a folder, not a stack. This hint is for all the people who wants back their own nice icons in the dock.

[robg adds: Unfortunately, you will not have a pop-up navigable folder, just a folder whose icon won't change based on its contents (I'd really like to know who came up with that "great" idea). For alternatives, I suggest taking a look at DragThing, which can do hierarchical folders in dock, along with about 3,000 other things. I also use Butler, which lets me create pop-up navigable menus of any folder or disk that I can access with a hot key.]
  Post a comment  •  Comments (23)  
  • Currently 2.50 / 5
  You rated: 2 / 5 (4 votes cast)
[31,266 views]  View Printable Version
10.5: Save time when assigning programs to Spaces System 10.5
After you've assigned an app to one of your spaces, and you select it in the Application Assignments list, the space it resides in becomes highlighted in the graphical representation above the list. The highlight moves to whichever space you assign in the list, and it will change as you move between applications in the list.

When you are setting up your spaces and you want to assign several apps to one of your spaces, just add the first app and assign it to the desired space (the space is now highlighted). If you now click on the plus sign to get the Open dialog, you can choose multiple apps by command-clicking the ones you need.

When you have selected all the apps you want to reside in the highlighted space, just click Add, and all the selected apps will be assigned to that space. Just repeat the process for each space, and you're done.
  Post a comment  •  Comments (10)  
  • Currently 2.33 / 5
  • 1
  • 2
  • 3
  • 4
  • 5
  (3 votes cast)
[5,933 views]  View Printable Version
10.5: Move a user's home directory via the command line System 10.5
Under Leopard, NetInfo is gone in all its forms. If you want to move a home directory (eg, to another volume) you may now use Directory Services which can be accessed with dscl (Directory Services Command Line).

The following is a summary version of this blog post; note that was written back in April, and the users listing is now in /Local/Default/Users not /Local/Users. Open Terminal (in /Applications » Utilities) and become root with sudo su -. Now fire up dscl by typing dscl localhost. Inside dscl, change directory to /Local » Default » Users:
cd /Local/Default/Users
You can list all users, if you want, by typing ls. For the user you wish to move, show all the Directory Services' attributes by typing cat someuser, where someuser is the short username of the user you wish to see. To change the user's home directory,

change someuser dsAttrTypeNative:home /Users/someuser /Volumes/path/to/new/home/someuser

Exit dscl by typing exit.

[robg adds: This is the no-GUI alternative to this hint, which is the easiest way to do the job.]
  Post a comment  •  Comments (7)  
  • Currently 2.88 / 5
  You rated: 1 / 5 (8 votes cast)
[53,145 views]  View Printable Version
10.5: Easily change the location of your home directory System 10.5
Unfortunately, the procedure for moving a user folder, or all user folders, to an alternate volume under Tiger and earlier no longer works in Leopard; that procedure used NetInfo, and NetInfo has been replaced in Leopard by Directory Services. But for the most basic task -- moving a user folder -- Apple has made the process much easier in Leopard.

First, copy your home directory to the desired location; for example, to an external hard drive. (The ditto -rsrc command in Terminal is likely the quickest way, and guarantees you don't miss anything or mess up permissions: sudo ditto -rsrc "/Users/username" "/Volumes/path-to-new-folder".)

Then Control-click on your account's name in the Accounts pane of System Preferences and choose the Advanced Options item that appears. In the new Advanced Options screen, you'll see a field for Home Directory; enter the path to your new home directory here, or click on the Choose button and navigate to the new home directory.

Once you've made the change, restart, log back in, and then verify the location and functionality of the new home directory. You can then delete the original home directory.

This procedure has worked for me with several external hard drives. You just need to make sure that the drive hosting your home directory is connected before you attempt to log in. If it isn't, you'll get an error -- which is preferable to the behavior of Tiger and earlier versions of OS X, which would create a new user folder and then change the home-directory path to that new folder, forcing you to reset the location again. (Unfortunately, Leopard client doesn't let you use this setting, alone, to place your home directory on a remote volume; for example, on an AirPort Disk.)

If you want to move multiple account folders, you need to change the directory for each account separately. To change the location of the /Users folder for all accounts, present and future, requires a much different approach using some new-in-Leopard command-line utilities (such as dscl).
  Post a comment  •  Comments (11)  
  • Currently 3.92 / 5
  You rated: 1 / 5 (12 votes cast)
[107,331 views]  View Printable Version