[xmonad] Moving windows to a workspace based on their title /
console applications in terminal emulators
lobzang at free.fr
lobzang at free.fr
Fri Feb 1 03:29:08 EST 2008
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 <baschni at gmail.com>:
> 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 at 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 <baschni at gmail.com>:
> >
> > > 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
> > >
> >
> >
>
>
More information about the xmonad
mailing list