[xmonad] More empathy weirdness

Magnus Therning magnus at therning.org
Sun Oct 10 03:07:06 EDT 2010


On 09/10/10 23:27, Brandon S Allbery KF8NH wrote:
> On 10/9/10 17:04 , Brent Yorgey wrote:
>> On Fri, Oct 08, 2010 at 11:51:37AM +0100, Magnus Therning wrote:
>>> With the most recent update to empathy (2.32.0.1) it no longer gets
>>> shifted to the correct workspace :-(
>>>
>>> I have checked that the resource hasn't changed either:
>>>
>>> % xprop | grep WM_CLASS
>>> WM_CLASS(STRING) = "empathy", "Empathy"
>
>> Did you try using "Empathy" instead of "empathy" in your xmonad.hs?
>
> "resource" is the first of those strings, not the second.

Indeed, so I added a match on 'className' too:

    , resource  =? "empathy"                     --> doF (W.shift "1:im")
    , className =? "Empathy"                     --> doF (W.shift "1:im")

with this in my xmonad.hs I got the strangest behaviour ever, it actually
managed to move *another* window to the workspace "1:im".  In any case,
matching on either 'resource' or 'className' (not both) works equally badly.

I guess this is empathy's fault, since the placement works with every other
application I use.

/M

-- 
Magnus Therning                        (OpenPGP: 0xAB4DFBA4)
magnus@therning.org           Jabber: magnus@therning.org
http://therning.org/magnus         identi.ca|twitter: magthe

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 262 bytes
Desc: OpenPGP digital signature
Url : http://www.haskell.org/pipermail/xmonad/attachments/20101010/61036c09/signature-0001.bin


More information about the xmonad mailing list