How to remove the Dock in Mac OS X Leopard

14,068

Solution 1

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.

Solution 2

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

Solution 3

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!

Solution 4

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)

Solution 5

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

Share:
14,068

Related videos on Youtube

pisfire
Author by

pisfire

iOS App Developer, Android App Developer, ReactJS Developer, Flutter

Updated on September 17, 2022

Comments

  • pisfire
    pisfire over 1 year

    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?

    • Admin
      Admin almost 15 years
      What? Remove the dock?!?! Why would you want to do something like that? That's like disabling the taskbar on Windows!
    • Admin
      Admin almost 15 years
      @musicfreak - It's not perfect and scales horribly. asktog.com/columns/044top10docksucks.html this question sorely needs some cleaning up.
    • Admin
      Admin over 14 years
      @musicfreak, hence why I use Emerge Desktop on windows; the taskbar is totally useless to me.
    • Admin
      Admin over 14 years
      My comment was actually made tongue-in-cheek. ;)
  • pisfire
    pisfire almost 15 years
    i want my application in full screen. there should a button at the bottom to on/off dock.
  • Bryan Schuetz
    Bryan Schuetz almost 15 years
    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
  • pisfire
    pisfire almost 15 years
    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.
  • Bryan Schuetz
    Bryan Schuetz almost 15 years
    Actually in 10.5 you can't pin it to the top of the screen anymore
  • pisfire
    pisfire almost 15 years
    and i am using mac 10.5.7
  • Andrew Scagnelli
    Andrew Scagnelli almost 15 years
    If 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.
  • Arjan
    Arjan over 13 years
  • SJWimmer87
    SJWimmer87 about 13 years
    Disabling the Dock also disables cycling through apps via command-tab. It did for me anyway.
  • cwd
    cwd about 12 years
    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