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>
11 <a href=
"cygwin_pt.html">Em Português
</a>
14 <body bgcolor=
"#101010" text=
"#ffffff">
15 A port to Windows/cygwin was created to make Windows useful for UNIX people.
16 Following are the compilation and installation steps.
18 Compile scrotwm from the linux directory of the snapshot:
24 <pre>sudo make install
</pre>
27 <a href=
"http://tools.suckless.org/dmenu/">dmenu
</a>
28 and patch config.mk with:
30 $ diff -uNp config.mk.old config.mk
31 --- config.mk.old
2010-
01-
11 16:
23:
55.503440600 -
0600
32 +++ config.mk
2010-
01-
11 16:
24:
04.300315600 -
0600
33 @@ -
20,
7 +
20,
7 @@ LIBS = -L/usr/lib -lc -L${X11LIB} -lX11
36 CPPFLAGS = -D_BSD_SOURCE -DVERSION=\
"${VERSION}\" ${XINERAMAFLAGS}
37 -CFLAGS = -std=c99 -pedantic -Wall -Os ${INCS} ${CPPFLAGS}
38 +CFLAGS = -Wall -Os ${INCS} ${CPPFLAGS}
47 <pre>sudo make install
</pre>
48 Create a .xinitrc in the home dir of the user and add at least the following line:
50 exec /usr/local/bin/scrotwm
52 If the stupid menu bar in xterm angers you add the folowing line to ~/.Xdefaults
58 This all results in scrotwm bliss!
<p>
59 <a href=
"cygwin.png"><img border=
0 src=
"cygwin_small.png" alt=
"[scrotwm]"></a><br>