Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

disable terminal bell #1

Closed
balupton opened this issue Jan 4, 2017 · 1 comment
Closed

disable terminal bell #1

balupton opened this issue Jan 4, 2017 · 1 comment

Comments

@balupton
Copy link
Member

balupton commented Jan 4, 2017

I had

# disable the annoying terminal bell
# http://superuser.com/a/1123198/32418
local TERMINAL_PLIST
local TERMINAL_THEME
TERMINAL_PLIST="$HOME/Library/Preferences/com.apple.Terminal.plist"
TERMINAL_THEME=$(/usr/libexec/PlistBuddy -c "Print 'Default Window Settings'" "$TERMINAL_PLIST")
/usr/libexec/PlistBuddy -c "Set 'Window Settings':$TERMINAL_THEME:Bell false" "$TERMINAL_PLIST"
/usr/libexec/PlistBuddy -c "Set 'Window Settings':$TERMINAL_THEME:VisualBellOnlyWhenMuted false" "$TERMINAL_PLIST"

But it produces:

Set: Entry, "Window Settings:Basic:Bell", Does Not Exist
Set: Entry, "Window Settings:Basic:VisualBellOnlyWhenMuted", Does Not Exist		

On new machines, should remove it until I figure out a solution that works.

balupton added a commit that referenced this issue Jan 4, 2017
@balupton
Copy link
Member Author

balupton commented Apr 27, 2017

accomplished via the macup command instead, which just restores from time machine

https://github.com/balupton/dotfiles/blob/2cef3f62c0cfc1efff47270948406106651320d1/.scripts/commands/macup#L128-L129

balupton added a commit that referenced this issue Nov 7, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

1 participant