in reply to Play Alert Sound in Script

from my experience, <opinion>Ubuntu is a system greatly lacking the Unix-like spirit of simplicity/elegance that Perl shares</opinion> but if I wanted a script to trigger a sound in the simplest (and potentially least portable) way, I'd probably do something "ugly" like invoke aplay through exec or system

from my experience with many modern computers, the PC speaker/beep not as commonly supported since X is so prevalent.

edit: if this is for a laptop, good luck getting the "pc speaker" to work the way you would expect it to on a '90s-era tower.


$,=qq.\n.;print q.\/\/____\/.,q./\ \ / / \\.,q.    /_/__.,q..
Happy, sober, smart: pick two.