[xmonad] Moving windows to a workspace based on their title / console applications in terminal emulators

Dominik Bruhn dominik at dbruhn.de
Fri Feb 1 14:43:13 EST 2008


Hy,
try to check the className using "xprop".

Dominik

On Fri, Feb 01, 2008 at 09:37:56PM +0100, Bastian Schnitzler wrote:
> Hi!
> 
> > You're observing the difference between class name and resource name.
> > Apparently 'xterm -class' sets the class name (called className in ManageHook),
> > but 'urxvt -name' sets resource name (called resource in ManageHook).
> 
> This doesn't help, for me neither xterm -class icq or urxvt -name icq
> works with my config, here an excerpt:
> 
> 	[ className =? "xterm" --> doF (W.shift "2") ],
> 
> 	[ className =? "XTerm" --> doF (W.shift "2") ],
> 
> 	[ className =? "icq" --> doF (W.shift "2") ],
> 
> 	[ resource =? "icq" --> doF (W.shift "2") ],
> 
> 	[ className =? "muttterm" --> doF (W.shift "2") ],
> 
> 	[ className =? "Googleearth-bin" --> doF (W.shift "5") ],
> 
> 	[ className =? "maple" --> doF (W.shift "5") ], [className =? "xmaple" --> doF (W.shift "5") ],
> 
> 	[ className =? "Gimp" --> doF (W.shift "5") ], [ className =? "gimp" --> doF (W.shift "5") ],
> 
> 	[ className =? "amarokapp" --> doF (W.shift "6") ],
> 
> 	[ className =? "mplayer" --> doF (W.shift "7") ],
> 
> 	[ className =? "Kpdf" --> doF (W.shift "8") ],
> 
> 	[ className =? "Firefox-bin" --> doF (W.shift "9") ] ]
> 
> 	where myFloats = ["Gimp", "gimp-2.2"]
> 
> Funny that neither xterm, nor urxvt nor urxvt -name icq nor xterm -class icq is moved to Workspace 2?
> The same thing goes for me with Gimp, maple, mplayer, and google earth; the only things that actually are moved, are Kpdf, Firefox-bin and amarokapp, what am I doing wrong?
> 
> Bastian
> 
> _______________________________________________
> xmonad mailing list
> xmonad at haskell.org
> http://www.haskell.org/mailman/listinfo/xmonad
> 

-- 
Dominik Bruhn
mailto: dominik at dbruhn.de
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : http://www.haskell.org/pipermail/xmonad/attachments/20080201/b63eb702/attachment.bin


More information about the xmonad mailing list