Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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

4 Answers 4

up vote 2 down vote accepted

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

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

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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