Setting bell to false doesn't prevent sounds on Window 10
- OS version and name: Windows 10 Pro
- Hyper.app version: 1.2.1 or 1.3.1
- Link of a Gist with the contents of your .hyper.js: Basically the default but with
bell: false. - The issue is reproducible in vanilla Hyper.app:
Is Vanilla.
Issue
Setting the bell attribute to false in my .hyper.js does not prevent the terminal from producing sounds whenever I tab-complete or do other actions.
I am experiencing the same issue. Windows 10.0.10240.
Same here on Win version 1607, 14393.693
same on macOS 10.12.3
Same on macOs 10.12.3
Found a hacky solution for the moment. Set the bellSoundUrl parameter to a directory and it will play no sound
Yeah can confirm this, pretty annoying issue but probably a system level thing. I can get it silent if I disable all windows sounds. Disabling some of them seems to move the sound around to different ones until I get a default beep but the option to set to false or the folder hack above doesn't work for me. Im one who prefers a flash to a beep, dunno if someones done a plugin for that already I haven't checked as yet.
I gotta say as feedback this is an awesome terminal for windows, combined with bash for windows 10 it really provides that awesome terminal experience for windows that I get from linux and osx, absolute god send and believe me I spent countless hours fudging with the other emulators to get a good experience, the best I found being cmdr other than this but it and the others all have show stopping issues. I found this terminal purely by chance reading an issue about powerline fonts, its a shame I didn't come across it earlier, I guess it doesn't get a lot of press as yet but it should!
This. Is. Driving. Me. Insane. 🙉 Have always had this problem though. Windows 10 user.
Alright. After building hyper from source and commenting out the bit in hterm.Terminal.prototype.ringBell where it calls oldRingBell... it still rings. It must be something about Windows... but strange that I have no such problem in Git Bash or ConEmu or plain old cmd.
Alright. On Windows it plays the Default Beep sound, which for some reason I had set to Windows Background.wav instead of Windows Default.wav. I changed Default Beep to play Windows Ding.wav which is much quieter. Now lots of programs (including Chrome's find & replace) sound less jarring.
Hopefully that info helps somebody.
What I finally found that worked for me is creating ~/.inputrc in WSL bash and setting set bell-style none.
@pheuter are you using bash or zsh? Cause I'm using zsh, and that does not seems to fix for me.
@jieverson Right, I had to use bash for it to work. Didn't work when I was on zsh or fish. Would love to know if you find an equivalent fix for those shells.
Thanks for the workaround @pheuter! I've switched to this fast wooden knock; see also the related tags. http://soundbible.com/605-Wood-Whack.html
I've also got a hacky solution (if you want to turn it off) for Windows. Just mute it in the Volume Mixer. Hyper was showing up as 'Console Window Host' there.
Apparently zsh needs this unsetopt beep (though I've not tested it, I'm using bash on windows, and the set bell-style none worked for me). (source)
@remy Your solution did it for me with zsh / oh-my-zsh. I just added unsetopt beep to my .zshrc. Thanks a lot!!
Thanks, @remy! None of the other solutions I tried worked and this has been driving me nuts for days.
On a OS X I cheated. I just went to
System Preferences -> Notifications -> Hyper -> Play sound for notifications
and disabled the checkbox.
@sghiassy's solution didn't work for me. The box is already unchecked!
@JohnAllen - Looking over my .hyper.js config file, I also had bell: false set in the config. Perhaps they're needed in combination with one another??