1

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 02 '17 at 00:12
  • can u explain how i do that – kharstoufär drakkkger Dec 02 '17 at 00: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 02 '17 at 00:50
  • FILE OR FOLDER NOT FOUND remember im on xfce not KDE – kharstoufär drakkkger Dec 02 '17 at 01: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 02 '17 at 01:13
  • paplay --volume=85000 /usr/share/sounds/message.oga worked but printf '\a' and irssi sounds doesent work – kharstoufär drakkkger Dec 02 '17 at 01:46
  • sorry I was distracted by the 'beep in bash script' & lost the irssi purpose. I don't know irssi but a quick [early] scan revealed scripts so I hoped paplay would help. alas a better look just now and scripts appear to only run at startup so of little help. – guiverc Dec 02 '17 at 02:38
  • Answer might be here: https://askubuntu.com/q/470944/57576 – andrew.46 Dec 26 '17 at 08:08

0 Answers0