Created
January 9, 2015 06:23
-
-
Save phackwer/d95f46d75d7c6e5657c0 to your computer and use it in GitHub Desktop.
Alterando ícones do Mac
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Faça download | |
http://decompositionbeauty.deviantart.com/art/Black-Leopard-Icon-Set-UPDATE-69590061 | |
// Go to /System/Library/CoreServices/CoreTypes.bundle/Contents/Resources folder | |
// where system icons are located. | |
$ cd /System/Library/CoreServices/CoreTypes.bundle/Contents/Resources/ | |
// Backup the icns file for generic folder icon. | |
$ sudo cp GenericFolderIcon.icns GenericFolderIcon.org.icns | |
// Move the icns file to your home folder and go there. | |
$ sudo mv GenericFolderIcon.icns ~/ | |
$ cd ~/ | |
// Change file owner (from root to user). | |
$ sudo chown [user name] GenericFolderIcon.icns | |
// Open GenericFolderIcon.icns in Finder, then Preview is launched. | |
// Choose "Tools" => "Adjust Colors..." (shift+⌘+C), and adjust image's color as you want. | |
// In the following image, Saturation is decreased. | |
// Note that GenericFolderIcon.icns contains 10 images, and you should edit all of them. | |
// Save the file (⌘+S). | |
// Locate the icns file to /System/Library/CoreServices/CoreTypes.bundle/Contents/Resources folder. | |
$ cd /System/Library/CoreServices/CoreTypes.bundle/Contents/Resources/ | |
$ sudo mv ~/GenericFolderIcon.icns ./ | |
// Change file owner and group, and remove Extended Attributes. | |
$ sudo chown root GenericFolderIcon.icns | |
$ sudo chgrp wheel GenericFolderIcon.icns | |
$ sudo xattr -d com.apple.quarantine GenericFolderIcon.icns | |
// Clear the icon cache. | |
sudo find /private/var/folders/ -name com.apple.dock.iconcache -exec rm {} \; | |
sudo find /private/var/folders/ -name com.apple.iconservices -exec rm -rf {} \; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment