Monthly Archive for October, 2009

disable window shadow during screencapture via terminal

Just found this at usingmac‘s Tweek Screencapture Behavior post. There a few more tweaks in their article but this is the one that works for me personally.
When we used key combination [Cmd-Shift-4] + [Space], we will be able to capture a snapshot of window along with the shadow. The following command lines are used to disable the shadow.
defaults write com.apple.screencapture disable-shadow -bool true
killall SystemUIServer

You can change -bool true to -bool false to enable back the shadow.

force safari links to open in new tab via terminal

I don’t use Safari as much as I do Firefox for many little frustrating reasons. One of the reasons is how Safari by default opens links in a new window instead of a new tab and this drives many new Safari users nuts.  This feature should automatically be implemented just like in Firefox.  I found a small Terminal hack that takes care of that.

Launch terminal and type in the following command:
defaults write com.apple.Safari TargetedClicksCreateTabs -bool true

Restart Safari and all of your clicked links will open in a new tab. If you want to go back, just replace “true” with “false.”