Index

Subject : Re: LUG: Visible bell

From : Stephen Bryant <stephen@stephenbryant.[redacted]>

Date : Wed, 02 Jun 2010 10:35:19 -0400

Parent


If you run it in screen, you can switch between visual bell and audio bell with C-a C-g. This will only flash it once though. If you want it to keep flashing, you might could write a script something like:

while (1)
{
setterm -inversescreen on
sleep(500)
setterm -inversescreen off
sleep(1000)
}


And then run your script as ./myscript.sh && ./flashterm.sh. I haven't tried this, but I'd think it should work in theory.

--
Stephen Bryant


On Wed, Jun 2, 2010 at 10:25 AM, Alexander Ray < alexjray.ncsu@gmail.[redacted] > wrote:
hey guys!

Yet another im-heavily-customizing-hacking-my-environment style question:

I'm working on automation scripts to make my life easier (read: hacker, lulz) and one of the things I'd like to do is have a script running in a terminal in the corner of my screen get my attention when its done.

This means:
Flashing the terminal (a 'visual bell')
Flashing the bar on my panel (for example, when you have the firefox download mini-window open, but minimized, and a download finished, this starts flashing)

What i'm avoiding:
Audio bell. its just annoying. i <3 my music :-)

Thoughts?Ponders?Quandries?Good Jokes?Bad Jokes?

thanks,
~Alex


Replies :