Xmonad/Using xmonad on OLPC XO
From HaskellWiki
< Xmonad(Difference between revisions)
| Line 5: | Line 5: | ||
[[Image:Xmonad-photo-olpc.jpg|200px|A photo of xmonad running on the XO|center]] | [[Image:Xmonad-photo-olpc.jpg|200px|A photo of xmonad running on the XO|center]] | ||
| + | |||
| + | I got xmonad 0.7 running on an XO. I'm sure there are easier ways, but I compiled on the XO as instructed in the wiki. ghc and libX11-devel were available in yum. I had to mkswap on an SD card for things to compile in non-geologic time. | ||
| + | |||
| + | then, make a .xsession file in $HOME that says: | ||
| + | <pre> | ||
| + | PATH=/home/olpc/bin/xmonad:$PATH #so Mod-q works | ||
| + | /home/olpc/bin/xmonad | ||
| + | exit 0 # so normal olpc-session doesn't continue | ||
| + | </pre> | ||
| + | |||
| + | The one major issue (which is now fixed in darcs) is that xmonad crashes when non-named colors are referred to. So a minimal xmonad.hs was required that sets normalBorderColor and focusedBorderColor to named colors. | ||
Current revision
xmonad on the XO
I got xmonad 0.7 running on an XO. I'm sure there are easier ways, but I compiled on the XO as instructed in the wiki. ghc and libX11-devel were available in yum. I had to mkswap on an SD card for things to compile in non-geologic time.
then, make a .xsession file in $HOME that says:
PATH=/home/olpc/bin/xmonad:$PATH #so Mod-q works /home/olpc/bin/xmonad exit 0 # so normal olpc-session doesn't continue
The one major issue (which is now fixed in darcs) is that xmonad crashes when non-named colors are referred to. So a minimal xmonad.hs was required that sets normalBorderColor and focusedBorderColor to named colors.
