Pinterest Stumbleupon Whatsapp
Ads by Google

So you already know everything there is to know about your Mac’s dock Everything You Need to Know about Your Mac's Dock Everything You Need to Know about Your Mac's Dock It's the primary way many users interact with Mac OS X, but a lot of people still don't know some of the most basic and useful things the dock is capable of. Read More , but what if you want to change it? Luckily there are a number of tweaks you can apply to change the way the dock behaves.

From simple tweaks like adding hidden stacks for recent items, to only displaying the currently open applications – there’s a lot you can do to make Mac OS X your own Top 7 Ways to Personalize Your Mac OS X Desktop Top 7 Ways to Personalize Your Mac OS X Desktop Make your Mac more personal: change how applications, your desktop and the rest of OS X looks. Read More .

All of these tweaks are built into OS X by default but hidden from view, so you’ll need to use the Terminal Install Mac Software From Terminal With Homebrew Install Mac Software From Terminal With Homebrew Install (almost) any free Mac app by typing four words and hitting "Enter". Read More in order to make use of them.

Using Terminal to Customise Your Dock

If you’re pretty fond of your Mac’s dock, replacing it entirely is unnecessary – particularly when there are so many great little tweaks just a Terminal command away.

In order to execute these changes you’ll need to use the Terminal, found in the Utilities folder under Applications. You can also launch it using Spotlight by hitting command+spacebar and typing “Terminal” followed by enter.

All of these commands have been tested as working on OS X 10.10 Yosemite 10 Useful OS X Yosemite Features You Might Have Missed 10 Useful OS X Yosemite Features You Might Have Missed Ever since OS X Yosemite came out, everyone has been looking to see if they can find the features not so widely reported by Timmy up on his stage. Read More , but most should work the same for Mavericks (and in many cases Mountain Lion) as well.

Ads by Google

Only Show Active Apps

If you’d rather your dock was more like the Windows taskbar (and you’re ok with using Spotlight or Alfred to launch applications) you can instruct the dock to only show currently active applications.

When you quit the app, the icon will disappear from your dock; so if you’re after a minimalist look 7 Simple Steps To An Awesome Minimalist Desktop 7 Simple Steps To An Awesome Minimalist Desktop Read More this might be the tweak for you. Enter the following in Terminal to enable the feature:

defaults write com.apple.dock static-only -bool TRUE; killall Dock

To get your old dock back simply change “TRUE” to “FALSE” – note that the “killall Dock” segment of the command is used to restart the dock and action your changes. If you’re going to use this, you’ll probably want to disable Show indicators for open applications under System Preferences > Dock.

Enable “Single App” Mode

I like to use multiple desktops so I can keep lots of windows open at once, but we all know multitasking Do More, Better: Enhancing Multitasking In Mac OS X Do More, Better: Enhancing Multitasking In Mac OS X Multitasking is not always a choice. When you have to write up a report, you need access to your text processor, but also to your reference material. While working, I often end up working with... Read More is terrible for productivity. Single app mode might be the answer, particularly if you don’t like using more than one desktop on your Mac. To enable it, enter the following into Terminal:

defaults write com.apple.dock single-app -bool TRUE; killall Dock

Once enabled, clicking one app in your dock will hide all of the others. The only problem I have noticed with using this is that it makes it difficult to drag files from a Finder window into another application, like a browser. To disable it, run the command again but change the “TRUE” to “FALSE”.

Add Custom Stacks for Recent, Documents & More

Regular folders can be turned into quick-access “stacks” which show you the contents of a directory without having to resort to a new Finder window – but there are a few hidden stacks your dock has access to that Apple doesn’t tell you about.

Input the following command into Terminal in order to add a new stack which, by default, will display recently used Applications:

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

Once you’ve added the tile you’ll find it on the right-hand side of the dock (or at the bottom if you align your dock to the side of your screen). Use two-finger click (control+click) to toggle between recent application, documents and servers or favourite volumes and sidebar items, and define how these items are displayed.


You can add as many custom stacks as you need by repeating the above command, or you can remove the item from your dock via the context menu or by dragging it out of place.

Add Application Spacers

If everything looks a little squished together it’s possible to add some spacers to your dock to space the items. This is good for keeping system applications like Finder and Calendar separate from your other software.

