1

I need to use a beep sound in a shell script as follow:

echo -e '\a'

echo -ne '\007'

But it does not work

What could be the reason?

1

By default the "audible bell" is disabled in Terminal. You can re-enable it by setting org.pantheon.terminal.settings audible-bell to true using dconf editor or the gsettingscommand

2
  • Thank you! Do you know how to change the sound to one that is more like error? I'm using grunt while development and would like to make it sound like error – user60108 Sep 26 '15 at 23:46
  • @user60108 That would be a different question. Please submit a new ask – Daniel Foré Sep 27 '15 at 0:09

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.