image
image

Go Back   macosx.com > Mac Help Forums > Mac OS X System & Mac Software

Reply
 
Thread Tools
  #1  
Old April 25th, 2006, 11:15 AM
Registered User
 
Join Date: Dec 2005
Location: Cheshire, UK
Posts: 311
Thanks: 0
Thanked 0 Times in 0 Posts
SatCure is on a distinguished road
Red face Lock the Dock?

My dear old Mum keeps accidentally dragging icons out of the dock (poof!)

Also, some disabled users have the same problem.

I don't think there's anything out there that can "lock" icons in the dock (shame) so has anyone got any suggestions?

Bear in mind that my Mum is 78 and struggles to cope with anything new or different.
Reply With Quote
  #2  
Old April 25th, 2006, 11:57 AM
sirstaunch's Avatar
Registered User
 
Join Date: May 2005
Location: Australia
Posts: 510
Thanks: 0
Thanked 0 Times in 0 Posts
sirstaunch is on a distinguished road
LOL

My mum is 72, and some how the apps end up in the trash etc, until I set her up as a user and not an admin, so trashing things she can't from not knowing the password. But as for the dock? Good question!

Is the Dock protected from non admin users?
__________________
PowerPC5200 48mb 80mhz OS8.6
PowerPC7500 192mb 180mhz OS9.2.2
eMac 1.42ghz (now) 1GIG Ram (just added extra 512mb 30/8/07) OSX10.4.10
It Keeps Getting Better!!!
Reply With Quote
  #3  
Old April 25th, 2006, 03:57 PM
CJ MAC OSX IPOD's Avatar
Charlie
 
Join Date: Apr 2005
Location: Essex, England
Posts: 682
Thanks: 11
Thanked 1 Time in 1 Post
CJ MAC OSX IPOD is on a distinguished road
Quote:
Originally Posted by sirstaunch
Is the Dock protected from non admin users?
Yes you can make a restricted user with only that restriction

Sys Prefs --> Accounts --> + --> Enter Details in --> Parental controls --> Configure --> Some Limits --> Tick All But Modify Dock.

No worries
__________________
iMac G5 1.8GHz 1GB Ram
Powermac G4 - 2x1.0GHz 4GB Ram (work)
Powermac G4 - 800MHz 2GB Ram
2xPowermac G3 400Mhz 512MB Ram
Xbox360 Replaced Xclamps, Fan upgrade, Heatsinks added. Xbox 1 Executer 3 250GB HD
Reply With Quote
  #4  
Old April 25th, 2006, 06:35 PM
Registered User
 
Join Date: May 2005
Posts: 1,339
Thanks: 0
Thanked 1 Time in 1 Post
barhar is on a distinguished road
'... --> Configure --> ...', in 'Tiger' (macOS X 10.4.x), should be '--> check box of 'Finder.app & System' --> Configure... -->'.
I like the idea of locking an account's 'Dock's items. After creating such an account, I looked around; but, was unable (in the short time period) to note how Apple locked the 'Dock's items. It would be nice to know and be able to incorporate.

----

A quick solution.

01. Copy ('Safari's 'Edit, Copy' menu item, or 'Command C') the next (single ) line of code ...

do shell script "cp $HOME/Library/Preferences/com.apple.dock.plist $HOME/Library/Preferences/com.apple.dock_.plist"

02. Launch 'Script Editor' ('/Applications/AppleScript/' folder), and do a 'Paste' ('Script Editor's 'Edit, Paste' menu item, or 'Command V').

03. Select 'Script Editor's 'File, Save' menu item ('Command S'), and select 'application' from the 'File Format:' popup menu.

[
Added 26.04.2006

If, by chance, the 'Options:' 'Startup Screen' check box has a check mark, click on the check box to remove the check mark.
]

04. Title the application 'Dock_copier' in the 'Save As:' text edit field, and do a 'Command D' - which will direct 'Script Editor' to save the application to your 'Desktop'.

05. Click the 'Save' button.

Repeat steps 01. through 05. (ignoring the launching of 'Script Editor') with respect to the code below ...

do shell script "cp $HOME/Library/Preferences/com.apple.dock_.plist $HOME/Library/Preferences/com.apple.dock.plist; killall Dock"

... and (in step 04.) titling the application 'Dock_restorer'.

06. Drag the two applications ('Dock_copier' and 'Dock_restorer') to the upper right hard disk drive icon (the boot drive), then double click on the hard disk drive icon (to open its respective window). Naturally, you are free to move the files anywhere you prefer.

07. (Optional) Drag the two applications ('Dock_copier' and 'Dock_restorer') to the 'Dock'.

