How to enable Terminal sound beep? I tried some of this Beep in shell script not working? without luck.

Please help me, I just want IRSSI to make a beep sound each time I get a private message.

  • 1
    can your box make speaker-sounds? (not all boxes do). I'd just suggest using paplay [pulse-audio play] or other and use an appropriate sound file, eg. worf from star trek with his "you're being hailed" :) – guiverc Dec 2 '17 at 0:12
  • can u explain how i do that – kharstoufär drakkkger Dec 2 '17 at 0:43
  • in a script I have a line paplay --volume=85000 /usr/share/sounds/KDE-Sys-App-Error-Serious-Very.ogg which plays a selected file if that error condition occurs. the sound file of course can be anything (I too use XFCE on the box I grabbed this example from but I did use KDE4 years ago) – guiverc Dec 2 '17 at 0:50
  • FILE OR FOLDER NOT FOUND remember im on xfce not KDE – kharstoufär drakkkger Dec 2 '17 at 1:06
  • I assume you copy/pasted my command into your shell. doing this assumes you have the file I used (I used KDE4 years ago I said which is why I likely found it on my my xfce box; pick one you have already in that directory). you'll have to change the file to one you have (plenty are available online; where I found the startrek one I mentioned earlier as a droll.joke), eg. paplay /usr/share/sounds/ubuntu/stereo/desktop-login.ogg is one you're more likely to have. – guiverc Dec 2 '17 at 1:13

Your Answer

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

Browse other questions tagged or ask your own question.