I installed X Window System (xinit) and xmonad only, without installing a desktop environment.

The problem is that the configuration file ~/.xmonad/xmonad.hs does not apply after starting.

I usually execute the startx command after logging in and then xmonad is already running and ignores my xmonad.hs. I changed the permissions to 777 for all files under the ~/.xmonad directory.

How would you fix this?

  • Does xmonad --recompile work?
    – sr_
    May 22 '12 at 13:20
  • @sr_ Yes, it works.
    – xralf
    May 22 '12 at 13:21
  • @sr_ This even solved it. Please write it as an answer.
    – xralf
    May 22 '12 at 13:26

Try xmonad --recompile.

While I cannot answer why it doesn't automatically recompile if .xmonad/xmonad.hs is changed (I think it should and once did), it might help, especially with finding errors in the configuration without restarting the session.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.