I am working in a multi-workspace multi-window configuration. I am constantly running scripts behind the scenes.
It would save me a lot of time and context switching if I could kick off a script on another server and have a message popup (growl notify or w/e) on my desktop letting me know that the command finished.
Is there a way to do that in Ubuntu 10?
Here's one way to do it, assuming you have password-less SSH set up:
You'll need libnotify-bin installed on
my-graphical-workstation
.Adjust it as necessary.
To augment the fine answer by @ændrük:
you might need to allow the connection from the remote machine. At the simplest, use
but you should restrict this to the target machine once working, if you do not want the whole world to open X11 windows on your machine. This is done automatically if you do
ssh -X
, but needs to be added manually if the ssh connection is not maintained.If you are always connected, just add a
-X
to your ssh parameter to have it do the setup for you, as innotify-send
did not work for me remotely. You can use the (archaic)xmessage
program.