You are not logged in.

#1 2011-09-06 00:50:40

Sly
Member
Registered: 2010-02-28
Posts: 40

xmonad installation

Hey. So I have a fresh install of Arch install, just the core installation with the drivers and X set up; the basics. No other DE is installed.

I downloaded and installed xmonad. After doing so I still didn't have a ~/.xmonad directory nor a .xinitrc file, so I made the latter. It contains: http://pastebin.com/A5s5eLuN

xmonad --recompile - xmonad: /home/anthony/.xmonad/xmonad.errors: openFile: does not exist (No such file or directory)

So I create ~/.xmonad and do xmonad--recompile again and get:

Error detecting while loading xmonad configuration file: /home/anthony/.xmonad/xmonad

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

Which makes sense since the file isn't there, but the Arch Linux Wiki lists to run this command to create ~/.xmonad and I presume the default xmonad.hs.

Is there something I'm completely missing here?

Thanks.

Offline

#2 2011-09-06 01:14:48

qchapter
Member
Registered: 2009-06-17
Posts: 43

Re: xmonad installation

First in your .xinitrc your line that starts xmonad should read:

exec xmonad

Second make sure your .xmonad directory is empty.  This way xmonad will pull default settings. 

When you are ready to customize your settings, create a xmonad.hs file in your .xmonad directory with your changes.

Last edited by qchapter (2011-09-06 01:15:21)

Offline

#3 2011-09-06 01:28:35

xtremejoshua
Member
Registered: 2011-09-06
Posts: 5

Re: xmonad installation

Hi maybe i can help I just installed xmonad today for the first time took a bit to get running but what i had to do according to the arch wiki was get the xmonad.hs template here

http://haskell.org/haskellwiki/Xmonad/C … _%280.9%29

copy that to the directory you made ~/.xmonad and then in that directory run

xmonad --recompile

then just stick

exec xmonad

in your .xinitrc

hope that helps

Offline

#4 2011-09-06 15:28:15

Sly
Member
Registered: 2010-02-28
Posts: 40

Re: xmonad installation

qchapter wrote:

First in your .xinitrc your line that starts xmonad should read:

exec xmonad

Second make sure your .xmonad directory is empty.  This way xmonad will pull default settings. 

When you are ready to customize your settings, create a xmonad.hs file in your .xmonad directory with your changes.

The Arch Wiki says "Recently, users in #xmonad have stated that the exec is not required; simply adding xmonad as the last line in your startup script is the proper way to start this WM.".

However, I've tried both ways and xmonad doesn't load on boot. Installing xmonad doesn't pull the default xmonad.hs file.

xtremejoshua wrote:

Hi maybe i can help I just installed xmonad today for the first time took a bit to get running but what i had to do according to the arch wiki was get the xmonad.hs template here

http://haskell.org/haskellwiki/Xmonad/C … _%280.9%29

copy that to the directory you made ~/.xmonad and then in that directory run

xmonad --recompile

then just stick

exec xmonad

in your .xinitrc

hope that helps

I put this xmonad.hs file in ~/.xmonad and issues a xmonad --recompile, this went fine.

However, xmonad still doesn't load on boot.

If I issue a startx, I believe xmonad loads fine (it's just a black screen with the default pointer), pressing Mod+SHIFT+Return brings up xterm; Mod+SHIFT+Q closing it. But why wouldn't this be loading on boot?

Cheers for the help thus far people.

Last edited by Sly (2011-09-06 15:28:50)

Offline

#5 2011-09-06 17:31:16

xtremejoshua
Member
Registered: 2011-09-06
Posts: 5

Re: xmonad installation

i was told to put exec if your using ck-launch-session witch i am umm as for loading x at boot there is a guide did you follow it?
https://wiki.archlinux.org/index.php/Start_X_at_Boot


EDIT: btw yes everything seems to be working for you now just have to configuring it the way you want and follow the guide to start it at boot

Last edited by xtremejoshua (2011-09-06 17:32:48)

Offline

#6 2011-09-07 17:50:14

qchapter
Member
Registered: 2009-06-17
Posts: 43

Re: xmonad installation

Sly wrote:

However, xmonad still doesn't load on boot.

If I issue a startx, I believe xmonad loads fine (it's just a black screen with the default pointer), pressing Mod+SHIFT+Return brings up xterm; Mod+SHIFT+Q closing it. But why wouldn't this be loading on boot?

Cheers for the help thus far people.

Dude, it will not load on boot, and I'm not sure why you would want that.  You use startx, or If you want a graphical display manager to load on boot see: https://wiki.archlinux.org/index.php/Display_Manager

Not sure what you are trying to accomplish here.

Kevin

Offline

#7 2011-09-07 20:03:07

xtremejoshua
Member
Registered: 2011-09-06
Posts: 5

Re: xmonad installation

It wont load at boot by default no and while id never want to do it i don't see a reason why you shouldn't

Offline

Board footer

Powered by FluxBB