Where are color presets stored?

4,399 views
Skip to first unread message

Kelly Robinson

unread,
Jun 16, 2012, 2:28:09 PM6/16/12
to iterm2-...@googlegroups.com
I recently imported far too many color presets into iTerm (by accident) and it's painful to delete them one at a time through the UI. Is there a file somewhere that I can edit by hand to remove them en masse?

George Nachman

unread,
Jun 19, 2012, 1:31:34 AM6/19/12
to iterm2-...@googlegroups.com
Hi Kelly,
You can convert your plist file to xml and hand edit it. Kind of painful.

cd /tmp
cp ~/Library/Preferences/com.googlecode.iterm2.plist .
plutil -convert xml1 com.googlecode.iterm2.plist
vi com.googlecode.iterm2.plist
# quit iterm2
cp com.googlecode.iterm2.plist ~/Library/Preferences
# restart iterm2

zwilson.d...@gmail.com

unread,
Sep 7, 2017, 12:28:38 PM9/7/17
to iterm2-discuss
The least painful method I've found is to use the Xcode Editor (free download from the Mac App Store) to reset iTerm 2's color-schemes to factory defaults as follows:

1. Quit iTerm
2. Open ~/Library/Preferences/com.googlecode.iterm2.plist with Xcode Editor (if it's not your default .plist editor, right click on the file in finder and choose "open with">"Xcode"
3. Delete the "Custom Color Presets" key 
4. Re-import the color-schemes you want.

I do this whenever I do a `git pull` from the iTerm2 color-schemes repo. Not *too* painful.
Reply all
Reply to author
Forward
0 new messages