1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
2 "http://www.w3.org/TR/html4/loose.dtd">
6 <meta name="Generator" content="Vim/7.1">
7 <meta http-equiv="content-type" content="text/html; charset=iso-8859-1">
9 Using scrotwm on Windows/cygwin<p>
10 <body bgcolor="#101010" text="#ffffff">
11 A port to Windows/cygwin was created to make Windows useful for UNIX people.
12 Following are the compilation and installation steps.
14 Compile scrotwm from the linux directory of the snapshot:
20 <pre>sudo make install</pre>
23 <a href="http://tools.suckless.org/dmenu/">dmenu</a>
24 and patch config.mk with:
26 $ diff -uNp config.mk.old config.mk
27 --- config.mk.old 2010-01-11 16:23:55.503440600 -0600
28 +++ config.mk 2010-01-11 16:24:04.300315600 -0600
29 @@ -20,7 +20,7 @@ LIBS = -L/usr/lib -lc -L${X11LIB} -lX11
32 CPPFLAGS = -D_BSD_SOURCE -DVERSION=\"${VERSION}\" ${XINERAMAFLAGS}
33 -CFLAGS = -std=c99 -pedantic -Wall -Os ${INCS} ${CPPFLAGS}
34 +CFLAGS = -Wall -Os ${INCS} ${CPPFLAGS}
43 <pre>sudo make install</pre>
44 Create a .xinitrc in the home dir of the user and add at least the following line:
46 exec /usr/local/bin/scrotwm
48 If the stupid menu bar in xterm angers you add the folowing line to ~/.Xdefaults
54 This all results in scrotwm bliss!<p>
55 <a href="cygwin.png"><img border=0 src="cygwin_small.png" alt="[scrotwm]"></a><br>