Moving where applications open in dock

Joined
Jul 2, 2012
Messages
4
Reaction score
0
Points
1
Is there a way to move where the applications open on the dock? Right now they open to the left of the documents, but what if when I opened an application I wanted it to open to the right of the documents?

Screen%20Shot%202012-07-02%20at%204.29.23%20AM.png
 
Joined
Jul 30, 2009
Messages
7,298
Reaction score
302
Points
83
Location
Wisconsin
Your Mac's Specs
Mac Mini (Late 2014) 2.6GHz Intel Core i5 Memory: 8GB 1600MHz DDR3
Is there a way to move where the applications open on the dock? Right now they open to the left of the documents, but what if when I opened an application I wanted it to open to the right of the documents?

[/QUOTE]

Just curious; why?
 

chscag

Well-known member
Staff member
Admin
Joined
Jan 23, 2008
Messages
65,248
Reaction score
1,833
Points
113
Location
Keller, Texas
Your Mac's Specs
2017 27" iMac, 10.5" iPad Pro, iPhone 8, iPhone 11, iPhone 12 Mini, Numerous iPods, Monterey
Like chas stated, you can't have programs opening in the Dock to the RIGHT of the Dock separator. That area is reserved for folders - Documents, Applications, Games, and so forth.
 
Joined
Jul 30, 2009
Messages
7,298
Reaction score
302
Points
83
Location
Wisconsin
Your Mac's Specs
Mac Mini (Late 2014) 2.6GHz Intel Core i5 Memory: 8GB 1600MHz DDR3
I am of the thought "why not?"

thanks

Well, "If it ain't broke, don't "fix" it."

So then, why?

At least I have pretty good answer. What's yours?
 
OP
J
Joined
Jul 2, 2012
Messages
4
Reaction score
0
Points
1
are we about to throwdown?

na j/k

just like customizing things to fit my personal preference. I understand this is a big topic and apple does know how to design quite well whether it be the iPhone or the macbook pro but at the end of the day it's my computer and I feel if I want something on the left then I at least should have the option.
 

vansmith

Senior Member
Joined
Oct 19, 2008
Messages
19,924
Reaction score
559
Points
113
Location
Queensland
Your Mac's Specs
Mini (2014, 2018, 2020), MBA (2020), iPad Pro (2018), iPhone 13 Pro Max, Watch (S6)
A lot of naysayers in here! You gents need to get more familiar with the command line. ;)

So, after some fooling around, I found a command that will accomplish what you want...sort of. It will add the application to the right but when you click it, you won't get the blue dot underneath it nor will you be able to move it. The reason for this is simple (this is a theory based on the structure of the plist file that holds the values for the Dock) - the launchers on the right are part of a set that aren't interpreted as launchers in the same sense as the left side ones are. If we look at the icons on the right, this begins to make sense - stacks and the Trash behave very differently than the application launchers on the left.

Anyway, enough of the theory/explanation. To do this, you'll need to open up Terminal (/Applications/Utilities). Once open, execute the following to copy your current plist to the Desktop:
Code:
cp ~/Library/Preferences/com.apple.dock.plist ~/Desktop/
This will keep a copy of the working plist file on your Desktop just in case something goes wrong.

Next, copy the following but do not hit enter (yet):
Code:
defaults write com.apple.dock persistent-others -array-add '<dict><key>tile-data</key><dict><key>file-data</key><dict><key>_CFURLString</key><string>[COLOR="Red"]/Applications/Mail.app[/COLOR]</string><key>_CFURLStringType</key><integer>0</integer></dict></dict></dict>' ; killall Dock
The part that is in red needs to be changed. You need to replace that with the full path to the application that you want on the right side. Once you've made that change, hit enter and enjoy.

If something goes wrong, execute the following to copy back your original Dock plist and relauch the Dock:
Code:
mv ~/Desktop/com.apple.dock.plist ~/Library/Preferences/ ; killall Dock

To be fair, this is an adaptation of this tip and it's not one of my own devising. I tried to do it on my own by analyzing the Dock plist but it didn't go so well. ;)

