
Hey !
Indeed there is a bug.
I did a simple test :
1)with urxvt
urxvt -name icq
--> xprop says WM_CLASS(STRING) = "icq", "URxvt"
--> xmonad puts the window matching URxvt pattern , not icq
2)with xterm
xterm -class icq
--> xprop says WM_CLASS(STRING) = "xterm", "icq"
--> the window is placed in my icq workspace. Again xmonad seems to take only
the second class string to match
So for now you can probably use xterm...
Lobzang.
Quoting Bastian Schnitzler
Hi! I did:
[ className =? "Icq" --> doF (W.shift "2") ], [ className =? "irssiterm" --> doF (W.shift "2") ], [ className =? "muttterm" --> doF (W.shift "2") ],
and still urxvt -name Icq -title Icq stays on the same workspace, same for other classnames. Does it work for you?
Bastian
On 09:06 Thu 31 Jan , lobzang@free.fr wrote:
Hi,
urxvt -name icq -e centerim urxvt -name mail -e mutt
should do the trick ( assuming you update your xmonad window rules : , className =? "icq" --> doF (W.shift "icq" ) , className =? "mail" --> doF (W.shift "mail" )
Lobzang
Quoting Bastian Schnitzler
: Hi all! For many purposes I am using console applications, like centerim, irssi or mutt. Now when I start xmonad, I'd like to open a bunch of applications (Can I do this via .xinitrc), like firefox, mutt, etc. These should then be moved to a workspace, based on the application running. So when I start an rxvt-Terminal with mutt, I want this to be moved to workspace 3, how can I do this? On top of that I can't figure out how to move gimp to a special workspace. I have setten it to float, but I tried the class names, gimp, Gimp, gimp-2.2 etc. but it won't go to the workspace I want, when I start it. Anyway what is this class name to identify a window? Is it the process name? Thanks in advance, Bastian Schnitzler