You are not logged in.

#1 2012-05-12 19:57:44

ephan
Member
Registered: 2011-11-02
Posts: 171

[SOLVED] Xmonad doesn't start

I followed these instructions, and installed xmonad with:

sudo pacman -S xmonad xmonad-contrib xmobar trayer

Unsurprisingly, it also installed ghc and a lot of haskell stuff. However, when I added "exec xmonad" to my .xinitrc:

#!/bin/sh
#
# ~/.xinitrc
#
# Executed by startx (run your window manager from here)

# exec gnome-session
# exec startkde
# exec startxfce4
# ...or the Window Manager of your choice

setxkbmap pt

#Start awesome
#exec awesome

#Start xmonad
exec xmonad

#Start Gnome Shell
#exec ck-launch-session gnome-session

And I ran "xinit"/"startx", I get a black screen, and tty1 says:

/home/david/.xmonad/xmonad-x86_64-linux: executeFile: does not exist (No such file or directory)

I have to C-c on tty1 and use another interface, any idea of what's wrong? I got a lot of warnings when installing xmonad with Pacman, related to haddok or something.

Thank you in advance!

Last edited by ephan (2012-05-12 20:38:19)

Offline

#2 2012-05-12 20:02:46

Gcool
Member
Registered: 2011-08-16
Posts: 1,456

Re: [SOLVED] Xmonad doesn't start


Burninate!

Offline

#3 2012-05-12 20:21:29

ephan
Member
Registered: 2011-11-02
Posts: 171

Re: [SOLVED] Xmonad doesn't start

david@davidarch:~/.xmonad$ xmonad --recompile
Error detected while loading xmonad configuration file: /home/david/.xmonad/xmonad.hs

<no location info>: can't find file: xmonad.hs

Please check the file for errors.

david@davidarch:~/.xmonad$

I had Google'd about this, and found that many times, but I get that.

Offline

#4 2012-05-12 20:23:33

Gcool
Member
Registered: 2011-08-16
Posts: 1,456

Re: [SOLVED] Xmonad doesn't start

Try copying the default config (located in /usr/share/xmonad-0.10/man/xmonad.hs) to ~/.xmonad/xmonad.hs (and xmonad --recompile afterwards).

Last edited by Gcool (2012-05-12 20:24:58)


Burninate!

Offline

#5 2012-05-12 20:32:24

ephan
Member
Registered: 2011-11-02
Posts: 171

Re: [SOLVED] Xmonad doesn't start

That worked (to compile), but when I run xmonad from tty1 (startx with 'exec xmonad') on it, I just get a black screen with no errors on tty1 whatsoever, just black screen forever.

Offline

#6 2012-05-12 20:35:22

Gcool
Member
Registered: 2011-08-16
Posts: 1,456

Re: [SOLVED] Xmonad doesn't start

That's the default config for you. There are a few default shortcuts to for example open a terminal (have a look at the xmonad.hs config file), but the rest is up to you.


Burninate!

Offline

#7 2012-05-12 20:37:26

ephan
Member
Registered: 2011-11-02
Posts: 171

Re: [SOLVED] Xmonad doesn't start

I got it, thank you!

Offline

Board footer

Powered by FluxBB