To add a spacer, simply paste the following into Terminal:

defaults write com.apple.dock persistent-apps -array-add '{"tile-type"="spacer-tile";}'; killall Dock

Each time you paste that command a new blank spacer will be added. To remove a spacer, simply click and drag it out of the dock, or two-finger click (control+click) and choose Remove from Dock.

Indicate Hidden App Icons

Here’s one tweak you probably won’t be turning off once you’ve enabled it – by default there is no way of telling if an app is hidden on OS X, which can be confusing at times. For some reason Apple has added the option to do so, but neglected to add a toggle for it under System Preferences.

hiddenapps

Check out the screenshot above to see what the Safari, Chrome and Evernote icons look like when these apps are hidden. To enable this effect, paste the following into Terminal:

defaults write com.apple.dock showhidden -bool TRUE; killall Dock

To disable it use the same command, just change the “TRUE” to “FALSE”.

Change or Disable Auto-Hide Delay

If you like a nice clean desktop with the maximum amount of usable space dedicated to your applications, there’s a good chance you’ve enabled the option to auto-hide the dock under System Preferences > Dock. One thing this interface doesn’t give you control over is the auto-hide delay time.

Fortunately, you can change this with a simple command. The command below will revert the hiding speed to normal, as “1” is the default value. “0” would remove the delay altogether, while “2” would double it. Experiment to see what’s best by pasting the following into Terminal and changing the value to suit your preferences:

defaults write com.apple.dock autohide-time-modifier -float 1; killall Dock

Use Scroll Gestures

It is also possible to use your touchpad or mouse scroll wheel to interact with dock items. When enabled, this command allows you to use an upward scrolling gesture to open stacks, or use the same gesture on applications that are already running to show all windows associated with that application (also known as Exposé, pictured).

Enable it by pasting the following into Terminal, to disable simply change “TRUE” to “FALSE”:

defaults write com.apple.dock scroll-to-open -bool TRUE; killall Dock

Enable the Hidden “Suck” Animation

By far the least functional tweak on this list. Mac OS X includes a hidden minimise and maximise gesture that, well, sucks. I’ve enabled it and left it running purely for a change of scenery, and you might want to as well.

Enable the animation by pasting the following into Terminal:

defaults write com.apple.dock mineffect suck; killall Dock

You can change “suck” to “genie” or “scale” to revert to one of the default effects.

Quickly Customise with TinkerTool

Some (but not all) of these tweaks can be quickly enabled using a handy application called TinkerTool, which puts many of Apple’s hidden settings Tweak Mac OS X & Access Hidden Settings With Mountain Tweaks & Lion Tweaks [OS X] Tweak Mac OS X & Access Hidden Settings With Mountain Tweaks & Lion Tweaks [OS X] Apple’s walled-garden approach to computing has some pretty far-reaching implications for an everyday user of OS X. Apple provides, on the whole, a smooth and pleasant experience while using your computer, partly because the options... Read More within your grasp. Use it to customise the dock, desktop and many other parts of your OS.

All this application does is run the commands you’ve been entering manually, only with slightly less control and the “killall Dock” command assigned to the Relaunch Dock button.

Reset Your Dock to Default

Made too many changes and can’t remember what they were? Fortunately you can reset your dock to the default offering with this simple command, which deletes your dock preferences file:

defaults delete com.apple.dock; killall Dock

Do you know of any other tricks to customise the dock with Terminal? What are your favourite dock tweaks?

  1. Albert
    March 19, 2016 at 12:38 am

    I like very much the option to have Recent files in Dock, however, there is a BIG mistake which I don't know if it is possible to solve.

    I can't drag files from recent files (dock) to others apps.

  2. May it Begin
    July 7, 2015 at 1:12 am

    A couple of these worked. Some certainly didn't—like show recent items, and the spacer as examples.

    Is this a Yosemite problem?

    (I just got a new 5k iMac and realized Yosemite is a HUGE ass hole, and I'm now too new to downgrade…without many issues.)

  3. Kski
    March 4, 2015 at 10:07 am

    Where exactly are theses files located? I would like to edit/add different themes to not only my dock but also buttons, menus, and windows. Essentially, all the appearance preferences under the general tab.

Leave a Reply

Your email address will not be published. Required fields are marked *