Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!

10.7: Remove the Dock's display delay System 10.7
While reverse engineering the Dock for HyperDock, I stumbled over this useful hidden setting that removes the display delay when the Dock is hidden.

To remove the delay, open Terminal, type or copy and paste the following line and hit return:
defaults write com.apple.Dock autohide-delay -float 0 && killall Dock
To restore the default behavior, enter:
defaults delete com.apple.Dock autohide-delay && killall Dock
[kirkmc adds: This is a nice hint. It has always annoyed me that, when moving the mouse to the side of my screen (I keep the Dock on the left side), there is that half-second delay before it displays. I've applied this setting and will use this permanently. It's not that a half-second is a long time, but my brain expects the Dock to appear more quickly, and it is always stymied by the wait.]
    •    
  • Currently 4.65 / 5
  You rated: 5 / 5 (17 votes cast)
 
[20,904 views]  

10.7: Remove the Dock's display delay | 22 comments | Create New Account
Click here to return to the '10.7: Remove the Dock's display delay' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Remove the Dock's display delay
Authored by: DarthMagnus on Mar 27, '12 08:05:11AM
If you don't want to remove the delay altogether, but just want to shorten it, you can play around with the number after the -float option. For me, this is a good fit:

defaults write com.apple.Dock autohide-delay -float 0.05 && killall Dock

It's a measurement of seconds. I think the default value is for a quarter second, but it's hard to tell.

