You are not logged in.

#1 2008-09-17 18:12:42

Arcath
Member
Registered: 2008-04-08
Posts: 27

XMonad.hs

i have installed Xmonad through pacman, and it works no problem, but now i have created a ~/.xmonad/xmonad.hs file and xmoand doesnt start anymore, but when i remove the file it works no problems.

my xmonad.hs looks like this:

import XMonad
main = xmonad $ defaultConfig
{ borderWidth=2 }

Last edited by Arcath (2008-09-17 18:32:53)

Offline

#2 2008-09-17 20:35:56

vogt
Member
From: Toronto, Canada
Registered: 2006-11-25
Posts: 389

Re: XMonad.hs

Hmm, even if it does have an error (which it does), xmonad should still run, using the same binary that it does when you don't have a config, or the previous ~/.xmonad/xmonad-$carch-linux, so maybe you have another problem...

To fix the syntax, you need to indent the { ... } at least one space, or keep it on the previous line; you can see the error messages by running xmonad --recompile, or installing xmessage, which then pops up when the keybinding to rebuild (M-q) triggers a failing build.

Last edited by vogt (2008-09-17 20:36:20)

Offline

#3 2008-09-18 11:48:19

Arcath
Member
Registered: 2008-04-08
Posts: 27

Re: XMonad.hs

yeah the version i have on my PC has a tab before the { i just couldnt put a tab into the reply box. even when i use the template xmonad.hs from the xmonad website it still doesnt work

Offline

#4 2008-09-18 11:57:11

Vintendo
Member
From: Netherlands
Registered: 2008-04-21
Posts: 375
Website

Re: XMonad.hs

what does "xmonad --recompile" give back?

Offline

#5 2008-09-18 15:48:54

Arcath
Member
Registered: 2008-04-08
Posts: 27

Re: XMonad.hs

it doesnt matter now ive unistalled xmonad through pacman and complied it from source and now it works fine with xmonad.hs

Offline

#6 2008-09-20 21:55:09

vogt
Member
From: Toronto, Canada
Registered: 2006-11-25
Posts: 389

Re: XMonad.hs

So this problem is miraculously solved? (then mark it solved)

Offline

Board footer

Powered by FluxBB