Take the 2-minute tour ×
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems.. It's 100% free, no registration required.

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?

share|improve this question
    
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
add comment

1 Answer

up vote 4 down vote accepted

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.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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