]> code.delx.au - spectrwm/blob - html/cygwin.html
cee18db481c5ae622630480e2ba8109b92b1e4f9
[spectrwm] / html / cygwin.html
1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
2 "http://www.w3.org/TR/html4/loose.dtd">
3 <html>
4 <head>
5 <title>Scrotwm</title>
6 <meta name="Generator" content="Vim/7.1">
7 <meta http-equiv="content-type" content="text/html; charset=iso-8859-1">
8 </head>
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.
13 <p>
14 Compile scrotwm from the linux directory of the snapshot:
15 <pre>
16 cd linux
17 make
18 </pre>
19 Install scrotwm:
20 <pre>sudo make install</pre>
21 <br>
22 Download
23 <a href="http://tools.suckless.org/dmenu/">dmenu</a>
24 and patch config.mk with:
25 <pre>
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
30
31 # flags
32 CPPFLAGS = -D_BSD_SOURCE -DVERSION=\"${VERSION}\" ${XINERAMAFLAGS}
33 -CFLAGS = -std=c99 -pedantic -Wall -Os ${INCS} ${CPPFLAGS}
34 +CFLAGS = -Wall -Os ${INCS} ${CPPFLAGS}
35 LDFLAGS = -s ${LIBS}
36
37 # Solaris
38
39 </pre>
40 Compile it:
41 <pre>make</pre>
42 Install dmenu:
43 <pre>sudo make install</pre>
44 Create a .xinitrc in the home dir of the user and add at least the following line:
45 <pre>
46 exec /usr/local/bin/scrotwm
47 </pre>
48 If the stupid menu bar in xterm angers you add the folowing line to ~/.Xdefaults
49 <pre>
50 xterm.ToolBar: false
51 </pre>
52 <p>
53 <center>
54 This all results in scrotwm bliss!<p>
55 <a href="cygwin.png"><img border=0 src="cygwin_small.png" alt="[scrotwm]"></a><br>
56 </center>
57 <p>
58 <small>
59 $scrotwm$
60 </small>
61 </body>