OpenBSD Journal

xmonad 0.3 and OpenBSD -current

Contributed by merdely on from the xgooeyness dept.

Andrei GUDIU writes about his experiences getting xmonad 0.3 running on OpenBSD -current. Xmonad is a tiling window manager for X written in Haskell.

Hello,
Last week I decided to switch to xmonad, I started to do a little research about it and found out that xmonad 0.3 is what I want.

He goes on to explain what he did to get version 0.3 running.

I know xmonad 0.2 is in the ports but I want the floating layer that xmonad 0.3 has. For 0.3 I needed a new ghc so I decided to switch to OpenBSD -current. I grabbed the sources, compiled a new kernel and a new userland. Got the new ports and compiled ghc. Grabbed xmonad and hs-x11-extras and compiled the new xmonad 0.3. Well, now I'm a happy xmonad 0.3 user on a shiny new 4.2.

I started using dzen2, xmobar and kept the gkrellm I had on windowmaker. So after reading lots of docs and tutorials I thought I'd like to give something back. I wrote a small tutorial, actually a little story of my xmonad 0.3 on openbsd. It contains my configuration files and some shell/perl scripts for dzen.

Andrei's write-up, his configuration examples and his scripts are available on his web site.

(Comments are closed)


Comments
  1. By Matthias Kilian (194.114.62.34) kili@openbsd.org on

    Well, hs-x11-extras-0.3 is already in the tree for some days, so please check wether your local copy of the ports tree is really up-to-date.

    Also note that I hope to get xmonad-0.3 ready for ports in a few days; maybe I'll add some features from xmonad-contrib, but I'm not quite sure *which* features...

    Comments
    1. By Simon (2001:a60:f000:57::2) on

      > Well, hs-x11-extras-0.3 is already in the tree for some days, so please check wether your local copy of the ports tree is really up-to-date.
      >
      > Also note that I hope to get xmonad-0.3 ready for ports in a few days; maybe I'll add some features from xmonad-contrib, but I'm not quite sure *which* features...

      But afterall it's a good thing to know, as there will be times when you want xmonad with your own Configure.hs and then you can't just use the Ports version, right?

      Comments
      1. By Matthias Kilian (91.3.54.235) kili@openbsd.org on

        > But afterall it's a good thing to know, as there will be times when
        > you want xmonad with your own Configure.hs and then you can't just
        > use the Ports version, right?

        Kind off, but IIRC there where some suggestions on the mailing lists to use runhaskell for launching xmonad, i.e. interpreting the Config.hs and some minimal Main.hs while loading the core xmonad stuff from a compiled library. Personally i don't like this approach, but let's just wait what happens. And let's hope that some slackass will port the haskell stuff to some more platforms soon instead of posting at undeadly ;-)

Latest Articles

Credits

Copyright © - Daniel Hartmeier. All rights reserved. Articles and comments are copyright their respective authors, submission implies license to publish on this web site. Contents of the archive prior to as well as images and HTML templates were copied from the fabulous original deadly.org with Jose's and Jim's kind permission. This journal runs as CGI with httpd(8) on OpenBSD, the source code is BSD licensed. undeadly \Un*dead"ly\, a. Not subject to death; immortal. [Obs.]