Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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.

share|improve this question
up vote 2 down vote accepted

/usr/bin/audioplay /usr/demo/SOUND/sounds/

share|improve this answer

Solaris has an audioplay command.

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

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.

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

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

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

share|improve this answer

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .