A replacement icon for Sublime Text 2
Adapted by Daniel Matarazzo from an icon by Lindsay Mindler
Open the following folder:
open /Applications/Sublime\ Text\ 2.app/Contents/Resources/
Find the file Sublime Text 2.icns
and replace with the one from this repository. The name needs to remain exactly the same.
If you want to replace the built-in document icons as well, copy all the .icns files from this project's Document Icons
folder to the same folder as above. Doing so will overwrite the application's default icons, so you may want to back them up in case you'd like to restore them.`
Additionally, there's a bash script that will do all of the above, with a little trick to force reloading the application icons. With Sublime closed, from this project's folder, run:
./mac_replace_icons
You can also just double click on the 'mac_replace_icons' script, and it will run in terminal. Because it uses sudo, you'll need to put in your password.
Download ResEdit
- Navigate to the installation folder for Sublime Text 2 (this should be in C:\Program Files\Sublime Text2). Copy
sublime_text.exe
to your desktop.* - Run ResEdit, choose
File > Open Project ...
. Select thesublime_text.exe
you copied to your desktop. - In the Resources pane of ResEdit, right-click the Icon folder and choose
Add Resource > Icon...
. - Navigate to the folder containing the
sublime_text.ico
file. Add it. - Right-click the icon named
103 [English (Australia)]
, selectRemove from Project
. - Save.
- Copy the
sublime_text.exe
on your desktop back to the Program Files folder from step 1.
- The Program Files folder is protected. You need to move the exe out of this folder to edit it.
- Download this repository
- Open a terminal,
cd
to wherever you downloaded the repository to. - Unzip the repository:
unzip REPOSOITORY_NAME.zip
cd
into the repository folder.- Run the Ubuntu Installation Script
./ubuntu_replace_icons
- Ha! Run it as root.