Pinning dock in 10.1

jaysedai

Registered
Does anybody know what to put into the dock preferences file (com.apple.dock.plist) to force the dock to pin to one side of the screen? Apparently if you already had it pinned before upgrading to 10.1 it keeps the setting, but if you had it set to middle before upgrading, 10.1 throws out the preferences info.
 

kilowatt

mach-o mach-o man
Not posative, but I think its:
defaults write com.apple.dock pinning = left
or right or middle or whatever. Haven't tried it yet.. I'm lazy at 3am!

Try backing up your dock.app, and running DockLock, which patches the dock and provides a gui for dock orientation. I think docklock is avaliable at versiontracker.com
 

slur

Geek / Hedonist
In 10.1 you can pin the dock from the Dock preferences panel or control-clicking on the Dock and using the popup settings menu. If these aren't working in your copy of 10.1 then you have a technical problem.
 

Darkshadow

wandering shadow
No you don't - the Dock prefs or the contextual menu only have options for the orientation (on bottom of screen, on left side of screen, or on right side of screen), and doesn't have any options for the pinning.

The defaults command will work, though (without that = sign)

defaults write com.apple.dock pinning <i>(start, center, end)</i>

Pick one of those.
 

wyvern

Guest
Use Docking Maneuvers to enable the Pin menus in the controlclick-on-dock menu. Simple.
 

jaysedai

Registered
Darkshadow,

Thanks that worked perfectly.

wyvern,

I couldn't get Docking Maneuvers to work in 10.1, can you?
 

Red Phoenix

Registered
It's also an option in the 2.0 preview version of TinkerTool, which you can get at VersionTracker.com.
 

Red Phoenix

Registered
Orientation just says what side of the screen you have the dock on, such as left, bottom, or right. The pinning tells where on that side of the screen to put it, either top, centered, or bottom (for left and right orientations), or left, center, or right for the bottom orientation.

Since Apple has now included the ability to change the orientation, it is somewhat odd that they don't also include pinning. There seem to be some display problems with changing the pinning, and so this may be why.
 

Abakadoosh

Smiling 'till death
thanks for clearing that up. anyone know when the might include that option? or if they can?
 

walrusjb

Registered
At Freerange Mac:

http://homepage.mac.com/kfkel/

The latest version of transparent dock (which has been updated for 10.1 - BTW... have already run it myself) has options to add Pinning, a "Quit Dock" feature, etc. into the context menus for the dock alongside Apple's options for Orientation - quite smooth.
 

Darkshadow

wandering shadow
Oooh, good, was looking for something to make the Dock transparent again. VersionTracker was only listing one of the older TransparentDock releases yesterday when I checked.

And...you don't need any additional software with the 10.1 Dock to change the pinning. The defaults command works without any hacks made to it. 'Course if you want a menu for it, you'll still need to hack that in.
 

genghiscohen

Membrum virile
Rats! Can't get transparent dock to work for me. It quits "unexpectedly" on launch.
:(
 

Darkshadow

wandering shadow
Hmm, it worked fine for me just ten mins ago. Did you grab the 1.1b9 one? The older one I was trying out kept telling me the Finder couldn't handly types of this class - whatever the heck that one meant. Heh

Um, maybe try deleting it's pref file (HOME_DIR/Library/Preferences/TransparentDock.plist) - maybe an old setting in that is messing things up.
 

genghiscohen

Membrum virile
Yup, used the latest version. And I just did a wipe-and-install of the full version of 10.1, so there was no transparentdock.plist file.
Oh, well, I'll try again with the next version...:confused:
 

Darkshadow

wandering shadow
Hmm...did you download one of those two scripting additions the read me talks about? Maybe that would make a difference. I have the system.osax one. I didn't wipe my drive clean before I installed 10.1, so heck if I know what may or may not be different between our setups that allow the script to run for me and not for you.
 

genghiscohen

Membrum virile
I do have system.osax in /Library/ScriptingAdditions. But right now, I do not have Developer tools installed. Could that be the cause of my problem?
 

Darkshadow

wandering shadow
Hmm, I don't know. I do have the dev tools installed - I bought the retail version of 10.1 instead of getting the upgrade just so I could get the new dev tools. Heh

Perhaps that's the reason, but I don't know for sure.
 
Top