You are not logged in.

#1 2009-09-06 16:52:34

hofa
Member
Registered: 2009-01-16
Posts: 25

Getting started with Xmonad

Hi guys,


I've been working on Arch with Openbox for a few months now, but I'd like to try out xmonad.
The problem is that I can't seem to run it...

I installed it, put an entry in .xinitrc and tried to launch it through SLiM. SLiM tries to load Xmonad, but it returns back to SLiM.

I'm using a minimalistich xmonad.hs:

import XMonad
 
main = xmonad defaultConfig
        { modMask = mod4Mask -- Use Super instead of Alt
        , terminal = "urxvt"
        -- more changes
        }

and this is .xinitrc:

#!/bin/sh

DEFAULT_SESSION=openbox-session

case $1 in
xmonad)
    xsetroot -cursor_name left_ptr
    exec xmonad &
    ;;
*)
    exec $DEFAULT_SESSION
    ;;
esac

Anyone has any ideas?

Offline

#2 2009-09-06 17:07:40

Knute
Member
From: Minot, ND
Registered: 2009-03-17
Posts: 604

Re: Getting started with Xmonad

You might want to change your default session.


Knute

Offline

#3 2009-09-06 17:12:07

hofa
Member
Registered: 2009-01-16
Posts: 25

Re: Getting started with Xmonad

I can log in to openbox without any problem, but in SLiM, you can change session by pressing F1. It's when I try to log in to xmonad that it doesn't work...

Offline

#4 2009-09-06 17:17:38

skottish
Forum Fellow
From: Here
Registered: 2006-06-16
Posts: 7,942

Re: Getting started with Xmonad

Remove the & after xmonad and see if that helps.

Offline

#5 2009-09-06 17:47:15

hofa
Member
Registered: 2009-01-16
Posts: 25

Re: Getting started with Xmonad

How stupid of me. Thanks!

Offline

Board footer

Powered by FluxBB