-----

Summary:

'Dock_copier' will create a copy of 'com.apple.dock.plist' and title it 'com.apple.dock_.plist'.
'Dock_restorer' will replace 'com.apple.dock.com' with a copy of 'com.apple.dock_.plist, and restarts the 'Dock'.

How to use:
Once your mother or you have the 'Dock' as desired, click on the 'Dock's 'Dock_copier' or double click on the 'Dock_copier' application. A backup of 'com.apple.dock.plist' will be created.

At anytime should your mother accidently remove an item or items from the 'Dock', all she or you has to do is click on (the 'Dock's) 'Dock restore'. If 'Dock restore' was accidently removed from the 'Dock' - all one has to do is locate and double click on the 'Dock_restorer' application.

As time goes by and items are added and / or removed from the 'Dock', all your mother or you has to do - is click on the 'Dock's 'Dock_copier' or double click on the 'Dock_copier' application.

Last edited by barhar; April 26th, 2006 at 08:53 AM.
Reply With Quote
  #5  
Old April 26th, 2006, 12:11 AM
sourcehound's Avatar
Registered User
 
Join Date: Aug 2005
Posts: 210
Thanks: 0
Thanked 0 Times in 0 Posts
sourcehound is on a distinguished road
Try Mac HelpMate

Quote:
Originally Posted by CJ MAC OSX IPOD
Yes you can make a restricted user with only that restriction

Sys Prefs --> Accounts --> + --> Enter Details in --> Parental controls --> Configure --> Some Limits --> Tick All But Modify Dock.

No worries
You can also try my utility, Mac HelpMate - it has an option to lock the Dock.

http://www.versiontracker.com/dyn/moreinfo/macosx/28430
__________________
Sourcehound, author of HelpMate: http://www.macworkshops.com/machelpmate
ACSA, ACTC, MCP, A+, APP
Mac OS X IT Trainer & Consultant
http://www.macworkshops.com
MacTech Magazine Columnist
http://www.mactech.com
Reply With Quote
  #6  
Old April 26th, 2006, 08:01 AM
Registered User
 
Join Date: May 2005
Posts: 1,339
Thanks: 0
Thanked 1 Time in 1 Post
barhar is on a distinguished road
Based on use of sourcehound's 'Mac HelpMate', here are two additional AppleScript code lines.

Code to 'lock' the 'Dock' ...

do shell script "defaults write com.apple.dock contents-immutable -bool Yes; killall Dock"

... save the code as an application (see the process steps of my first reply) and title it something like - 'Dock_locker'

Code to 'unlock' the 'Dock' ...

do shell script "defaults write com.apple.dock contents-immutable -bool No; killall Dock"

... save the code as an application and title it something like - 'Dock_unlocker'

----

Summary:

'Dock_locker' will prevent items being added to / or removed from the 'Dock'. One can still drag items to a 'Dock' based folder or volume.
'Dock_unlock' will allow items to be added to / or removed from the 'Dock'.

-----

A quick (hopefully - 'objectively' taken) observation of 'Mac HelpMate' - only from using the 'Pref' tab's features.

The popup menus do not reflect the current (actually saved) state of the selectable options.
An example - I can have the 'Dock' oriented anywhere (left, right, and even top), Pinning set to 'start', and Minimization set to 'Scale'; but, 'Mac HelpMate's 'Pref' tab's panel will allows display 'Orientation' as 'bottom', 'Dock Pinning' as 'middle', 'Set my Window Minimization Effect to:' as 'Suck', etc. It is as if 'Mac HelpMate' does not view the 'com.apple.dock.plist' file, and set the respective popup menus accordingly.

'TinkerTool's 'Dock' tab's popup menus do reflect the 'com.apple.dock.plist' setting when launched.

Last edited by barhar; April 26th, 2006 at 09:09 AM.
Reply With Quote
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
lock the dock? rhaneski Mac OS X System & Mac Software 13 January 28th, 2006 01:04 PM
Locking Dock Icons to the Dock? Browni Mac OS X System & Mac Software 2 September 26th, 2003 05:24 PM
How Do I Lock The HD? BIGDOGquake3 Mac OS X System & Mac Software 4 May 13th, 2003 11:42 PM
Lock the Dock theCaptain Mac OS X System & Mac Software 3 January 31st, 2002 08:12 PM
Fire DOCK!! and editing the dock mschmidt Mac OS X System & Mac Software 5 November 30th, 2001 10:47 PM


All times are GMT -5. The time now is 09:27 AM.


Mac Support® Version 3.7.2
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.1.0
Copyright 2000-2008 DigitalCrowd, Inc.