Category Archives: Mac Tips

A fix for some full page pop-unders in Safari

Many are complaining about the recent occurrence of blank, full page windows popping up under the active window in Safari versions 5 and 7 (not sure about version 6) when clicking on a link.

This is due to the Glims update that came out this week. To solve this annoying behavior:

Go to Safari Prefs

Force spring-load folder when auto spring load is disabled.

I disabled automatic spring-loaded folders. But wanted to have ability to manually activate it.

As you know if you drag one folder to another you can wait a little or immediately press spacebar. In both cases folder “spring-loads”.

But auto spring-load annoys me more than helps. Because I often need to find folder I want to spring-load. And also I have to control that I am not hovering some other random folder. And sometimes I start dragging folder and in some depth forget to control not hovering any unnecessary folder.
“And boom!” and spring-loads wrong folder.

In Finder Settings (Finder menu -> Settings or CMD+,) you can disable auto opening spring-loaded folders.
But it will also disable manual opening folder via pressing spacebar.

But the hint is to double click spacebar when you hover necessary folder. “And boom!”

Source: Mac OSX Hints

  

Creating keyboard shortcuts on the command line

Like most preferences, keyboard shortcuts can be set using “defaults write” commands in the Terminal. Useful if you have lots of shortcuts that you want to define, or if you have more than one Mac to set up.
However, the syntax isn’t quite the same as the usual commands for setting a key to a value.
For Application-specific commands, use the following:
defaults write com.developer.app NSUserKeyEquivalents -dict-add “Menu Item” -string “@$~^k”
The meta-keys are set as @ for Command, $ for Shift, ~ for Alt and ^ for Ctrl. k in this example is the non-meta-key that you want to use.

For system-wide shortcuts, you can use -g instead of the app identifier, e.g.defaults write -g NSUserKeyEquivalents -dict-add “Menu Item” -string “@$~^k”

Note that you’ll need to relaunch the app before these will take effect. Also you can see if they’ve been successful in System Preferences — which will also need a relaunch to show the changes.

Source: Mac OSX Hints

  

See open URLs per Safari Web Content instance in Activity Monitor

I believe this is new to Mavericks: Here’s an easy way to identify the windows in Safari that are currently using resources.

Open Activity Monitor, and then hover over a Safari Web Content item in the window. That will display the open URL(s) belonging to that instance. This makes it easy to identify the window in Safari that is using up your CPU.

Lex adds: This works as described, and is great.

Source: Mac OSX Hints

  

Power button changes in Mavericks

Apple changed the behavior of the Power button in 10.9 Mavericks.

Press the button once, and it puts your display to sleep. Press and hold it for a second or two, and the Shutdown / Restart / Sleep dialog appears. Press and hold it for even longer, and your Mac gets completely powered off.

Source: Mac OSX Hints

  

Mavericks – Finally a service to open a terminal from a specific folder

Right mouse click and choose Services > New Terminal at Folder

I’ve tried different apps to be able to open a Terminal shell from a specific folder. Finally in Mavericks you can add a Service to do that. In System Preferences choose Keyboard and then Shortcuts. From the left side nav, choose Services. Then from the main area under Files and Folders, choose New Terminal at Folder and/or New Terminal Tab at Folder. Now you can right mouse click or control click on a folder and choose Services > New Terminal at Folder.

Source: Mac OSX Hints

  

Workaround GateKeeper for Non-Apps

GateKeeper will block files from opening that it thinks are command line apps.

I was trying to open in TextWrangler sample .ncx and .opf files that I had downloaded from an Amazon forum. The Mac saw them as command line apps, and when dragging them onto TextWrangler’s icon, I got an alert from GateKeeper. Since they’re files, the contextual menu “Open” command didn’t work. When I went into the Security preference pane to temporarily disable GateKeeper, I noticed that it had a message about the last thing that was prevented from opening, with a button to open anyway, and the file opened right away in TextWrangler. (Note that I didn’t try changing the “open in” app using Get Info, which may have worked also.)

Source: Mac OSX Hints

  

Trimming Apple Mail to prevent iCloud storage from getting full

So, as a paid user of MobileMe, Apple provided you with 20 GB of iCloud storage. Suddenly, in October ’13, Apple removed 15 GB of that, and you’re getting messages from Apple that your iCloud storage is getting full, or even the dreaded message, “Your iCloud storage is full… You can no longer send or receive messages with your iCloud email address…” Apple is strongly encouraging you to buy more storage. Do you have any other options?

As Apple suggests, go to System Preferences > iCloud > Manage > Mail. At that point, Apple recommends, “To free up storage used by Mail, erase messages in the Junk and Trash folders.”

That’s a good start, but that’s not nearly enough. If that shows that Mail really is the culprit in hogging your iCloud storage, try deleting the attachments from your received and sent mail! That can reduce your iCloud storage tremendously. (That alone cut mine down from about 4.8 GB to 1.2 GB).

To find your mail with attachments, in Apple Mail, you ca …

Source: Mac OSX Hints