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

Eject disk images when Finder sidebar is not visible System 10.7
In Lion, Apple did away with the button in the upper right corner of Finder windows, which allowed the sidebar to be toggled on and off. I used this frequently for ejecting disk images after I installed new software. Clicking on this button toggled the sidebar which allowed me to find the disk image and click on the eject button next do the disk image icon.

With this button now gone, I needed a faster way to eject a disk image than opening a new Finder window and ejecting. After playing around for a second I found out that by right-clicking anywhere in the mounted disk image's window, I could choose Eject . This is actually faster than the previous method I used. I'm not sure how long that has been a feature, but in is in Lion.

[kirkmc adds: I'm assuming that the poster means that he uses this for disk images that open in their own windows without a sidebar visible. I would just press Command-Option-S to show it (or hide it). But it's true that right-clicking and ejecting can be a bit quicker, if you don't have another Finder window open where you can click to eject the disk image.]
  Post a comment  •  Comments (15)  
  • Currently 3.78 / 5
  You rated: 3 / 5 (9 votes cast)
 
[11,384 views] Email Article To a Friend View Printable Version
Find out what's keeping your Mac awake System 10.7
Have you ever been annoyed to find that your Mac won't got to sleep when you tell it to? It turns out that in Mac OS X 10.6 and later, there's a simple way of finding out what's keeping your Mac awake.

Run the following command in your Terminal:

pmset -g assertions

In the first section of output, you'll see the status of two kernel assertions named PreventSystemSleep and PreventUserIdleSystemSleep. An accompanying status of 1 for either of these means that it is currently triggered.

The second section of the output lists the processes which owns any enabled assertions, both by process id (pid) and bundle id. If the verbose bundle id doesn't ring a bell, you can always use ps up <pid>, or look in Activity Monitor, to find the name of the exact command associated with this process.
  Post a comment  •  Comments (19)  
  • Currently 4.58 / 5
  You rated: 4 / 5 (19 votes cast)
 
[41,416 views] Email Article To a Friend View Printable Version
Download all your iDisk content before it's no longer available System 10.7
With MobileMe shutting down, many users have thought to download their photos and files. An Apple e-mail that MobileMe subscribers received said, "Download your photos and files. MobileMe ends June 30. Remember to download your Gallery photos, iDisk files, and move your iWeb sites before that date."

If you have iDisk syncing turned on, you may think that the entire contents of your iDisk are on your Mac. This will be in a disk image in the Previous Local iDisks folder on your Desktop, when you turn of iDisk syncing.

In many cases this is true, but you may not realize that some of the folders are aliases. So your local iDisk may not contain all of your files. The following folders may contain content that you want to save:
  • Backup: holds old backups made with Apple's Backup application.
  • Groups: if you created a group, you may have content in this folder.
  • Library: this contains some synced files.
  • Web: this folder contains some website stuff I published from iWeb, and my own domain, which I hosted on MobileMe.
I manually downloaded the Backup folder as none of these backup archives were on my computer, and I wanted the historic backup files of the old Macs it had backed up.

I also manually downloaded the Web folder. Although I could probably find many of the webpages found in this folder, I would have to look through all Macs I have had over the years.

For some of you, your iDisk this maybe the only place you have some of the files. So check that you have everything from these folders before they disappear for good.

[kirkmc adds: It's true that the iDisk is tricky. It's a good idea to go through everything and copy it, as the poster suggests, just in case you don't have local copies of any of your files. As much as one can complain about MobileMe, I found the iDisk a practical - if slow - tool for exchanging large files with clients. It's a shame that it's going away, and that Apple doesn't provide something similar to Dropbox for such purposes.]
  Post a comment  •  Comments (1)  
  • Currently 4.00 / 5
  You rated: 2 / 5 (6 votes cast)
 
[10,427 views] Email Article To a Friend View Printable Version
Disable Autosave and Enable "Save As..." System 10.7
The autosave feature in OS X 10.7 has been a mixed bag. It's nice that it saves things for you, but it's not nice that automatically saves things that you don't want to change permanently, or that the "Save As..." option has disappeared. The good folks at stack exchange have discovered a remedy.

To disable autosave in TextEdit.app, run the following command in Terminal:
defaults write com.apple.TextEdit ApplePersistence -bool no
This disables autosave and versions, reenables the "Save As" option and hot-key (Command-Shift S), and reenables Command-D as a hot key for "Don't Save".

For TextEdit, you'll run into sandbox-related permissions errors with this with the old style Autosave, where it attempts to place a file name "filename (Autosaved).txt" in your working directory. I don't know a good fix for that (if someone does, would you mind making a comment?)

This works for other apps as well, just replace TextEdit with the name of the app, e.g.:
defaults write com.apple.iWork.Keynote ApplePersistence -bool no
defaults write com.apple.Preview ApplePersistence -bool no
It is such a relief to have that "Save As..." option back! Hopefully I'll be able to get something done in Lion now with a minimum of cursing.

[kirkmc adds: We know that Save As is coming back in Mountain Lion, but if you want to turn of autosave for a specific application, this is good to know.

I'm not sure about these sandboxing errors. After working with a TextEdit file for a bit, I got an error saying, "You don't have permission to write to the folder that the file "test" is in." To be honest, that kind of outweighs the usefulness of turning off autosave; so if someone can find a solution for that, I'd say this hint might be more useful.]
  Post a comment  •  Comments (29)  
  • Currently 4.21 / 5
  You rated: 1 / 5 (14 votes cast)
 
[45,562 views] Email Article To a Friend View Printable Version
Possible solution for iChat connection problems over VPN System 10.7
This is very specific but I offer it as it may help others.

Since upgrading to 10.7, using a VPN with manually set split routing, iChat does not connect.

I have a setup whereby I connect to work via (Cisco) VPN configuration. After connecting I modify the routing tables so that only the required traffic goes via the vpn tunnel; the default route is set to the Internet gateway.

Since upgrading to 10.7 I have found that upon connecting and modifying the routes, iChat goes offline and won't reconnect.

I happened upon a solution which is to change the IPv6 settings from Automatic to link-local only. This setting is changed in the Advanced section (TCP/IP) of the Network System Preferences for the active Primary Interface (Wi-Fi in my case, but it would be equally applicable to any).

I cannot say with complete certainty that this is the cause but (a) as soon as I changed the IPv6 setting iChat went back to online, and (b) my routing table changes are only made to IPv4 addresses, and if iChat is using IPv6 in some sort of internal 6-to-4 tunnel then this change would make sense.

I reserve the option to be wrong about the actual cause.

[kirkmc adds: I have no way of knowing whether this is correct. I've had the occasional problem with iChat not connecting (not using a VPN), and publish my solution as this hint.]
  Post a comment  •  Comments (6)  
  • Currently 2.80 / 5
  You rated: 1 / 5 (5 votes cast)
 
[6,621 views] Email Article To a Friend View Printable Version
Shift-Option modifier for fine brightness control System 10.7
In a comment to a recent hint about using the Shift and Option keys to make finer adjustments to the volume of your Mac, user monolithic pointed out that these modifier keys also work with the brightness controls, F1 and F2. I didn't know that, and it looks like there's no hint for it on the site.

So, to change the brightness just a bit, press Shift and Option, then press either F1 to lower the brightness, or F2 to increase it. Personally, I find this more useful than the volume controls, as I often would like to change by display's brightness by a half-step.

This works in 10.7.4; if it works in other versions of Mac OS X, feel free to specify this in the comments.
  Post a comment  •  Comments (14)  
  • Currently 4.33 / 5
  You rated: 4 / 5 (12 votes cast)
 
[11,399 views] Email Article To a Friend View Printable Version
AppleScript to disable rubber band scrolling System 10.7
A recent hint gave instructions for enabling and disabling rubber band scrolling in Mac OS X Lion, using a Terminal command. This hint contains an Applescript to do the same, without having to use Terminal.

Compile this script in Applescript Editor and run it. It will let you enable or disable rubber band scrolling.
display dialog "Disable or enable rubber banding?" buttons {"Enable", "Disable", "Cancel"} default button "Cancel" with title "Rubber Band Control" giving up after 15

if button returned of the result is "Disable" then
   do shell script "defaults write -g NSScrollViewRubberbanding -int 0"
else if button returned of the result is "Enable" then
   do shell script "defaults delete -g NSScrollViewRubberbanding"
end if

[kirkmc adds: Well, it seems that disabling rubber band scrolling is quite popular! After a first hint, then yesterday's hint about disabling rubber band scrolling in iTunes, here's another, perhaps easier way, using AppleScript.]
  Post a comment  •  Comments (7)  
  • Currently 3.38 / 5
  You rated: 4 / 5 (8 votes cast)
 
[5,020 views] Email Article To a Friend View Printable Version
Easily add text to the Login window and lock screen System 10.7
To add text to the login window in Lion, there's no need anymore to use a system utility or to manually edit a plist file, as it was the case in earlier versions of Mac OS X. This can be useful to display an "If found" message.

Go to the Security & Privacy preference pane of System Preferences. Under the General tab, check the second box, "Show a message when the screen is locked," and then edit the message using the "Set Lock Message..." button.

This message displays near the bottom of the Login window or the lock screen. You can make multiple paragraphs by pressing Option-Return to go to a new line.

[kirkmc adds: This was indeed covered several times in the past, and required futzing around with .plist files. There were hints in 2002, 2005 and 2011. This method is much simpler, and deserves a mention.]
  Post a comment  •  Comments (9)  
  • Currently 4.00 / 5
  You rated: 2 / 5 (14 votes cast)
 
[16,338 views] Email Article To a Friend View Printable Version
Shift-Option modifier for fine volume control returns in 10.7.4 System 10.7
The ability to modify the volume in smaller increments was previously available in earlier versions of OS X. Holding down Shift and Option before pressing the Volume keys on your keyboard would let you adjust the volume in quarter-steps. This ability was absent in OS X 10.7, but has returned in 10.7.4. This is not mentioned in the release notes.

[kirkmc adds: Well, I've never used this, so I'm not sure whether it was indeed missing. If anyone has a pre-10.7.4 version of Lion running, can you test it? (I have one in a virtual machine, but changing the volume from the keyboard doesn't affect VMs.) This feature first appeared in 10.5.]
  Post a comment  •  Comments (19)  
  • Currently 4.15 / 5
  You rated: 5 / 5 (13 votes cast)
 
[12,305 views] Email Article To a Friend View Printable Version
Fix possible hibernation activation in desktop Macs System 10.7
I had some swapping issues the other day on my Mac mini, so I went into /var/vm to check how many files were there. I was surprised to find a sleepimage file; this is a file that is written when a Mac goes into hibernation mode. This file was about 9 GB - or the size of my RAM (8 GB) plus a bit.

Hibernation is only supposed to be used on laptops, but in an informal query of acquaintances (read: Twitter followers), I found that several people had seen this issue after the 10.7.4 upgrade. In addition to the space used, hibernation mode means the Mac takes a lot longer to go to sleep.

This hint from 2006 shows how to turn off hibernation and save that disk space. Essentially, you run the following command:
sudo pmset -a hibernatemode 0
(I didn't run the second command, and it doesn't seem to be needed.)

So, if you've found that your desktop Mac has lost a lot of disk space, check in /var/vm.

You can also check which mode your Mac is in by running this command:
pmset -g | grep hibernatemode
If the result is 0, then you're in normal sleep mode. See man pmset for more information about the different sleep modes.
  Post a comment  •  Comments (6)  
  • Currently 4.00 / 5
  You rated: 3 / 5 (8 votes cast)
 
[7,954 views] Email Article To a Friend View Printable Version