Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

starting xmonad

I'm completely new to xmonad but I'd like to start using it to boost my productivity.

This is the guide I've been using (I'm using Apple OS X Snow Leopard) http://xmonad.org/tour.html#start

So far I've managed to install Haskell-Platform, Cabal, dMenu, and xmonad (using cabal install).

When I attempt to run xmonad from the terminal I run into this error:

SDGL0990Z464C:~ cflynn$ echo $PATH
/Users/cflynn/.cabal/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/local/git/bin:/usr/X11/bin
SDGL0990Z464C:~ cflynn$ xmonad
/Users/cflynn/.xmonad/xmonad-i386-darwin: executeFile: does not exist (No such file or directory)
X Error of failed request:  BadAccess (attempt to access private resource denied)
  Major opcode of failed request:  2 (X_ChangeWindowAttributes)
  Serial number of failed request:  7
  Current serial number in output stream:  8

Can anyone explain what this means? Thanks!

like image 520
Casey Flynn Avatar asked Dec 14 '10 01:12

Casey Flynn


People also ask

How does xmonad work?

XMonad is a tiling window manager for X11. Windows are arranged automatically to tile the screen without gaps or overlap, maximising screen use. Window manager features are accessible from the keyboard: a mouse is optional. xmonad is written, configured and extensible in Haskell.


2 Answers

Does the file /Users/cflynn/.xmonad/xmonad-i386-darwin exist? It sounds like it does not. You will need to compile your xmonad config and put the resulting executable at that location.

like image 187
Jason Dagit Avatar answered Oct 13 '22 10:10

Jason Dagit


Skip to the bottom of this page - http://www.haskell.org/haskellwiki/Xmonad/Using_xmonad_on_Apple_OSX

Add the contents to .xinitrc rather than starting it at the terminal.

like image 22
C.J. Avatar answered Oct 13 '22 10:10

C.J.