Created
November 9, 2013 10:43
-
-
Save sponomarev/7384189 to your computer and use it in GitHub Desktop.
Remove iTerm2 icon from Dock
This file contains hidden or 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
# remove | |
/usr/libexec/PlistBuddy -c 'Add :LSUIElement bool true' /Applications/iTerm.app/Contents/Info.plist | |
# restore | |
/usr/libexec/PlistBuddy -c 'Delete :LSUIElement' /Applications/iTerm.app/Contents/Info.plist |
I've used the option suggested by @randyinla with my iterm2 (3.0.15) but it created another problem – the first line is obscured by macOS window bar which is super annoying. For those who're struggling and want to roll it back, you can open iterm2 preferences with ⌘ + ,
(Command-Comma) combination.
@sponomarev Thank you
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hack isn't necessary. I have 3.0.12 and there is an option to show/hide the dock & tab icon in iTerm2's preferences.
Preferences -> Advanced - Search for "app switcher" and you should see the option for, "Hide iTerm2 from the dock and from the CMD-Tab app switcher." Change to 'yes' and restart the app. This also removes the menu bar, but you can always get back to iTerm2 prefs by hitting CMD+, after hitting your hotkey to show the window.