[xmonad] problems restarting xmonad on the fly

Thomas Friedrich info at suud.de
Fri Jul 17 16:16:53 EDT 2009

Hi everyone,

rather than using the pre-compiled binaries of xmonad, I finally got 
around to get the latest darcs version of xmonad.  Everything works 
fine, however, when I\
 restart xmonad on the fly I now experience some strange behavior.  
Whenever I restart xmonad (e.g. pressing M-q), my ~/.xmonad/xmonad.hs 
does not seem to com\
pile correctly -- that is not at all.  Instead I fall back to 
xmonad-defaults and find a xmonad-i386-linux in my ~/.xmonad/ directory:

$ ls
xmonad  xmonad-i386-linux  xmonad.errors  xmonad.hi  xmonad.hs  xmonad.o
$ cat xmonad.errors

on the commandline:
    Warning: -no-recomp is deprecated: Use -fforce-recomp instead

Now, when I restart the X-Server, everything works fine again, INCLUDING 
all the changes that I made in xmonad.hs.  Compiling xmonad.hs from hand 
works fine, \
but as I said, restarting xmonad on the fly does not work.

Where would I need to set the flag -fforce-recomp?  Where would I need 
to change what?


.xmonad $ uname -sor
Linux 2.6.30-ARCH GNU/Linux
.xmonad $ ghc -V
The Glorious Glasgow Haskell Compilation System, version 6.10.3
.xmonad $

More information about the xmonad mailing list