Lecter
10-29-2007, 06:06 PM
The whole background of the 3D dock in Leopard is one PNG image.
The image is found here: /System » Library » CoreServices » Dock. Control-click on the Dock file and select Show Package Contents from the pop-up menu. Once inside the dock's package contents, you need to go into the Resources folder. The dock's background image is called scurve.png (the letters (l/m/sm/xl) probably stand for large/medium/small and extra-large, respectively, and likely depend on the size you've set your dock on).
Copy scurve-l.png and place it somewhere so you know where it is and can edit it. I made a second copy of this as well, because you will have to replace the one in the package, and I wanted an original just in case. Fire up your favorite image editor that supports layer opacity. The reflection in the dock is actually a layer below the image you are editing, so the amount of opacity you set your image to in the image editor will determine how reflective your dock is when your all said and done.
Now you get to do your magic in Photoshop. I just changed mine to a solid black, and set the opacity to 70%, and saved it as a png. Any name for this file will do. I then dragged the saved png file to the Finder window I opened earlier. You want to place your new file into the same Resources folder as where the original resides. You will have to authenticate to tell the system that you are sure you want to put this new file in there.
Once you have your file where it needs to be, you'll need to fire up Terminal. Navigate to the Resources directory I mentioned earlier. In my case, I named my new dock file scurve-black.png, so I had to type in:
sudo mv scurve-black.png scurve-l.png
The general form of the command is sudo my newFile oldFile. To see the fruit of your labor, you'll have to restart your dock. Logging out should do it, or just "Force Quit" it from the activity monitor, or use killall Dock in Terminal.
103
You can change the left/right separator by modifying the various separator PNG files in the Resources folder.
For removal of the white outline on the 2d dock:
The right (left and bottom) placed flat look Dock uses a set of 5 images named right1.png -> right5.png to obfuscate their function (obviously the left Dock is left1.png -> left5.png and bottom is bottom1.png -> bottom5.png). These 5 images are for the top and bottom corners and the top, left and bottom edges.
You can turn the glossy shelf into the flat-background (like when the dock is left- or right- mounted) via these simple commands in the Terminal:
defaults write com.apple.dock no-glass -boolean YES
killall Dock
The image is found here: /System » Library » CoreServices » Dock. Control-click on the Dock file and select Show Package Contents from the pop-up menu. Once inside the dock's package contents, you need to go into the Resources folder. The dock's background image is called scurve.png (the letters (l/m/sm/xl) probably stand for large/medium/small and extra-large, respectively, and likely depend on the size you've set your dock on).
Copy scurve-l.png and place it somewhere so you know where it is and can edit it. I made a second copy of this as well, because you will have to replace the one in the package, and I wanted an original just in case. Fire up your favorite image editor that supports layer opacity. The reflection in the dock is actually a layer below the image you are editing, so the amount of opacity you set your image to in the image editor will determine how reflective your dock is when your all said and done.
Now you get to do your magic in Photoshop. I just changed mine to a solid black, and set the opacity to 70%, and saved it as a png. Any name for this file will do. I then dragged the saved png file to the Finder window I opened earlier. You want to place your new file into the same Resources folder as where the original resides. You will have to authenticate to tell the system that you are sure you want to put this new file in there.
Once you have your file where it needs to be, you'll need to fire up Terminal. Navigate to the Resources directory I mentioned earlier. In my case, I named my new dock file scurve-black.png, so I had to type in:
sudo mv scurve-black.png scurve-l.png
The general form of the command is sudo my newFile oldFile. To see the fruit of your labor, you'll have to restart your dock. Logging out should do it, or just "Force Quit" it from the activity monitor, or use killall Dock in Terminal.
103
You can change the left/right separator by modifying the various separator PNG files in the Resources folder.
For removal of the white outline on the 2d dock:
The right (left and bottom) placed flat look Dock uses a set of 5 images named right1.png -> right5.png to obfuscate their function (obviously the left Dock is left1.png -> left5.png and bottom is bottom1.png -> bottom5.png). These 5 images are for the top and bottom corners and the top, left and bottom edges.
You can turn the glossy shelf into the flat-background (like when the dock is left- or right- mounted) via these simple commands in the Terminal:
defaults write com.apple.dock no-glass -boolean YES
killall Dock