[xmonad] Hello, and firefox
i92guboj at terra.es
Wed Jun 11 11:15:53 EDT 2008
I am a newcomer, and I have been playing for some time with xmonad.
I've been (well, and I still am) an fvwm user for quite a long time. But
xmonad seems to have an excellent support for xinerama. That alone is enough
to pick my attention, since no other wm that I know of has a proper support
for xinerama, even if lots of them claim to.
I have a mostly working setup now, though there's a lot of room for
improvements, and being new to haskell is not helping (the time will cure
What I am after right now is for ideas about how to handle multiple
instances of firefox. My idea is to launch a firefox instance on startup
on a given workspace. But, I don't want all the firefox instances to be
open on that workspace (for example, if I click an url on sylpheed I want
it to be opened on a firefox window on the same workspace I am right at that
My current approach, right now, is to launch everything from my .xinitrc,
and then I have manageHook on my xmonad.hs file to W.shift the firefox
window to workspace 2. The problem is that, this method, effectively
shifts ALL the firefox windows to that workspace, which means that if I
click an url on sylpheed on workspace 3, then I have to go to workspace 2
to be able to see the firefox window containing the page associated to the
url I just clicked on sylpheed.
I don't know if the manageHook approach is correct. Maybe there's a way to
send the firefox instance I open at startup to workspace 2 without a hook.
I use something similar to manage some urxvt's I have for different
purposes, but the hooks approach there works just ok because terminals
usually have a way to change it's resource/class name, which makes matching
windows much easier. Firefox doesn't have this capability as far as I know,
that's why if I match firefox, it matches all the firefox windows, which
is not the intended effects.
I can't believe I am the first one to have such a problem, but I haven't
found anything though I have looked on many places (including the mailing
For now, I just work around it using another browser as the associated
browser on syplheed and urxvt and floating the links windows.
Ideas and guidance is welcome.
Thanks everyone for reading.
Jesús Guerrero <i92guboj at terra.es>
More information about the xmonad