Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Is there a way to configure PuTTY or other terminal to flash the taskbar on next output to stdout?

I'm specifically looking for a solution for PuTTY but also interested for other terminal emulators, like Gnome Terminal.

My thought is it would be useful if I start a tar zxvf to be able to set a trigger on the terminal emulator, minimize it, and on next output to stdout/stderr I get a notification in the task bar that the command has finished.

like image 453
er1234 Avatar asked Jul 29 '11 20:07

er1234


1 Answers

This works for me:

echo -e "\a"

Then update your PuTTY session to use the Visual Bell, and set "Taskbar/caption indication on bell" to Flashing or Steady.

Then run this command after your tar completes:

tar xvzf file ; echo -e "\a"

Here is a screenshot: Save these settings as the default settings and/or the sessions' settings you have
PuTTY Configuration

like image 197
Adam Lehenbauer Avatar answered Oct 18 '22 16:10

Adam Lehenbauer