开发者

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

开发者 https://www.devze.com 2023-03-24 10:57 出处:网络
I\'m specifically looking for a solution for PuTTY but also interested for other terminal emulators, like Gnome Terminal.

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 t开发者_运维问答ask bar that the command has finished.


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

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

0

精彩评论

暂无评论...
验证码 换一张
取 消