bell: false
.Is Vanilla
.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??
@remy unsetopt beep in the .zshrc is a great solution - thank you! this was driving my colleagues around me absolutely mad..!
@sghiassy What you are referring is disabling the sound for the notification banners in the corner of your screen. We can see an example of this when hyper.js
reloads the configuration.
None of the workarounds worked for me on windows 10. I had to completely disable the sounds for the windows theme to get rid of the bell sound( Right click on the desktop->Personalize->Themes->Sounds->No Sounds)
On Windows 10, I went to Notifications and actions settings, and then just turned off notifications from Hyper and it worked.
On Windows 10 the bell is the "Critical Stop" sound, so change that and you'll change the bell.
If you're thinking about setting it to silent, I've got bad news for you. At least on my machine doing that instead caused a booop sound to be played, and I couldn't find a way to silence that.
My solution: Set Critical Stop to a softer sound. I settled on ding.wav, which is in the list of default Windows sounds (as has been since Windows 95, I think).
Another solution: Try setting Critical Stop to a silent wav file.
It's a sad work-around, but I hope it brings relief to some of you.
Setting the critical stop sound to a silent wav file worked for me, thanks to @ozbonus
I'm on Windows 10 as well, using the Linux subsystem with Ubuntu, and I've found that the issue is with bash itself, not Hyper. As @pheuter said, you just have to do vi ~/.inputrc
and type set bell-style none
and save, then reload Hyper. For the notification sounds, I just went into the "Notifications & actions settings" and turned off the sounds for Hyper.
Just turning off notifications for Hyper (in Window's "Notifications & actions" settings) stops the bell (and the notification).
~/.inputrc did nothing for me, I had to set it in /etc/inputrc
What an absolutely annoying issue, I want to commit an atrocity.
On Mac 10.13.3, just add unsetopt beep
in ~/.zshrc and that's it.
@jasperandrew 's solution worked for me in git bash as well :)
It's a fine workaround if you never ssh anywhere.
just wanted to say thanks @jasperandrew this worked 馃挴
I'm using Zsh via Bash on Windows (WSL) - the solution by @remy fixed the beeps on the shell, but for vim I also had to add set visualbell
to ~/.vimrc.
I use Hyper on Windows with WSL. The workaround with ~/.inputrc
stated by @pheuter worked in that case, but when I ssh to a remote host, it still bells.
Turning the sound notification off for this app did not help in that case.
The two other workarounds works. Either use a softer or even a silent wav in the Critical Stop sound setting, or in my case, muting the Hyper Console Window Host application in the Volume Mixer.
I had this problem with powershell. I use psreadline and was able to disable the bell with Set-PSReadlineOption -BellStyle None
I'm sure this was also happening using windows 10's built in terminal app, but switching to hyper made me notice it again.
I set mine to Default Beep -> None on Windows 10's Sound Control Panel. Noise went away.
Amazingly annoying issue. I tried hyper some months ago and found it to be slow at that point. Now, with the WebGL renderer it seems more responsive but apparently still has crazy quirks like this.
Had to turn off notification sounds in macOS preferences to get around this... 馃槃
All I did was mute bash app on windows volume mixer
It's worth noting that @pheuter's workaround works with SSH too, you just have to create/update ~/.inputrc in the remote host as well. Tested on Windows 10 connecting to an Ubuntu 18.04 box.
should no longer happen with CI builds of canary and the next release
Most helpful comment
Apparently zsh needs this
unsetopt beep
(though I've not tested it, I'm using bash on windows, and theset bell-style none
worked for me). (source)