On Sun, Aug 19, 2012 at 09:21:57PM +0200, Łukasz Jagiełło wrote:
Is it possible to set focus at gnome-terminal window after system bell ? Can't find any good solution for that. What I want to achieve is working from example Chrome or other terminal and when window gets system bell it will be focus.
I suggest using wmctrl. IIRC gnome-terminal sets some special environment variable which allows you to script wmctrl.
Automatically switching focus on system bell would not really work I think; metacity and mutter would prevent that (focus stealing prevention).