Posts Tagged With: lock

How to Lock and Unlock the Dock

Recently, I set up a Mac for my grandmother (yes, my grandmother, who is almost 90, has been gently coerced into using OS X and is doing better than a lot of much younger people I know). However, she had a few problems with what she called “programs disappearing from the side bit”. What was happening was that she was dragging icons out of the Dock by mistake, inevitably removing them from the Dock. So I locked the Dock to stop this happening.  And because it’s quite a handy thing to know, I thought I’d write a quick post about it.

The easiest way to do this is using the Terminal. For those who are unfamiliar with the Terminal there are really only 2 things I would mention about it.

1.) It is very powerful (it can destroy things if you are not careful) so make sure you are very clear about the commands you are using.

2.) It is very often the quickest and easiest way to execute a command cleanly.

So having said that, to work.

o

To Lock the Dock:

o
1.) Open Finder and go to Go > Utilities

o

2.) From the Utilities list choose Terminal

3.) In the Terminal type (or just copy and paste):

defaults write com.apple.dock contents-immutable -bool true

4.) Then restart the Dock with the new settings by typing:

killall Dock

The Dock is now locked.

o

To Unlock the Dock

o

You may find that from time to time you want to add/remove programs from the Dock. To do this simply repeat steps 1 and 2 above, then

3.) In the Terminal type the command above with “false” instead of “true”

defaults write com.apple.dock contents-immutable -bool false

4.) Restart the Dock (as above) using:

killall Dock

Now the Dock is unlocked.

[NOTE: If this doesn’t work for you try logging out and logging in again as Admin.]

Categories: Mac & OS X | Tags: , , , , , , , , , , , , , , , | 4 Comments

How to Show Mounted Drives on your Desktop by Default

It can be a problem remembering which discs are currently mounted and which ones you have unmounted (ejected).  When I first got my Macbook Pro I wasn’t used to unmounting things and was constantly removing external drives physically without thinking. 

This is not only annoying because of the nagging reminder

but it’s also bad for your Mac.

By default OS X does not show mounted drives on your desktop.

But I think having them visible is the easiest way to keep track of what you’ve got mounted.  Especially seeing as a drive can be unmounted but still physically plugged in to your Mac.  That way you can actually physically see the devices that need to be ejected.

o

So, to avoid the stupid “disk not ejected properly” extravaganza…

The solution is really simple – just set OS X to show all the drives which are mounted by default.

1.)  Click on Finder.

2.)  Go to Finder > Preferences

3.)  Select the drives you want to have visible.

I don’t actually have my “Hard disks” visible as I never mount or unmount internal HDs.  But with my current settings (above) all external items – phones, cameras, iPods, external HDDs, DVDs, CDs etc. – show up as icons on my desktop.

Now you can see exactly what’s going on with your drives. 

Plus you never have to see that annoying message ever again. 

Hooray!

Categories: Mac, Mac & OS X, Macbook Pro | Tags: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , | 1 Comment

Blog at WordPress.com.