EDIT: It might be possible to move them around if you have a plist editor installed (if you installed Xcode, you've got one).
 

dtravis7


Retired Staff
Joined
Jan 4, 2005
Messages
30,133
Reaction score
703
Points
113
Location
Modesto, Ca.
Your Mac's Specs
MacMini M-1 MacOS Monterey, iMac 2010 27"Quad I7 , MBPLate2011, iPad Pro10.5", iPhoneSE
Van, Steve Jobs just called me from his Grave and is VERY unhappy as you posting that info! He will pay you a visit tonight at 12 Midnight! :D Grin

Not good to mess with Steve's ideas, even though he is not with us anymore! :D
 

vansmith

Senior Member
Joined
Oct 19, 2008
Messages
19,924
Reaction score
559
Points
113
Location
Queensland
Your Mac's Specs
Mini (2014, 2018, 2020), MBA (2020), iPad Pro (2018), iPhone 13 Pro Max, Watch (S6)
Things are meant to be tinkered with. ;)
 

Slydude

Well-known member
Staff member
Moderator
Joined
Nov 15, 2009
Messages
17,612
Reaction score
1,078
Points
113
Location
North Louisiana, USA
Your Mac's Specs
M1 MacMini 16 GB - Ventura, iPhone 14 Pro Max, 2015 iMac 16 GB Monterey
Things are meant to be tinkered with. ;)

That sounds suspiciously close in spirit to the motto of the Red Green Show.
We now come to the part of the show called "If it ain't broke, you're not trying!"
 

robduckyworth


Retired Staff
Joined
Jan 4, 2011
Messages
2,971
Reaction score
109
Points
63
Location
Reading, UK
Your Mac's Specs
15" MBP, 2.5GHz i7, 750GB, 6770M 1GB, iPad 3, iPhone 4, custom PC
Classic vansmith. Takes an almost pointless idea and runs with it ;)
 

dtravis7


Retired Staff
Joined
Jan 4, 2005
Messages
30,133
Reaction score
703
Points
113
Location
Modesto, Ca.
Your Mac's Specs
MacMini M-1 MacOS Monterey, iMac 2010 27"Quad I7 , MBPLate2011, iPad Pro10.5", iPhoneSE
Classic vansmith. Takes an almost pointless idea and runs with it ;)

That is our Van! :D Grin

I am impressed though he actually found a way around it! That is impressive.
 

vansmith

Senior Member
Joined
Oct 19, 2008
Messages
19,924
Reaction score
559
Points
113
Location
Queensland
Your Mac's Specs
Mini (2014, 2018, 2020), MBA (2020), iPad Pro (2018), iPhone 13 Pro Max, Watch (S6)
Joined
Jul 30, 2009
Messages
7,298
Reaction score
302
Points
83
Location
Wisconsin
Your Mac's Specs
Mac Mini (Late 2014) 2.6GHz Intel Core i5 Memory: 8GB 1600MHz DDR3
'Tis what I do best my good man. Why should problems be left unsolved?

Rather, why should problems be invented?

To the OP: Good luck. Many a customization gone awry proves not to have been worth the effort. Naysayer? Naw, just cautious.
 

vansmith

Senior Member
Joined
Oct 19, 2008
Messages
19,924
Reaction score
559
Points
113
Location
Queensland
Your Mac's Specs
Mini (2014, 2018, 2020), MBA (2020), iPad Pro (2018), iPhone 13 Pro Max, Watch (S6)
Rather, why should problems be invented?
Science and knowledge itself wouldn't be what it was if people didn't "invent" problems. ;)
 
Joined
Jul 30, 2009
Messages
7,298
Reaction score
302
Points
83
Location
Wisconsin
Your Mac's Specs
Mac Mini (Late 2014) 2.6GHz Intel Core i5 Memory: 8GB 1600MHz DDR3

vansmith

Senior Member
Joined
Oct 19, 2008
Messages
19,924
Reaction score
559
Points
113
Location
Queensland
Your Mac's Specs
Mini (2014, 2018, 2020), MBA (2020), iPad Pro (2018), iPhone 13 Pro Max, Watch (S6)
How is "knowledge" a different context? Learning isn't exclusive to any particular domain.
 
OP
J
Joined
Jul 2, 2012
Messages
4
Reaction score
0
Points
1
Thanks vansmith, that script works but the app is present all the time. I was hoping to only have them open over to the right then disappear when I closed the app. I've since settled for what I've got. Thanks man!!!! you rock.
 

Shop Amazon


Shop for your Apple, Mac, iPhone and other computer products on Amazon.
We are a participant in the Amazon Services LLC Associates Program, an affiliate program designed to provide a means for us to earn fees by linking to Amazon and affiliated sites.
Top