Locking the Dock to prevent tampering

Is there a way to lock the Dock? My young son seems to enjoy dragging the icons off the dock and watching them go "poof."
Thanks,
Mark

Yes and no. Go to User Name>Library>Preferences. Click on the file "com.apple.dock.db" and press command+I for Get Info. Check the box that have "lock" next to it. Close everything. Now if your son drag things out you can get it back after you log out and log back in (that's sort of the "no" part as you have to log out of the system to get it back). You can hide the dock so that your son doesn't know where it went. Press optioncommandD to hide and unhide the dock.

Similar Messages

  • Is There A Way To LOCK Items To The Dock (to prevent accidental drag off)

    Is there a way to lock items to the dock to prevent accidentally dragging them off? Every now and then, I'll accidentally drag something I just meant to click (really, I click too hard while moving my mouse) and I'll see a POOF as the icon disappears... which means I have to dig for it in the finder and replace it. D'oh!

    run the following terminal command
    defaults write com.apple.dock contents-immutable -bool true; killall Dock
    to unlock it change true to false in the command.

  • Locking the Dock

    Is there anyway to lock the dock... for example lock it on genie effect and lock the apps in the dock. If i try using parental controls it won't let me. "Can't turn of parental controls for an administrator user or a network account". Is there a workaround or some third party app that will let me do this ?
    Thanks for the help

    thanks for the help... basically I'm a designer at a tv station and overnights folks love to come in here and play, need i say more So I was just looking for some simple steps to prevent things from being changed. I'm trying to do this as a clandestine operation so the IS dept doesn't have to get involved. I'm not sure if changing accounts would screwup the network connections or not ?

  • I use 2 monitors how can I lock the dock to keep it from sliding over to next monitor?

    I use 2 monitors how can I lock the dock to keep it from sliding over to next monitor?

    I found the answer in the "more like this" area.  Thanks for helping.

  • Any way to lock the dock?

    Is there any way to lock the dock so it can't be changed? Every so often one of my kids drags an icon from the dock and I have to add it again.

    and here is an apple script to toggle the lock on Dock on/off. Paste it into Script Editor and save it as an application.
    <pre style="
    font-family: Monaco, 'Courier New', Courier, monospace;
    font-size: 10px;
    margin: 0px;
    padding: 5px;
    border: 1px solid #000000;
    width: 720px;
    color: #000000;
    background-color: #ADD8E6;
    overflow: auto;"
    title="this text can be pasted into the Script Editor">
    try
    set x to do shell script "defaults read com.apple.dock contents-immutable"
    if (x is equal to "0") then
    do shell script "defaults write com.apple.dock contents-immutable -bool true; sleep 1; killall Dock"
    else
    do shell script "defaults write com.apple.dock contents-immutable -bool false; sleep 1; killall Dock"
    end if
    on error
    do shell script "defaults write com.apple.dock contents-immutable -bool true; sleep 1; killall Dock"
    end try
    </pre>

  • Cannot lock the page to prevent other users from editing it. Please try again later. Error with ASP pages

    Cannot lock the page to prevent other users from editing it.
    Please try again later.
    I get t his error when I try to edit ASP pages on my web
    server, I have all admin rights, anyone know a fix for this?

    App Store support. There is troubleshooting and a contact link.
    Support

  • Lock the Dock?

    I am setting up an iMac with Tiger for my grandparents. Is there a way for me to "LOCK the items on the dock" so that they can not drag them off to a poof? I would hate do have to go over there and have to put stuff back on the dock all the time.
    They will be using the machine for internet only, so I don't need anything unnecessary on the dock. The simpler the better!!
    Suggestions?

    Log in on an admin account, then in System Preferences, go to the Accounts preferences. Click the lock at the bottom of the window, type your admin password, and then click on the account you want your grandparents to use. Select the Parental Controls tab, then configure how you like. The ability to modify the dock is in the Finder & System controls, and if you activate those controls, it is off by default.

  • How do I 'lock the keyboard' to prevent any more keypresses being sent on X11/Linux/Gnome?

    I am writing an anti-RSI/typing break programme for Ubuntu Linux in python. I would like to be able to "lock the keyboard" so that all keypresses are ignored until I "unlock" it. I want to be able to force the user to take a typing break.
    I would like some programmatic way to "turn off" the keyboard (near instantaneously) until my programme releases it later (which could be 0.1 sec → 10 sec later). While I have "turned off the keyboard", no key presses should be sent to any
    windows, window managers, etc. Preferably, the screen should still show the same content. The keyboard should be locked even if this programme is not at the forefont and does not have focus.
    Some programmes are able to do this already (e.g. Work Rave)
    How do I do this on Linux/X11? (Preferable in Python)

    class KeyboardLocker:
    def __init__(self, serio=0):
    self._on = False
    self.serio = serio
    def on(self):
    return self._on
    def write_value(self,path, value):
    with open(path, "a") as f:
    f.write(value)
    def toggle(self):
    if self.on():
    self.turn_off()
    else:
    self.turn_on()
    def description(self):
    path = '/sys/devices/platform/i8042/serio%d/description' % (self.serio,)
    with open(path, "r") as f:
    description = f.read()
    return description
    def turn_on(self):
    try:
    self.write_value('/sys/devices/platform/i8042/serio%d/bind_mode' % (self.serio,),
    'auto')
    except IOError, e:
    self._on = False
    raise
    else:
    self._on = True
    return self.on()
    def turn_off(self):
    try:
    self.write_value('/sys/devices/platform/i8042/serio%d/bind_mode' % (self.serio,),
    'manual')
    self.write_value('/sys/devices/platform/i8042/serio%d/drvctl' % (self.serio,),
    'psmouse')
    except IOError, e:
    self._on = True
    raise
    else:
    self._on = False
    return self.on()
    if __name__ == "__main__":
    kl = KeyboardLocker(serio=0)
    device = kl.description()
    print "We got a lock on", device
    proceed = raw_input("Do you want to proceed? (y/n)").lower().startswith("y")
    import sys
    if not proceed: sys.exit(1)
    kl.turn_off()
    import time
    wait = 5
    print "Sleeping few seconds...", wait
    time.sleep(wait)
    print "Voila!"
    kl.turn_on()
    raw_input("Does it work now?")
    Tested on Linux Mint 12, X11, HP Laptop, Gnome. Not sure if any of that matters though :)
    UPDATE Added an option to change the path, e.g. "serio0" or "serio1". And prints the description, for me serio0 gave me: i8042
    KBD port, most likely if you have "KBD" in it, it's right, continue, otherwise I give you no guarantee :)

  • FW CS6 on Mac: how can I lock the docks with the canvas?

    I like the way all of my docs migrate from screen to screen all together when I use Dreamweaver and I seem to recall Fireworks CS5 on a PC behaved the same way. I use a MacBook Pro with an extra display at home and at work and would really like all of my panels, tool, and properties palettes to remain attached to the canvas—unless I undock a set of functions.
    Here's what I found in the Help section:
    Note: Dreamweaver does not support docking and undocking Document windows. Use the Document window’s Minimize button to create floating windows (Windows), or choose Window > Tile Vertically to create side-by-side Document windows. Search “Tile Vertically” in Dreamweaver Help for more information on this topic. The workflow is slightly different for Macintosh users.
    But... where IS that info for Macs?
    Anyone else have a workaround?
    Thanks!

    Yeah, I think part of what you're noticing is the difference in UI between Adobe applications on Mac versus Windows. Macs have traditionally had the floating window approach, which allows for visualization and interaction with elements beneath—like the Desktop or other applications—whereas Windows have a more integrated, full-screen UI. I haven't used a Windows OS in a while, but I remember how jarring it was having first learned Dreamweaver on Windows, and then using that same app on the Mac.
    I believe the Application Frame feature may have been developed to address that difference. Here's the excerpt from "Workspace basics" describing the feature:
    The Application frame groups all the workspace elements in a single, integrated window that lets you treat the application as a single unit. When you move or resize the Application frame or any of its elements, all the elements within it respond to each other so none overlap. Panels don’t disappear when you switch applications or when you accidentally click out of the application. If you work with two or more applications, you can position each application side by side on the screen or on multiple monitors.
    If you are using a Mac and prefer the traditional, free-form user interface, you can turn off the Application frame. In Adobe Illustrator®, for example, select Window > Application Frame to toggle it on or off. (In Flash, the Application frame is on permanently for Mac, and Dreamweaver for Mac does not use an Application frame.)
    So is this solution working for you? I cannot think of any other way to dock all the panels and windows as a single unit.

  • How can I lock the object in my dock?

    Members in my family continue to accidently drag objects off the dock on my powerbook by accident.
    How can I "lock the dock"?
    Thanks.

    You can't. This is a real problem when you accidentally drag 300+ files onto an application icon but miss...
    Matt

  • Terminal command to lock and unlock the dock?

    Hello,
    I manage hundreds of iMacs running Yosemite at a school site.  I use parental controls with the lock dock feature turned on.  I would like to periodically unlock the dock to customize it with new icons, but have not found a terminal command that works, or a streamlined process that is time efficient.
    So far I have been individually unlocking the dock in parent controls on each machine, restarting, editing the dock, then re-locking it parental controls, then restarting.  This takes 5-10 minutes per machine). 
    I also tried this command but it didn't work.
    defaults write com.apple.dock contents-immutable -bool true; killall Dock;
    I also tried cloning the parental controls with an exported plist file to all the machines using ARD, which works for all the parental control settings EXCEPT for the lock dock feature.
    Any ideas?
    Cheers,
    Crystal

    Sorry this is probably too late for you, but it may help others seeking this answer, I just had this problem [Mac OS x Yosemite 10.10.2] and found that the following worked for me:
    1. Use Terminal to LOCK the Dock by C&P or typing in:
    defaults write com.apple.dock contents-immutable -bool true
    Then use your preferred method to Log-Out [e.g. Key Combo ⇧⌘Q or  [Top Left Menu] then select Log Out “name”]
    and then Log-In again.
    2. Use Terminal to UNLOCK the Dock by C&P or typing in:
    defaults write com.apple.dock contents-immutable -bool false
    Then use your preferred method to Log-Out [e.g. Key Combo ⇧⌘Q or  [Top Left Menu] then select Log Out “name”]
    and then Log-In again.
    NB. You will be solely responsible for your actions making changes to the Operating System.

  • I had my iPhone stolen and I wonder if I would be possible to completely lock the device, preventing the thief turned the phone again?

    I had my iPhone stolen and I wonder if I would be possible to completely lock the device, preventing the thief turned the phone again?

    You can lock the device to prevent them from getting to your personal information if you set up mobileme, but unfortunately all the theif has to do is a forced restore and set up as new, get a new SIM and use it.

  • Can't remove items from the dock

    Hey,
    i'm having this problem for quite some time, and it's starting to annoy me.
    When i try to remove something from my dock, lets say safari, for example, the dock auto reloads and the safari icon appears again. I tried to remove it dragging it out of the dock, using the "Remove from dock" right-click option and dragging it to the trash. It always reloads the dock automatically.
    I joke around with the dock appearance a while back, but dont know what i did wrong to create this issue.
    Anyone knows what's going on?
    Thanks in advance
    Sergio

    I dont think so, but i'll sure look into that. I'll post back if i find anything. Thanks
    Edit: After looking for some dock locking programs, i noticed that this programs lock the dock, not allowing to insert new items on it. As i can insert new things there i assume its not one. I've also searched for some programs like transparentDock and such, but nothing showed up so i guess thats not the problem.
    Message was edited by: Nearra

  • Is it true that after updating to iOS7 I can no longer click the home button once from the home screen to lock the phone? I was in the habit of clicking the home button once to return to the home screen and then click it again to lock the phone.

    This was a very convenient way of locking the phone to prevent inadvertantly opening an app or making a call when putting the phone in my pocket. Now it seems like I have to use my other hand to press the sleep/wake button on the top right.

    No such function has ever existed.  Doing what you suggest used to take you to Spotlight search, which is not required now as that can be accessed on every home screen with a pull-down.

  • Lock finder sidebar to prevent accidental deletion

    Somehow I occasionally drag an item from the Finder sidebar thus deleting it. Is there any way to lock the sidebar to prevent accidental deletions. I want to still be able to unlock it to add or remove items.

    It appears you have been using Apple computers for a while (according to your profile), so you most likely already know that when things get accidentally dragged off the Finder sidebar, they are not actually deleted. All items in the sidebar are only aliases, and still reside where you originally saved them.
    Like I say, I bet you already know that.
    As to your question, I did a quick Google search for "apple finder sidebar lock" and found a bunch of hits (including this post). Since you are the one with the question, I'll let you do the looking. Or maybe one of the resident geniuses will know.
    Good luck.
    Arch

