&gt; how can i handle them if role is empty? <div>Not possible, you must workaround with the props that are set by the app. </div><div>That&#39;s weird, check if you&#39;re using the latest skype for linux, which is  2.1.0.81</div>

<div>I remember previous versions not setting windows roles accordingly.</div><div>Anyway here are my xprop output on each skype window:</div><div>WM_WINDOW_ROLE = &quot;MainWindow&quot;</div><div>WM_WINDOW_ROLE = &quot;Chats&quot;</div>

<div>WM_WINDOW_ROLE = &quot;CallWindowForm&quot;</div><div><br></div><div>&gt;Is there some way to regexping WM_NAME?</div><div>Not that I know of. The app must have this feature (like terminals), which they normally don&#39;t have.</div>

<div><br clear="all">Henrique G. Abreu<br>
<br><br><div class="gmail_quote">On Tue, Jan 26, 2010 at 23:15, Alessandro Massignan <span dir="ltr">&lt;<a href="http://ff0000.it">ff0000.it</a>@<a href="http://gmail.com">gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">

Hi,<br>
<div class="im"><br>
&gt; Also new skype for linux (2.1) sets appropriate<br>
&gt; roles to its windows which makes matching them a lot easier.<br>
&gt; The &#39;role field&#39; in xprop is WM_WINDOW_ROLE. In order to cut xprop crap I<br>
&gt; have this alias set in my .bashrc<br>
&gt; alias xprop=&#39;xprop -notype WM_CLASS WM_NAME WM_WINDOW_ROLE&#39;<br>
</div>You spoil me :-D!<br>
This is my xprop result on skype roster:<br>
<br>
WM_CLASS = &quot;skype&quot;, &quot;Skype&quot;<br>
WM_NAME = &quot;&lt;USERNAME&gt; - Skype™ (Beta)&quot;<br>
WM_WINDOW_ROLE:  not found.<br>
<br>
on chat window:<br>
<br>
ff0000@regulus:~$ xprop -notype WM_CLASS WM_NAME WM_WINDOW_ROLE<br>
WM_CLASS = &quot;skype&quot;, &quot;Skype&quot;<br>
WM_NAME = &quot;&lt;BUDDY_ALIAS&gt; - Skype™ Chat&quot;<br>
WM_WINDOW_ROLE:  not found.<br>
<br>
how can i handle them if role is empty? Is there some way to regexping<br>
WM_NAME? :-|<br>
<div><div></div><div class="h5"><br>
Cheers,<br>
ff0000<br>
_______________________________________________<br>
xmonad mailing list<br>
<a href="mailto:xmonad@haskell.org">xmonad@haskell.org</a><br>
<a href="http://www.haskell.org/mailman/listinfo/xmonad" target="_blank">http://www.haskell.org/mailman/listinfo/xmonad</a><br>
</div></div></blockquote></div><br></div>