> 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's weird, check if you'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 = "MainWindow"</div><div>WM_WINDOW_ROLE = "Chats"</div>
<div>WM_WINDOW_ROLE = "CallWindowForm"</div><div><br></div><div>>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'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"><<a href="http://ff0000.it">ff0000.it</a>@<a href="http://gmail.com">gmail.com</a>></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>
> Also new skype for linux (2.1) sets appropriate<br>
> roles to its windows which makes matching them a lot easier.<br>
> The 'role field' in xprop is WM_WINDOW_ROLE. In order to cut xprop crap I<br>
> have this alias set in my .bashrc<br>
> alias xprop='xprop -notype WM_CLASS WM_NAME WM_WINDOW_ROLE'<br>
</div>You spoil me :-D!<br>
This is my xprop result on skype roster:<br>
<br>
WM_CLASS = "skype", "Skype"<br>
WM_NAME = "<USERNAME> - Skype™ (Beta)"<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 = "skype", "Skype"<br>
WM_NAME = "<BUDDY_ALIAS> - Skype™ Chat"<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>