Maybe you are looking for

  • In iMovie, I want to select 1 minute out of a 12 minute clip, but I can't see any times anywhere when I'm trimming the clip, help?

    When I'm trimming, all I see is 1.2, 1.3 minutes, etc. I need a clock, which seems like a simple ask to me. Find where the clip is at 1min33secs and grab from there to 2min50secs. Can this be done???

  • Can't Search PDFs in Bridge CS4??

    I was considering using Bridge CS4 to manage my thousands of PDF documents, but have run across a problem on Win 7 64-bit.  Searching the fulltext of PDFs in bridge always yields no documents -- even if I choose to use Windows Search.   I have the pr

  • (Urgent) Dynamically created buttons: which one?

    I need to dynamically create an array of gridpanels. There is a button and some other components on each gridpanel. I need to implement an action handler for the button (using method binding). But how do I know which button fires the event? Thanks a

  • ICal freezes and I must force quit

    Can not get iCal to work at all. It will launch and then will immediatly freeze and I have to force quit. It's been a few days like this so I've restarted numerous times, checked my activity monitor, confirmed that I have Helvetica installed, turned

  • Reinstall downloaded app

    I installed Modern Combat: Domination on my iMac. Somehow I accidentally deleted it from my Mac. How do you reinstall this from the App Store? I went back but the status only shows