Using scrotwm on OSX

Em Português

A port to OSX was created to make OSX useful for UNIX people. Following are the compilation and installation steps.

Compile scrotwm from the osx directory of the snapshot:

cd osx
make

To compile scrotwm on OSX 10.5 edit the Makefile and replace:

libswmhack.so.$(LVERS): swm_hack.so
	$(CC) -shared -fpic -o libswmhack.so.$(LVERS) $(LDADD) swm_hack.so
With:
libswmhack.so.$(LVERS): swm_hack.so
	$(CC) -shared -bundle -fpic -o libswmhack.so.$(LVERS) $(LDADD) swm_hack.so

Install scrotwm:

sudo make install

Download dmenu and compile it:
make
Install dmenu:
sudo make install
Create a .xinitrc in the home dir of the user and add at least the following line:
exec scrotwm
Set the X11 preferences of OSX to the following:
[osx1]
[osx2]
[osx3]
[osx4]
[osx5]
This all results in scrotwm bliss!
[scrotwm]

$scrotwm$