and 
The story of little xmonad in the deep waters of the big bad Puffy
This page is quite under construction since yesterday (20-Sept-2007)and YES it's the same css, the same format as xmonad.org.
all about painxmonad 0.2 is in the ports. Nice. Do I want that ? No. Why ? Well because it does not support the shiny new floating layer and because I wanted to hurt myself. If you wonder what a floating layer is then you are in the wrong place my friend. This page could hurt you and your cute OpenBSD box.what you need to do
So, here we are wanting to install the new xmonad 0.3 with floating layer features. I have to mention that I had an OpenBSD 4.1 and I upgraded it to -current. I am not going to detail the upgrade process it's all explained in the FAQ, I used that you sould use that too. What am I going to to is... well, I'm going to tell a story of my xmonad installation. After you have the new OpenBSD -current ready and running, update the ports and install ghc. I installed my xmonad with $PREFIX=$HOME which means that I have a ./bin directory in my $HOME which contains the xmonad binaries. I did this because I didn't want to install xmonad out in the system, it's more clean for me since the installer of xmonad is capable of installing binaries in my home using the --user argument. There are some dependecies to xmonad, most likely you have some of them installed since you installed ghc. I needed only the hs-X11-extras. Assuming you already got the package, unpack it: tar xzvf X11-extras-0.3.tar.gz Now, unpack xmonad: tar xzvf xmonad-0.3.tar.gz Now you should have a binary xmonad in ${HOME}/bin. We'll use that with ${HOME}/.xinitrc for starting the windowmanager at X start. My .xinitrc looks something like this:
#set keyboard repeat rate. I like it fast !
cd /usr/ports/www/p5-Weather-Com And now a little bit about DeManage (Spencer Janssen's module) from Contrib and gkrellm...Well first you need the DeManage module Spencer Janssen has written. I advise you to grab the whole (XMonadContrib-0.3) package of extensions and place them in the xmonad-0.3 folder. The xmonad-0.3 folder is the one you unpacked from xmonad-0.3.tar.gz, it's where your xmonad sources are. I keed this folder right in my ${HOME} named xmonad. You may have noticed that already in my shell scripts. So now you should have the XMonadContrib folder in your xmonad sources folder. As Spencer Janssen stated in the souce of his module, DeManage "provides a method to cease management of a window, without unmapping it. This is especially useful for applications like kicker and gnome-panel."To make a panel display correctly with xmonad:
My defaultGaps looks like this (find defaultGaps in your Config.hs): defaultGaps = [(12,15,0,48)] defaultGaps explained:
import XMonadContrib.DeManage
runhaskell Setup.lhs build ...and a little about unmanage.c (Robert Manea's unmanage tool) and gkrellm.Robert Manea has written a tool to unmanage a window given it's window id. You could do this to automatically unmanage gkrellm after placing it in the gap whithout installing Spencer Janssen's DeManage module. You can get unmanage.c here.On OpenBSD, compile unmanage with: cc -L/usr/X11R6/lib/ -I/usr/X11R6/include -lc -lX11 -o unmanage unmanage.c To start "unmanaging" gkrellm automatically place the following after the call to gkrellm in your .xinitrc:UNMANAGEME="gkrellm" ${HOME}/bin/unmanage `xwininfo -name "$UNMANAGEME" | sed -e 's/^xwininfo: Window id: \(0x[0-9abcdef]*\).*/\1/p;d'` You can replace "gkrellm" with any panel name, of course. |