I would like to do something like this:

myCommand;  commandToMakeNoise

myCommand runs for variable amounts of time and I would like to go and work on something else until it is done, but I would like to be told (probably with sound but I am open to other ideas) when the command has finished.

I am using Solaris with gnome. So I am using different workspaces. (Why visual queues probably will not work. I also don't want to move that terminal from the workspace that it is currently in).

Also I don't want to use a terminal beep. That comes out of my tower, I would prefer something that comes out of my headphones so as not to annoy my co-workers.

link|improve this question

feedback

4 Answers

up vote 2 down vote accepted

/usr/bin/audioplay /usr/demo/SOUND/sounds/bark.au

link|improve this answer
feedback

Solaris has an audioplay command.

link|improve this answer
Do you know where solaris keeps it sound files? – sixtyfootersdude Mar 2 '10 at 15:51
feedback

Not sure if it's easy to compile on Solaris w/ Gnome, but I use NotifyOSD on Ubuntu and the "notify-send" command. Works well, unobtrusive and meshes with the environment.

link|improve this answer
+1: good suggestion, but does not ship with solaris. – sixtyfootersdude Mar 2 '10 at 15:42
feedback

Simply throw random data to /dev/audio, something like:

myCommand ; dd if=/dev/random of=/dev/audio count=100000

link|improve this answer
feedback

Your Answer

 
or
required, but never shown

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