Using scrotwm on Windows/cygwin

Em Português

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

Compile scrotwm from the linux directory of the snapshot:

cd linux
make
Install scrotwm:
sudo make install

Download dmenu and patch config.mk with:
$ diff -uNp config.mk.old config.mk
--- config.mk.old       2010-01-11 16:23:55.503440600 -0600
+++ config.mk   2010-01-11 16:24:04.300315600 -0600
@@ -20,7 +20,7 @@ LIBS = -L/usr/lib -lc -L${X11LIB} -lX11 

# flags
CPPFLAGS = -D_BSD_SOURCE -DVERSION=\"${VERSION}\" ${XINERAMAFLAGS}
-CFLAGS = -std=c99 -pedantic -Wall -Os ${INCS} ${CPPFLAGS}
+CFLAGS = -Wall -Os ${INCS} ${CPPFLAGS}
LDFLAGS = -s ${LIBS}

# Solaris

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 /usr/local/bin/scrotwm
If the stupid menu bar in xterm angers you add the folowing line to ~/.Xdefaults
xterm.ToolBar:          false

This all results in scrotwm bliss!

[scrotwm]

$scrotwm$