Thanks, I'll check them out. The script actually isn't that slow in daily use, so I'm happy with it. Plus I've added on some extra tweaks so I can hit W-r to go to the window needing attention, and then W-S-r to go back to the original, even if I've viewed other windows in between.<br>
<br><div class="gmail_quote">On 27 February 2010 16:37, John Eikenberry <span dir="ltr"><<a href="mailto:jae@zhar.net">jae@zhar.net</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<div class="im">Vaughn Dickson wrote:<br>
<br>
> I'm running Openbox with Gnome and windows demanding attention show<br>
> in the taskbar with a yellow highlight, usually skype IMs or<br>
> something. I've created the following bash script that I bind to a<br>
> hotkey, but it's not very quick. Is there a better way? I'd also<br>
<br>
</div>Have you looked at devilspie or winwrangler? They might be able to do<br>
something like this more efficiently though they are daemons, not something<br>
that would be bound to a key.<br>
<br>
<a href="http://burtonini.com/blog/computers/devilspie" target="_blank">http://burtonini.com/blog/computers/devilspie</a><br>
<a href="https://launchpad.net/winwrangler" target="_blank">https://launchpad.net/winwrangler</a><br>
<div class="im"><br>
> like to bind it to W-`, but it doesn't work. I've also tried<br>
> &#x0060; and that chokes too.<br>
><br>
> for id in `wmctrl -l | cut -d " " -f 1`; do<br>
> xprop -id $id | grep "_NET_WM_STATE_DEMANDS_ATTENTION" 2>&1 > /dev/null<br>
> if [ "$?" = "0" ]; then<br>
> wmctrl -i -a $id<br>
> exit 0<br>
> fi<br>
> done<br>
> exit 1<br>
><br>
><br>
><br>
> Thanks,<br>
> Vaughn<br>
</div><div><div></div><div class="h5">> _______________________________________________<br>
> openbox mailing list<br>
> <a href="mailto:openbox@icculus.org">openbox@icculus.org</a><br>
> <a href="http://icculus.org/mailman/listinfo/openbox" target="_blank">http://icculus.org/mailman/listinfo/openbox</a><br>
><br>
<br>
</div></div><font color="#888888">--<br>
<br>
John Eikenberry<br>
[<a href="mailto:jae@zhar.net">jae@zhar.net</a> - <a href="http://zhar.net" target="_blank">http://zhar.net</a>]<br>
[PGP public key @ <a href="http://zhar.net/jae_at_zhar_net.gpg" target="_blank">http://zhar.net/jae_at_zhar_net.gpg</a>]<br>
______________________________________________________________<br>
"Perfection is attained, not when no more can be added, but when no more<br>
can be removed." -- Antoine de Saint-Exupery<br>
</font><br>-----BEGIN PGP SIGNATURE-----<br>
Version: GnuPG v1.4.10 (GNU/Linux)<br>
<br>
iEYEARECAAYFAkuJLjEACgkQMVBeMLjc14LoCgCeMiq2sBkquv3x0H4OHksRxpeT<br>
5sYAoJyTQ7tPvgFTXFPB2Vvjx7MdAffe<br>
=+ZGz<br>
-----END PGP SIGNATURE-----<br>
<br>_______________________________________________<br>
openbox mailing list<br>
<a href="mailto:openbox@icculus.org">openbox@icculus.org</a><br>
<a href="http://icculus.org/mailman/listinfo/openbox" target="_blank">http://icculus.org/mailman/listinfo/openbox</a><br>
<br></blockquote></div><br>