[ Reply to This | # ]
Remove the Dock's display delay
Authored by: xianman on Mar 27, '12 08:07:03PM

Best. Hint. Ever.

I'm not much of a Dock fan since I've always used something like Quicksilver (Alfred nowadays), so I changed -float 0.05 to -float 5.0. Now the dock will never sneak-pop up on me again! And if I need the dock, I've mapped F5 to hide/show the dock.



[ Reply to This | # ]
Remove the Dock's display delay
Authored by: JJFlash on Mar 28, '12 02:38:03PM

Also, after a quick test, I guess the delay specified by this option determines fullscreen behaviour: Without a delay set, I had to pull twice over the bottom of the screen to show the dock. With a non-zero delay set, I have to pull only once but as long as determined by the delay. Thus, with a zero-delay, the dock shows immidiately if you hit the bottom of the screen.

Can anyone confirm this?



[ Reply to This | # ]
Remove the Dock's display delay
Authored by: ragnu on Mar 27, '12 08:17:06AM

Doing that also changed the dock's behavior in full-screen mode. The dock now pops up immediately the first time I point to the bottom of the screen (ordinarily, in full-screen mode, you have to do this twice to get the dock to pop up).



[ Reply to This | # ]
Remove the Dock's display delay
Authored by: metiure on Mar 27, '12 09:13:36AM

Doesn't work in 10.6.8 SnowLeo, so i't probably 10.7 Lion only.



[ Reply to This | # ]
10.7: Remove the Dock's display delay
Authored by: gmachen on Mar 27, '12 11:05:24AM

Yep, doesn't work in 10.5.8, either.
An "autohide-delay" key duly gets added to:
~/Library/Preferences/com.apple.Dock.plist
...but it's ineffective; I made mine 2.0 seconds, but nothing changed. (Just in case it wasn't in seconds, I tried 2000.0, but no difference.)

Apple never got this right. It's a PITA for the Dock to appear when I'm trying to do something else in that proximity. I would gladly trade-off a longer delay to get the Dock than have to contend with its unwanted appearance.

What would be ideal for me is to require a click at the edge of the screen to bring-out the Dock. I've tried any number of AppleScripts to do that, but nothing works usefully.



[ Reply to This | # ]
10.7: Remove the Dock's display delay
Authored by: gmachen on Mar 27, '12 11:20:45AM
For example, an AppleScript to require my aforementioned click-at-screen-edge to make Dock appear wasn't responsive enough, and this applet to toggle the Dock width to so small as to be out of the way just wasn't sufficiently robust:
(*

"position of the mouse" uses XTool 2.0 osax:
<http://lestang.org/osax/XTool/XTool-2.0.dmg.tgz>
Put in ~/Library/Scripting Additions/

*)

on run
	do shell script "defaults write com.apple.Dock tilesize -int 1"
	set DockSize to "narrow"
	tell application "Dock" to quit
	tell application "Finder" to activate
end run

on idle
	if (end of (position of the mouse) = 999) then
		delay 1
		if ((end of (position of the mouse) = 999) and DockSize = "narrow") then
			do shell script "defaults write com.apple.Dock tilesize -int 200"
			set DockSize to "wide"
			tell application "Dock" to quit
		end if
	else
		if DockSize = "wide" then
			do shell script "defaults write com.apple.Dock tilesize -int 1"
			set DockSize to "narrow"
			tell application "Dock" to quit
		end if
	end if
	return 1
end idle


[ Reply to This | # ]
10.7: Remove the Dock's display delay
Authored by: giulio on Mar 27, '12 12:04:53PM

Just wanted to say that HyperDock is beyond awesome.

---
Freelance web development
WebVeteran.com



[ Reply to This | # ]
10.7: Remove the Dock's display delay
Authored by: bahoom on Mar 28, '12 01:51:59AM

Thanks :) If you use this hint, you should upgrade to the developer version (hd preferences -> advanced tab -> upgrade to unstable versions) as it includes some special fixes for this.



[ Reply to This | # ]
10.7: Remove the Dock's display delay
Authored by: giulio on Mar 28, '12 07:34:19AM

Thanks for the suggestion.
I'm actually not going to use this hint though. Seeing what's going on with apps and docs is sorta the point of the dock (for me)... hiding the dock doesn't help me.
But it is aggravating how the dock reserves the whole length of the bottom of the screen (or right height of the right of the screen in my case) even if it's actual width is only a 1/4.

---
Freelance web development
WebVeteran.com



[ Reply to This | # ]
10.7: Remove the Dock's display delay
Authored by: menace690 on Mar 27, '12 01:17:40PM

Does anyone know if the same thing exists for hidden menu bar in full screen?



[ Reply to This | # ]
10.7: Remove the Dock's display delay
Authored by: 5chm31din6 on Mar 27, '12 02:23:42PM
Ahhh...bliss... especially in full screen mode. Thank you for sharing this hint!
---
Power corrupts. PowerPoint corrupts absolutely.


[ Reply to This | # ]
10.7: Remove the Dock's display delay
Authored by: abbaZaba on Mar 27, '12 06:56:51PM

Registered an account to say thanks for this tip. Too bad it doesn't work on Snow Leopard.



[ Reply to This | # ]
10.7: Remove the Dock's display delay
Authored by: paulduv on Mar 27, '12 09:10:45PM

Wow. It's amazing how much that adds to <i>teh snappy</i> of the dock. Oh yeah, I'm rockin the html.



[ Reply to This | # ]
10.7: Remove the Dock's display delay
Authored by: TGV on Mar 27, '12 11:38:18PM

I actually like the delay. It helps when you've got a very tall window and you need to do something in its nether region. If the dock were to spring up immediately, it would be more difficult to get hold of the window's border or something near it.



[ Reply to This | # ]
10.7: Remove the Dock's display delay
Authored by: 1080pete on Mar 31, '12 04:33:34PM

When entering the command into terminal, should I be typing it in after the text that's already in there or something else? Thanks,

Peter



[ Reply to This | # ]
10.7: Remove the Dock's display delay
Authored by: ricede on Apr 02, '12 12:04:32AM

Works in snow leopard 10.6.8 for me.

Also this command makes an auto-hiding Dock snap into place immediately. Removes the Dock Animation completely.
defaults write com.apple.dock autohide-time-modifier -int 0;killall Dock

Return to the OS X default animation speeds with the following defaults write command:
defaults delete com.apple.dock autohide-time-modifier;killall Dock



[ Reply to This | # ]
10.7: Remove the Dock's display delay
Authored by: Sigma on Apr 23, '12 06:58:04AM

This should be added to the original hint too. I used the following to speed up the dock animation in addition to the initial hint's delay time reduction:

defaults write com.apple.dock autohide-time-modifier -float 0.5 && killall Dock



[ Reply to This | # ]
10.7: Remove the Dock's display delay
Authored by: kohlmannj on Apr 03, '12 02:00:30PM
My pet peeve in 10.7 has been the fact that revealing the Dock while in a full-screen app requires not only moving the cursor to the bottom of the screen, but moving the cursor along the bottom edge to reveal the Dock. Super annoying.
Setting the Dock autohide delay to zero and only zero, as the original hint proposes, completely removes this annoyance. As soon as your cursor's at the bottom of the screen, the Dock's there. Awesome!!!

[ Reply to This | # ]
10.7: Remove the Dock's display delay
Authored by: minimalmadsen on Apr 06, '12 09:24:59AM

Hi guys - anyone found a way to do something similar with the menubar in full screen mode?



[ Reply to This | # ]
10.7: Remove the Dock's display delay
Authored by: Lri on May 30, '12 07:44:29AM
  • defaults write com.apple.dock autohide-delay -float 0
  • (this hint) removes the delays completely in full screen and normal screen mode
  • defaults write com.apple.dock autohide-fullscreen-delayed -bool false only removes the additional delay for showing the dock in full screen
  • defaults write com.apple.dock autohide-time-modifier -float 0.7
  • reduces the delay and the duration of the animation for showing or hiding the dock


[ Reply to This | # ]
10.7: Remove the Dock's display delay
Authored by: apikoros on Oct 24, '13 06:21:45AM

Darn. Doesn't seem to work in Mavericks (OSX 10.9).



[ Reply to This | # ]