Could not find module `Xmonad.Util.EZConfig':

Running Arch linux. I've just installed and am trying to configure XMonad. I'm following the step-by-step guide to configuring xmonad from the xmonad web site. Here is my current xmonad.hs file: [code] import XMonad import XMonad.Hooks.DynamicLog import XMonad.Hooks.ManageDocks import XMonad.Util.Run(spawnPipe) import XMonad.Util.EZConfig(additionalKeys) import System.IO main = do xmproc <- spawnPipe "/usr/bin/xmobar /home/kent/.xmonad/xmobar" xmonad $ defaultConfig { manageHook = manageDocks <+> manageHook defaultConfig, layoutHook = avoidStruts $ layoutHook defaultConfig logHook = dynamicLogWithPP $ xmpbarPP { ppOutput = hPutStrLn xmproc ppTitle = xmobarColor "green" "" . shorten 50 modMask = mod4Mask --Rebind Mod to the Windows Key } `additionalKeys` [((mod4Mask .|. shiftMask, xK_z), spawn "xscreensaver-command -lock") ((controlMask, xK_Print), spawn "scrot -s"), ((0, xK_Print), spawn "scrot") ] [\code] Then when I run: "ghci -v ~/.xmonad/xmonad.hs" I get (in part): [code] *** Chasing depencies: Chasing modules from: /home/kent/ .xmonad/xmonad.hs /home/kent/.xmonad/xmonad.hs:5:7 Could not find module `Xmonad.Util.EZConfig': locations searched: XMonad/Util/EZConfig.hs XMonad/Util/EZConfig.lhs Failed, modules loaded: none. Prelude> (cursor) [\code] Any help appreciated. Kent

/home/kent/.xmonad/xmonad.hs:5:7 Could not find module `Xmonad.Util.EZConfig':
It is suspicious that the 'm' in 'Xmonad' here is (incorrectly) lowercase, although in the file you pasted it is uppercase... I don't know exactly what might be going on, but maybe that will be enough of a hint that you can figure it out? Feel free to send another message if it isn't, of course. -Brent

Thanks Brent,
I didn't paste anything so I think is was a miss-type on my part the
'm' is uppercase.
I found that I had not installed xmonad-contrib. That fixed the
initial issue, but now when I run "ghci -v ~/.xmonad/xmonad.hs", I
get the following:
*** Parser:
/home/kent/.xmonad/xmonad.hs:13:17: parse error on input `='
*** Deleting temp files:
Deleting
Upsweep partially successful.
***Deleting temp files:
Deleting
Failed, modules loaded: none.
On Thu, Jan 15, 2009 at 13:43, Brent Yorgey
/home/kent/.xmonad/xmonad.hs:5:7 Could not find module `Xmonad.Util.EZConfig':
It is suspicious that the 'm' in 'Xmonad' here is (incorrectly) lowercase, although in the file you pasted it is uppercase...
I don't know exactly what might be going on, but maybe that will be enough of a hint that you can figure it out? Feel free to send another message if it isn't, of course.
-Brent _______________________________________________ xmonad mailing list xmonad@haskell.org http://www.haskell.org/mailman/listinfo/xmonad

On Thu, Jan 15, 2009 at 01:29:14PM -0600, Kent Frazier wrote:
Running Arch linux.
I've just installed and am trying to configure XMonad. I'm following the step-by-step guide to configuring xmonad from the xmonad web site.
Here is my current xmonad.hs file:
[code]
import XMonad import XMonad.Hooks.DynamicLog import XMonad.Hooks.ManageDocks import XMonad.Util.Run(spawnPipe) import XMonad.Util.EZConfig(additionalKeys) import System.IO
main = do xmproc <- spawnPipe "/usr/bin/xmobar /home/kent/.xmonad/xmobar" xmonad $ defaultConfig { manageHook = manageDocks <+> manageHook defaultConfig,
Missing a comma at the end of this line:
layoutHook = avoidStruts $ layoutHook defaultConfig logHook = dynamicLogWithPP $ xmpbarPP { ppOutput = hPutStrLn xmproc
Missing a closing } and comma at the end of this line:
ppTitle = xmobarColor "green" "" . shorten 50 modMask = mod4Mask --Rebind Mod to the Windows Key } `additionalKeys` [((mod4Mask .|. shiftMask, xK_z),
Missing a comma here as well:
spawn "xscreensaver-command -lock") ((controlMask, xK_Print), spawn "scrot -s"), ((0, xK_Print), spawn "scrot") ] [\code]
Cheers, Spencer Janssen

Thank you! It seems to be working now.
On Thu, Jan 15, 2009 at 14:22, Spencer Janssen
On Thu, Jan 15, 2009 at 01:29:14PM -0600, Kent Frazier wrote:
Running Arch linux.
I've just installed and am trying to configure XMonad. I'm following the step-by-step guide to configuring xmonad from the xmonad web site.
Here is my current xmonad.hs file:
[code]
import XMonad import XMonad.Hooks.DynamicLog import XMonad.Hooks.ManageDocks import XMonad.Util.Run(spawnPipe) import XMonad.Util.EZConfig(additionalKeys) import System.IO
main = do xmproc <- spawnPipe "/usr/bin/xmobar /home/kent/.xmonad/xmobar" xmonad $ defaultConfig { manageHook = manageDocks <+> manageHook defaultConfig,
Missing a comma at the end of this line:
layoutHook = avoidStruts $ layoutHook defaultConfig logHook = dynamicLogWithPP $ xmpbarPP { ppOutput = hPutStrLn xmproc
Missing a closing } and comma at the end of this line:
ppTitle = xmobarColor "green" "" . shorten 50 modMask = mod4Mask --Rebind Mod to the Windows Key } `additionalKeys` [((mod4Mask .|. shiftMask, xK_z),
Missing a comma here as well:
spawn "xscreensaver-command -lock") ((controlMask, xK_Print), spawn "scrot -s"), ((0, xK_Print), spawn "scrot") ] [\code]
Cheers, Spencer Janssen _______________________________________________ xmonad mailing list xmonad@haskell.org http://www.haskell.org/mailman/listinfo/xmonad
participants (4)
-
Brent Yorgey
-
Kent Frazier
-
Kent R. Frazier
-
Spencer Janssen