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

Making the dock as unobtrusive as possible Desktop
I don't use the dock much at all, so here's what I do to keep it out of the way. Open the Terminal and enter these commands (the part after the $):
 $ defaults write com.apple.dock launchanim -bool no
 $ defaults write com.apple.dock magnification -bool no
 $ defaults write com.apple.dock autohide -bool yes
 $ defaults write com.apple.dock orientation -string top
 $ defaults write com.apple.dock pinning -string end
 $ defaults write com.apple.dock tilesize -int 16
This hides the dock in the top right corner under the menu bar, with the nice side effect of freeing up the few pixels it eats even when hidden in the other three screen edges. The few times I need it, I usually just toggle the autohide setting via the keyboard (Command-Option-D by default; configure a better one in system preferences), though it's possible to hover the cursor just under the menu bar too.

Oh, and these tweaks (specifically, the launchanim setting) also turns off the annoying bouncing icons when launching an application. Have fun!
    •    
  • Currently 3.50 / 5
  • 1
  • 2
  • 3
  • 4
  • 5
  (4 votes cast)
 
[22,452 views]  

Making the dock as unobtrusive as possible | 29 comments | Create New Account
Click here to return to the 'Making the dock as unobtrusive as possible' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Making the dock as unobtrusive as possible
Authored by: diamondsw on Apr 26, '04 10:36:25AM

Of course, almost all of this is available directly from the dock's preference pane. The only commands you need to execute are the ones that set it to the top right. Don't we have enough little utilities that will do that for us already? Why is this a hint?



