Couple of useful OS X Tricks

I just stumbled upon 30 Fantastic Geeky Tricks To Get The Most From Your Mac and I thought I’d write down a couple of tricks I found useful.

Recent Items Stack

Type this in terminal window to show a stack of your ‘recent applications’.

defaults write com.apple.dock persistent-others -array-add '{ "tile-data" = { "list-type" = 1; }; "tile-type" = "recents-tile"; }'

Show Hidden Files

The following command will show all hidden files in your Finder.

defaults write com.apple.Finder AppleShowAllFiles YES

Similarly, change the last bit to ‘NO’ to re-hide the files.

Enable Safari Inspector

I didn’t know that Safari had an Inspector that looks like the one in Google Chrome. As a web developer, I can say that this is music to my ears. Enable it in Terminal:

defaults write com.apple.Safari IncludeDebugMenu 1

Better Screen Sharing

When I first saw Screen Sharing on a Mac, I thought it was the best thing since sliced bread. Apparently, there are more nifty Screen Sharing features that are hidden by default.  This includes a number of options for adjusting quality and allowed input on each side of the screen share. To turn them on, type this in your Terminal:

defaults write com.apple.ScreenSharing \
'NSToolbar Configuration ControlToolbar' -dict-add 'TB Item Identifiers' \
'(Scale,Control,Share,Curtain,Capture,FullScreen,GetClipboard,SendClipboard,Quality)'