You are not logged in.

#1 2008-12-31 07:24:36

Intrepid
Member
Registered: 2008-06-11
Posts: 254

Xmonad practically unconfigurable!

My xmonad.hs reads like so:

import XMonad

main = xmonad $ defaultConfig
        { borderWidth           = 2
        , terminal              = "gnome-terminal"
        , normalBorderColor     = "#cccccc"
        , focusedBorderColor    = "#4400cc" }

So it's a very simple configuration.  However, ghci as well as Xmonad give me an error.  Running ghci -v xmonad.hs gave me this result:

xmonad.hs:1:7:
    Could not find module `XMonad':
      locations searched:
        XMonad.hs
        XMonad.lhs
Failed, modules loaded: none.

I even tried doing the gnome configuration, but it did not work.  Simply, it's impossible to import Xmonad files; can anybody lead me in the right direction?  I have xmonad-contrib installed too.


Intrepid (adj.): Resolutely courageous; fearless.

Offline

#2 2008-12-31 08:50:28

honahursey
Member
Registered: 2008-08-18
Posts: 32

Re: Xmonad practically unconfigurable!

Your config file appears to be set up correctly.  I would recommend reinstalling xmonad to make sure you installed it in the right order.  From the wiki you should install them as such:
    * haskell-x11-darcs
    * xmonad-darcs
    * xmonad-contrib-darcs

This is assuming that you are using xmonad-darcs.

Offline

#3 2009-01-01 01:40:10

Intrepid
Member
Registered: 2008-06-11
Posts: 254

Re: Xmonad practically unconfigurable!

Actually, I compiled xmonad-darcs as per your suggestion.  I had no problem afterward.  This is in complete contrast to the repos.  Thanks for the suggestion!

PS: how do I mark this as solved?

Last edited by Intrepid (2009-01-01 01:40:50)


Intrepid (adj.): Resolutely courageous; fearless.

Offline

#4 2009-01-01 02:23:04

Zariel
Member
Registered: 2008-10-07
Posts: 446

Re: Xmonad practically unconfigurable!

edit your first post and prepend [SOLVED] to the title

Offline

#5 2009-01-01 02:26:57

Roberth
Member
From: The Pale Blue Dot
Registered: 2007-01-12
Posts: 894

Re: Xmonad practically unconfigurable!

You probably miss haskell-x11.


Use the Source, Luke!

Offline

#6 2009-01-01 15:22:11

andre.ramaciotti
Member
From: Brazil
Registered: 2007-04-06
Posts: 649

Re: Xmonad practically unconfigurable!

Are you using ghc from testing? I think the repo's version of xmonad won't work with it because the directory where modules are found changes between version changes.


(lambda ())

Offline

Board footer

Powered by FluxBB