[ Reply to This | # ]
Making the dock as unobtrusive as possible
Authored by: Gigacorpse on Apr 26, '04 10:55:36AM

Well, the tilesize is new to me, so I did get something out of this hint. But why hide to bounce effect on a hidden dock?



[ Reply to This | # ]
Making the dock as unobtrusive as possible
Authored by: edoriv on Apr 26, '04 11:07:04AM

the tile size wasn't apparent to you???

System Prefs > Dock > Dock Size

this slider sets the tile size

or you could click and drag on the dock separator area and this too will change the tile size.

why set the icons to not bounce... well because who wants to see an icon jump from under the menubar when loading an app...

I do still don't see a reason for this being a hint though... it's almost all in the dock settings already and many simple GUI utilities do this for us without command line use.



[ Reply to This | # ]
Self-defence
Authored by: Wolf on Air on Apr 26, '04 11:58:09AM

Oh, right, being a Unix afficioinado, I tend to forget pure Mac enthusiasts tend to be console allergic... which is too bad. You're missing out. Anyhow, I posted it because I've never seen any reference to the "top" Dock position elsewhere (discovered it by guesswork) and I use a 12-inch Powerbook myself, and figured I wouldn't be the only one with this problem. There's also been a bit of discussion about hiding the Dock in the past, and I figured I'd post what I consider the ultimate solution.

There, satisfied? Jeez... just because you didn't benefit from a hint doesn't mean someone else won't.

---
-Wolf on Air



[ Reply to This | # ]
Self-defence
Authored by: schneb on Apr 26, '04 02:50:17PM

Don't let someone's rant get you down. Post away and let the admin's sort it out.



[ Reply to This | # ]
Self-defence
Authored by: DavidRavenMoon on Apr 26, '04 04:35:34PM

"I tend to forget pure Mac enthusiasts tend to be console allergic.."

First I think you mean "Terminal" not "Console," which is a different application.

Secondly, I use the Terminal all the time, but some of these things take longer to type than to use the GUI. I don't think it has anything to do with being allergic to it.

:)



[ Reply to This | # ]
Self-defence
Authored by: edoriv on Apr 26, '04 09:51:58PM

I wasn't talking for myself... I happen to use the terminal almost every day... I'm a web developer and use the command line to configure servers and set up sites all the time. I happen to just feel this is just as easy if not easier using the gui tools especially for most that don't like the terminal.

sorry if I didn't think this was all that much of a hint. I rarely say much because many things here are kewl tips sso kill me if the rare time i speak up is when I think a tip is filler fluff.



[ Reply to This | # ]
Repetition makes Perfect, not redundant
Authored by: gabester on Mar 28, '06 09:48:21AM

I think it's important to note that, while your way of doing things might work for you very well - i.e. using the available GUI to perform most of the functions of this hint and following other hints that accomplished similar things, it certainly doesn't hurt to have hints that are a bit repetitive come out:
1. They accomplish something new.
2. They refresh the reader about something they read some time ago and might have wanted to try but never got around to doing.

Personally I don't have the time try out even a small fraction of the panoply of hints available here; and often I find very useful nuggets that do bypass the GUI to accomplish great things that I otherwise would not have known about. It's good to have more ways of doing things so that you can choose the way that works best for you; and it's good to have some repetition in hints so that good ideas of yesteryear aren't lost. Rob, maybe you should start a "Today's best hints in history" and include the top viewed/commented/utilitarian hints of years past as a sidebar link every day.
g=



[ Reply to This | # ]
Making the dock as unobtrusive as possible
Authored by: Gigacorpse on Apr 26, '04 03:01:07PM

"the tile size wasn't apparent to you???

System Prefs > Dock > Dock Size"

With the example shown in the hint, I can actually set docksize with a real number value, not a slider where I have to guess. I have two Macs and this will allow me to have a consistant dock size setting between them.



[ Reply to This | # ]
Key advantage here: scriptability
Authored by: Han Solo on Apr 26, '04 11:16:10PM

The key advantage of this approach (using the CLI instead of the GUI) is that it is easily scriptable, allowing switching between different settings in one easy step (vs. multiple steps with the GUI) and/or exactly replicating settings across different machines (vs. approximations with unlabeled sliders in the GUI).



[ Reply to This | # ]
Get over yourself!
Authored by: RickoKid on Apr 26, '04 05:10:06PM

Oh come on! MacOSXHints is a great site - why ruin it by constantly griping about what is a hint and what isn't? Comments like this are getting more and more prevalent ... and I don't see the point! If Robg considers something worthy to spend his time approving then I don't see why anyone can complain - and Robg ... please don't feel like you have to justify posting a hint that others may think is not a hint - if you think it is .... well ... it is!

I realise this post is sort of ironic - a post criticising others criticising others!



[ Reply to This | # ]
Get over yourself!
Authored by: diamondsw on Apr 27, '04 12:16:05AM

When a hint has been posted and 90% can be done in the obvious GUI supplied, no that's not a hint. Sorry if I ruffled some feathers.



[ Reply to This | # ]
Get over yourself!
Authored by: spazz on Apr 27, '04 08:05:15AM

It's that other 10% that may be of greatest value to me.

Spazz

They say that if you play a Windows Install CD backwards, you hear satanic messages...
That's nothing; play it forward and it installs Windows.



[ Reply to This | # ]
I have to agree...
Authored by: jiclark on Apr 27, '04 11:16:18AM

..albeit a little more calmly. ;-}

I wish that people who feel a hint isn't worthy of being a hint would just move on to the next one. It's simply a waste of time to bother posting the opinion. One could argue it's just as bad as posting an unworthy hint in the first place...

Bottom line: let everyone get what they will out of this site and don't waste your time arguing about whether a hint is really a hint or not. Let Sir Rob decide, and leave it at that.



[ Reply to This | # ]
Making the dock as unobtrusive as possible
Authored by: zdxq on Apr 26, '04 11:16:58AM

I am extremely grateful for this hint since it provides the only way I've found to easily eliminate the Dock with options I couldn't find in any of the Dock preferences, and without interfering with other Desktop features such as Expose.

Not since OS 10.2 (when I killed the dock using more extreme measures - without fear of disabling anything like Expose) have I been able to eliminate this hideous beastie from rearing its ugly head on my very small 12 inch screen!



[ Reply to This | # ]
Making the dock as unobtrusive as possible
Authored by: ceesaxp on Apr 27, '04 05:32:28PM
There is at least one application that I end up having to use the Dock for: Emacs (the Carbonised one). If I minimize a frame of it, I can never switch back to it, unles I click an icon on the Dock. I can switch to Emacs as application -- get its menu and all -- but not to the buffer itself... Otherwise my Dock is at the minimal size on the right side of the screen, hidden. Rarely bothers me.

[ Reply to This | # ]
Making the dock as unobtrusive as possible
Authored by: prk on Apr 26, '04 02:12:12PM

Wow, people really don't like the dock? How do you launch the applications? Do you put them on the desktop? It's just strange to me. Even when I used Linux, I had a dock.



[ Reply to This | # ]
Making the dock as unobtrusive as possible
Authored by: schneb on Apr 26, '04 02:46:27PM

Because it is intrusive with no way to deactivate it. I had a big debate in the forums about it. My arguement always has been that Jobs says that OSX allows the user to dictate to the OS how you work and not make you work according to the OS. This is true with the menu customization, but not with the Dock. You MUST use it, and you MUST use it THIS way.

To answer your question, I use FruitMenu to get back to the Classic Mac way of doing things. I also use CM to send files to other apps such as Quicktime.



[ Reply to This | # ]
But the Dock looks great!!!
Authored by: hamarkus on Apr 26, '04 04:32:09PM

Apart from all usability issues, the Dock looks just so great, I would never hide it.



[ Reply to This | # ]
Making the dock as unobtrusive as possible
Authored by: DavidRavenMoon on Apr 26, '04 04:51:42PM

When did Jobs say all this? He always wants things his way, period. Notice how he killed off themes in OS 8? He also doesn't want OS X's interface changed at all.

Personally I don't see anything wrong with the Dock. I also use FruitMenu and Windowshade X. I even use DragThing, but use the Dock to switch apps.



[ Reply to This | # ]
Deactivate the Dock...?
Authored by: S on Mar 01, '08 08:50:27AM
No way to deactivate the Dock? I like it, but if I ever need to stop it running for a while I make a backup of my system then use

sudo mv /System/Library/CoreServices/Dock.app ~/System/Dock.app
killall Dock
and to change it back:

sudo mv ~/System/Dock.app /System/Library/CoreServices/Dock.app
open /System/Library/CoreServices/Dock.app
You could put this in a script for one-click access.
(Of course, you need a folder called "System" in your home folder.)

[ Reply to This | # ]
Deactivate the Dock...?
Authored by: S on Mar 01, '08 08:52:56AM

...sorry, I know this is rather late...



[ Reply to This | # ]
Deactivate the Dock...?
Authored by: S on Mar 01, '08 09:43:23AM

set dockActive to false
set dockPath to ":System:Library:CoreServices:Dock.app"

try
	dockPath as alias
	set dockActive to true
on error
	set dockActive to false
end try

if dockActive = false then
	do shell script "mv ~/System/Dock.app /System/Library/CoreServices/Dock.app; open /System/Library/CoreServices/Dock.app" user name "*" password "*" with administrator privileges
else
	do shell script "mv /System/Library/CoreServices/Dock.app ~/System/Dock.app; killall Dock" user name "*" password "*" with administrator privileges
end if


[ Reply to This | # ]
Launching Apps without the Dock
Authored by: sharumpe on Mar 27, '06 09:04:02AM
I use Quicksilver to launch applications. I prefer using the keyboard to do things (since my hands are already there) so QS works well for me. YMMV, of course.

[ Reply to This | # ]
Dock Tilesize
Authored by: C14ru5 on Apr 26, '04 05:36:44PM

Just out of curiosity, I've wondered if you could get the tilesize down to zero. I just tested it: Zero is not possible (resets to 16), but a tilesize of 1 works fine. Not that I can actually see anything, though...



[ Reply to This | # ]
Dock Tilesize
Authored by: taran on Apr 26, '04 09:27:47PM

I've used a size of .1 before.



[ Reply to This | # ]
Panicking my Kernals
Authored by: imaginary on Apr 27, '04 10:39:18AM

I don't know if it's related to this hint, but as soon as I changed my Dock via these parameters I got the Grey Screen of Death 4 times in a row (with about a minute of uptime between each crash). After the 4th, I quickly got my Dock back to its normal settings and after about 12 hours I haven't crashed yet (fingers crossed). 933MHz 14" iBook running 10.3.3



[ Reply to This | # ]
Making the dock as unobtrusive as possible
Authored by: chucky13 on Apr 27, '04 05:28:01PM

Hi,

I am new to this site, old-new to Macs, NEW to Mac OS X... I have to say, this hint helped me a lot! Well, yes, five minutes later I found that I can do part of this (what I need or want, not the whole thing) with Xsupport, a.k.a. Swiss Army Knife, but still... Thank You.



[ Reply to This | # ]
UPDATE: Making the dock as unobtrusive as possible
Authored by: CorpseCorps on Dec 20, '07 08:26:09PM

After having a look in the .plist for the dock to make sure it isn't too different, i gave this a try in Leopard (10.5.1).

The dock won't pin to the top of the screen, and regardless of tilesize being set to 1, it appears 11 pixels tall.

---
-- to be announced --



[ Reply to This | # ]