Thanks, I&#39;ll check them out. The script actually isn&#39;t that slow in daily use, so I&#39;m happy with it. Plus I&#39;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&#39;ve viewed other windows in between.<br>

<br><div class="gmail_quote">On 27 February 2010 16:37, John Eikenberry <span dir="ltr">&lt;<a href="mailto:jae@zhar.net">jae@zhar.net</a>&gt;</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>
&gt; I&#39;m running Openbox with Gnome and windows demanding attention show<br>
&gt; in the taskbar with a yellow highlight, usually skype IMs or<br>
&gt; something. I&#39;ve created the following bash script that I bind to a<br>
&gt; hotkey, but it&#39;s not very quick. Is there a better way? I&#39;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>
&gt; like to bind it to W-`, but it doesn&#39;t work. I&#39;ve also tried<br>
&gt; &amp;#x0060; and that chokes too.<br>
&gt;<br>
&gt; for id in `wmctrl -l | cut -d &quot; &quot; -f 1`; do<br>
&gt;    xprop -id $id | grep &quot;_NET_WM_STATE_DEMANDS_ATTENTION&quot; 2&gt;&amp;1 &gt; /dev/null<br>
&gt;    if [ &quot;$?&quot; = &quot;0&quot; ]; then<br>
&gt;        wmctrl -i -a $id<br>
&gt;        exit 0<br>
&gt;    fi<br>
&gt; done<br>
&gt; exit 1<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; Thanks,<br>
&gt; Vaughn<br>
</div><div><div></div><div class="h5">&gt; _______________________________________________<br>
&gt; openbox mailing list<br>
&gt; <a href="mailto:openbox@icculus.org">openbox@icculus.org</a><br>
&gt; <a href="http://icculus.org/mailman/listinfo/openbox" target="_blank">http://icculus.org/mailman/listinfo/openbox</a><br>
&gt;<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>
&quot;Perfection is attained, not when no more can be added, but when no more<br>
 can be removed.&quot; -- 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>