How to remove the Dock in Mac OS X Leopard

7

4

I don't want the dock that is at the bottom of the screen. I don't want to hide it but completely remove it. How can this be done? If not possible, why not?

Sagar R. Kothari

Posted 2009-08-04T23:50:06.000

Reputation: 4 267

2What? Remove the dock?!?! Why would you want to do something like that? That's like disabling the taskbar on Windows! – Sasha Chedygov – 2009-08-04T23:56:58.557

@musicfreak - It's not perfect and scales horribly. http://www.asktog.com/columns/044top10docksucks.html this question sorely needs some cleaning up.

– Chealion – 2009-08-05T00:08:54.787

@musicfreak, hence why I use Emerge Desktop on windows; the taskbar is totally useless to me. – Phoshi – 2009-09-01T18:45:18.837

My comment was actually made tongue-in-cheek. ;) – Sasha Chedygov – 2009-09-01T18:58:35.597

Answers

13

Your best bet is to leave it there so you won't mess with other services but shrink it to super small size using the following terminal command:

defaults write com.apple.dock tilesize -int 1

see below for example .. that's wicked small.

alt text

then pin it to one side with the following terminal command:

defaults write com.apple.dock pinning -string start

then hide it. It should be totally out of the way at that point unless you mouse all the way over in the extreme bottom left hand corner.

Bryan Schuetz

Posted 2009-08-04T23:50:06.000

Reputation: 1 494

1

To assign a shortcut to the above, see In Mac OS X 10.6, is there a way to disable the trigger that shows the dock when the mouse is at the edge of screen

– Arjan – 2010-09-11T13:16:32.590

Options for pinning it include start, middle, and end. Also you will need to restart the dock by using killall Dock (make sure Dock is capitalized). Tested and this answer works fine on Lion too. +1 – cwd – 2012-03-25T16:13:50.583

3

You can remove Dock.app, change its permissions, or disable the launchd plist that opens it:

sudo launchctl unload -w /System/Library/LaunchAgents/com.apple.Dock.plist

To revert the changes, replace unload with load or remove the entry in /var/db/launchd.db/com.apple.launchd/overrides.plist manually.

It also disables Mission Control, full screen windows, the Notification Center sidebar, the application switcher, Launchpad, Dashboard, and it makes desktop backgrounds gray.

This would increase the delay before the Dock is shown to 2 seconds:

defaults write com.apple.Dock autohide-delay -float 2; killall Dock

Lri

Posted 2009-08-04T23:50:06.000

Reputation: 34 501

2

There is a program called: Dock Disabler (Source)

The Dock isn't perfect but disabling the Dock entirely will break certain features (eg. Expose in Tiger and Panther)

Chealion

Posted 2009-08-04T23:50:06.000

Reputation: 22 932

is it safe? if i install your source to mac, it wont make affect ot os. Because it's nt my mac. i am on job. – Sagar R. Kothari – 2009-08-05T00:12:59.127

2If its not your system, you shouldn't be making changes to core services or installing software that modifies the OS. The vast majority of companies really don't like that. – Andrew Scagnelli – 2009-08-05T12:36:36.167

Disabling the Dock also disables cycling through apps via command-tab. It did for me anyway. – Kent – 2011-03-11T17:51:22.657

2

As you mentioned in a comment, you just want a full screen app. In that case, see this answer to do that.

RCIX

Posted 2009-08-04T23:50:06.000

Reputation: 5 415

2

What do you mean by "my application"? If it's a third-party application with a full screen mode, file a bug report with the developer. If you're developing your own application, use CGDisplayCapture. If you're trying to maximise everything, try using your Mac like Apple wants you to. It sounds obnoxious, but it'll be easier for you in the long run.

If, however, you really do want to bend the OS X UI to breaking point (not that far, admittedly), follow Bryan's advice. Better still, stick it in an AppleScript, along with code to reverse it, and stick it in the Script menu. Then just select that item to switch between normal and hidden-away-really-small-in-the-bottom-left mode. And don't forget to ask the developer for a full-screen mode!

Benjamin Dobson

Posted 2009-08-04T23:50:06.000

Reputation: 1 021

1

To the best of my knowledge, you cannot disable the dock. Even quitting the dock process results in it auto-magically restarting.

You cannot disable the dock because it is an integral part of OS X.

Why do you want to remove it? What benefit do you believe you'll get from removing it?

EvilChookie

Posted 2009-08-04T23:50:06.000

Reputation: 4 519

i want my application in full screen. there should a button at the bottom to on/off dock. – Sagar R. Kothari – 2009-08-05T00:01:00.983

1

Theoretically anything is possible I suppose, the Dock application is in /System/Library/CoreServices so for starters you could pull it out of there I suppose.

But I don't think Finder will like that, and you also will lose the Expose feature, and maybe Dashboard too. I can't imagine why disabling/removing it would be preferable to simply hiding it.

Bryan Schuetz

Posted 2009-08-04T23:50:06.000

Reputation: 1 494

hiding - it re-appear when i dont require. so i need to close it. I want full screen for my apps. – Sagar R. Kothari – 2009-08-05T00:02:44.457

Because your mousing up to the edge of the screen and it's sliding back on the screen? You could change the position and pin it to the top of the screen so its REALLY hidden – Bryan Schuetz – 2009-08-05T00:10:04.143

Actually in 10.5 you can't pin it to the top of the screen anymore – Bryan Schuetz – 2009-08-05T00:14:04.850

and i am using mac 10.5.7 – Sagar R. Kothari – 2009-08-05T00:19:14.740