Lara Michaels | 28 Jun 2012 20:13
Picon
Favicon
Gravatar

Re: "wmctrl -l" lists all my windows as being on the same workspace (0)

Hi Tobias,

Unfortunately this did not work for me. I downloaded the source, commented out that bit in
EwmhDesktops.hs, compiled it and replace the EwmhDesktops.hi file found in my system with the compiled
version of the modified file. It didn't change anything.

I am now trying to reinstall 0.9.2 on my system but for some mysterious reason xmonad-contrib fails to
build. :(

~l

----- Original Message -----
From: Tobias Hommel <xmonad@...>
To: Lara Michaels <laramichaels1978@...>
Cc: 
Sent: Thursday, June 28, 2012 8:17 AM
Subject: Re: [xmonad] "wmctrl -l" lists all my windows as being on the same workspace (0)

Hey Lara,

that's quite easy. Grab the source code from XMonadContrib from:
http://hackage.haskell.org/packages/archive/xmonad-contrib/0.10/xmonad-contrib-0.10.tar.gz

Copy the XMonad/Hooks/EwmhDesktops.hs from the archive to ~/.xmonad/lib/XMonad/Hooks/EwmhDesktops.hs
You may now modify your copy and restart/recompile xmonad, e.g. check out what
happens if you comment out the lines concerning the "gnome-panel hack".

On Wed, Jun 27, 2012 at 04:28:55PM -0700, Lara Michaels wrote:
> Hi Tobias,
> 
(Continue reading)

Tobias Hommel | 29 Jun 2012 07:50
Picon
Favicon

Re: "wmctrl -l" lists all my windows as being on the same workspace (0)

Hey Lara,

I tried it here, works great. Make sure XMonad is recompiled after making your
modifications. This should be forced if you `touch ~/.xmonad/xmonad.hs` and
restart xmonad afterwards. After successfully recompiling XMonad you should
have the following files in ~/.xmonad/lib/XMonad/Hooks:
EwmhDesktops.hi
EwmhDesktops.hs
EwmhDesktops.o

Besides, I do not think, that 0.9 will work better for this window/desktop
stuff, the function from the EwmhDesktops has not changed since that:
http://hackage.haskell.org/packages/archive/xmonad-contrib/0.9/doc/html/src/XMonad-Hooks-EwmhDesktops.html#ewmhDesktopsLogHookCustom
http://hackage.haskell.org/packages/archive/xmonad-contrib/0.10/doc/html/src/XMonad-Hooks-EwmhDesktops.html#ewmhDesktopsLogHookCustom

On Thu, Jun 28, 2012 at 11:13:25AM -0700, Lara Michaels wrote:
> Hi Tobias,
> 
> Unfortunately this did not work for me. I downloaded the source, commented out that bit in
EwmhDesktops.hs, compiled it and replace the EwmhDesktops.hi file found in my system with the compiled
version of the modified file. It didn't change anything.
> 
> I am now trying to reinstall 0.9.2 on my system but for some mysterious reason xmonad-contrib fails to
build. :(
> 
> ~l
> 
> 
> 
> ----- Original Message -----
(Continue reading)

Lara Michaels | 29 Jun 2012 13:16
Picon
Favicon
Gravatar

Re: "wmctrl -l" lists all my windows as being on the same workspace (0)


Hi Tobias,

Again thank you for your help with this. Which lines exactly did you remove? I just removed these three lines:
    

forM_ (W.current s : W.visible s) $ \x ->  forM_ (W.integrate' (W.stack (W.workspace x))) $ \win -> do 
setWindowDesktop win curr

Did you change/remove any more code (eg, the block immediately below)?

thanks!
~l

________________________________
From: Tobias Hommel <xmonad@...>
To: Lara Michaels <laramichaels1978@...> 
Cc: "xmonad@..."
<xmonad@...> 
Sent: Friday, June 29, 2012 6:50 AM
Subject: Re: [xmonad] "wmctrl -l" lists all my windows as being on the same workspace (0)

Hey Lara,

I tried it here, works great. Make sure XMonad is recompiled after making your
modifications. This should be forced if you `touch ~/.xmonad/xmonad.hs` and
restart xmonad afterwards. After successfully recompiling XMonad you should
have the following files in ~/.xmonad/lib/XMonad/Hooks:
EwmhDesktops.hi
EwmhDesktops.hs
(Continue reading)

Tobias Hommel | 29 Jun 2012 15:58
Picon
Favicon

Re: "wmctrl -l" lists all my windows as being on the same workspace (0)

Hey Lara,

I also only commented those three lines. What I noticed is, that floating
windows are not listed properly, but the "default" tiled windows are.

On Fri, Jun 29, 2012 at 04:16:26AM -0700, Lara Michaels wrote:
> 
> 
> Hi Tobias,
> 
> Again thank you for your help with this. Which lines exactly did you remove? I just removed these three lines:
>     
> 
> forM_ (W.current s : W.visible s) $ \x ->  forM_ (W.integrate' (W.stack (W.workspace x))) $ \win -> do 
setWindowDesktop win curr
> 
> Did you change/remove any more code (eg, the block immediately below)?
> 
> thanks!
> ~l
> 
> ________________________________
> From: Tobias Hommel <xmonad@...>
> To: Lara Michaels <laramichaels1978@...> 
> Cc: "xmonad@..."
<xmonad@...> 
> Sent: Friday, June 29, 2012 6:50 AM
> Subject: Re: [xmonad] "wmctrl -l" lists all my windows as being on the same workspace (0)
> 
> Hey Lara,
(Continue reading)


Gmane