You are not logged in.

#1 2007-12-11 14:25:06

cu3edweb
Member
From: USA
Registered: 2007-10-07
Posts: 291

xmonad problems?

I am trying to learn and use xmonad. I have tried Thayer's config and Button's config and both get errors while loading. With Thayer's I get a "Could not find module `XMonad.Actions.FlexibleResize':" and with Buttons it is something about the XMonad.Stackset module. I haven't been able to get dzen2 to do anything but I am still playing with that.

I thought I installed everything so I am not sure what those errors are.

Offline

#2 2007-12-11 14:33:45

Ashren
Member
From: Denmark
Registered: 2007-06-13
Posts: 1,229
Website

Re: xmonad problems?

Where do you place your xmonad.hs? Have you tried running "ghci -v ~/.xmonad/xmonad.hs" to check which files ghc is looking for?

Did you compile XMonad yourself or are you using the binary one from community? And, did you install xmonad-contrib-0.5?

BTW, you have to remove(--) XMonad.Layouts from xmonad.hs to get it to work with XMonad 0.5.

Last edited by Ashren (2007-12-11 14:36:54)

Offline

#3 2007-12-11 14:37:50

cu3edweb
Member
From: USA
Registered: 2007-10-07
Posts: 291

Re: xmonad problems?

I did use the binary from community and I did install xmonad-contrib-0.5

When I run 'ghci -v ~/.xmonad/xmonad.hs' this is the ending error

/home/bmartin/.xmonad/xmonad.hs:24:17:
    Could not find module `XMonad.Actions.FlexibleResize':
      locations searched:
    XMonad/Actions/FlexibleResize.hs
    XMonad/Actions/FlexibleResize.lhs
Failed, modules loaded: none.
Prelude>

Thanks

Offline

#4 2007-12-11 14:41:11

Ashren
Member
From: Denmark
Registered: 2007-06-13
Posts: 1,229
Website

Re: xmonad problems?

It seems that your xmonad-contrib-0.5 is not in your path. Add the correct path to your .bashrc.

Offline

#5 2007-12-11 14:42:23

cu3edweb
Member
From: USA
Registered: 2007-10-07
Posts: 291

Re: xmonad problems?

sorry if this is a stupid question but what is the correct path?

Offline

#6 2007-12-11 14:47:06

Ashren
Member
From: Denmark
Registered: 2007-06-13
Posts: 1,229
Website

Re: xmonad problems?

NP. Check the directory path of your xmonad-contrib-0.5 and add the directory path to your PATH in .bashrc. Like so

Edit: yourpathhere = the path to your xmonad-contrib-0.5 lib.

PATH=$PATH:YOURPATHERE

Then write "source .bashrc" in your terminal and try to reconfig xmonad.

Try it out.

Last edited by Ashren (2007-12-11 14:50:04)

Offline

#7 2007-12-11 15:05:34

cu3edweb
Member
From: USA
Registered: 2007-10-07
Posts: 291

Re: xmonad problems?

I guess when I installed xmonad-contrib I got this error:

ghc-pkg: cannot find package xmonad-contrib-0.5

and also

ghc-pkg: dependency X11-1.4.0 doesn't exist (use --force to override)

Offline

#8 2007-12-11 15:12:44

Ashren
Member
From: Denmark
Registered: 2007-06-13
Posts: 1,229
Website

Re: xmonad problems?

Ok.

EDIT: hehe.. being a bit fast here.. X11-1.4.0 is in the community repo. Get it with pacman -Sy and try again..

As a temporary workaround you could compile xmonad-contrib-0.5 yourself and follow the instructions in the README file. Then add ~/bin and ~/lib to your .bashrc path. Its really easy to compile. Download, untar and read the README. Then copy/paste the compilation commands and execute them one by one and add the above paths to your .bashrc.
That's what I did.

You can find it here:
http://hackage.haskell.org/packages/arc … 0.5.tar.gz

Hey, but you still need the X-11 lib. Get it here and follow the same instructions.
http://hackage.haskell.org/packages/arc … 4.0.tar.gz

Last edited by Ashren (2007-12-11 15:17:29)

Offline

#9 2007-12-11 15:35:25

thayer
Fellow
From: Vancouver, BC
Registered: 2007-05-20
Posts: 1,560
Website

Re: xmonad problems?

Personally, I think the easiest way to get everything installed and working is to use the Wiki entry:

http://wiki.archlinux.org/index.php/Xmonad

This will get you setup with the 'darcs' version of xmonad, which is the up-to-date snapshot. It's very stable and you won't need to add PATH's or modify any additional files just to get started.

PS: Since the PKGBUILDs for the darcs edition are 'version-less' you can simply re-run makepkg whenever you want to upgrade, for example:

$ makepkg -Sif

Last edited by thayer (2007-12-11 15:37:56)


thayer williams ~ cinderwick.ca

Offline

#10 2007-12-11 15:40:26

cu3edweb
Member
From: USA
Registered: 2007-10-07
Posts: 291

Re: xmonad problems?

OK thanks now I am getting somewhere. Just need to do some reading now.

Offline

#11 2007-12-11 15:53:53

cu3edweb
Member
From: USA
Registered: 2007-10-07
Posts: 291

Re: xmonad problems?

I am getting a terminus font error though.

Offline

#12 2007-12-11 16:05:06

cu3edweb
Member
From: USA
Registered: 2007-10-07
Posts: 291

Re: xmonad problems?

Thayer I just installed the darcs version and now it is looking for the modules in my home/lib dir is this right?


**** Nevermind I fixed this issue. But I am still getting a terminus font error?

Last edited by cu3edweb (2007-12-11 16:12:15)

Offline

#13 2007-12-11 16:37:07

thayer
Fellow
From: Vancouver, BC
Registered: 2007-05-20
Posts: 1,560
Website

Re: xmonad problems?

What is the error you are receiving?  Is it related to starting dzen?  If so, this is the string I use for Terminus:

-*-terminus-*-r-normal-*-*-120-*-*-*-*-iso8859-*

For example:

dzen -fn '-*-terminus-*-r-normal-*-*-120-*-*-*-*-iso8859-*'

thayer williams ~ cinderwick.ca

Offline

#14 2007-12-12 13:27:45

cu3edweb
Member
From: USA
Registered: 2007-10-07
Posts: 291

Re: xmonad problems?

I am using that string exactly and I am getting a

dzen: error, cannot load font: '-*-terminus-*-r-normal-*-*-120-*-*-*-*-iso8859-*'

*** EDIT ***

I fixed that problem so nevermind that. Thanks

There was a typo in the xorg.conf font path oops.

Last edited by cu3edweb (2007-12-12 13:37:45)

Offline

Board footer

Powered by FluxBB