[xmonad] Moving windows to a workspace based on their title /
console applications in terminal emulators
Bastian Schnitzler
baschni at gmail.com
Fri Feb 1 15:37:56 EST 2008
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
More information about the xmonad
mailing list