]> code.delx.au - spectrwm/blob - html/cygwin.html
Add portugese from Alicornio <alicornio@ig.com.br>
[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 <small>
11 <a href="cygwin_pt.html">Em Português</a>
12 <p>
13 </small>
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.
17 <p>
18 Compile scrotwm from the linux directory of the snapshot:
19 <pre>
20 cd linux
21 make
22 </pre>
23 Install scrotwm:
24 <pre>sudo make install</pre>
25 <br>
26 Download
27 <a href="http://tools.suckless.org/dmenu/">dmenu</a>
28 and patch config.mk with:
29 <pre>
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
34
35 # flags
36 CPPFLAGS = -D_BSD_SOURCE -DVERSION=\"${VERSION}\" ${XINERAMAFLAGS}
37 -CFLAGS = -std=c99 -pedantic -Wall -Os ${INCS} ${CPPFLAGS}
38 +CFLAGS = -Wall -Os ${INCS} ${CPPFLAGS}
39 LDFLAGS = -s ${LIBS}
40
41 # Solaris
42
43 </pre>
44 Compile it:
45 <pre>make</pre>
46 Install dmenu:
47 <pre>sudo make install</pre>
48 Create a .xinitrc in the home dir of the user and add at least the following line:
49 <pre>
50 exec /usr/local/bin/scrotwm
51 </pre>
52 If the stupid menu bar in xterm angers you add the folowing line to ~/.Xdefaults
53 <pre>
54 xterm.ToolBar: false
55 </pre>
56 <p>
57 <center>
58 This all results in scrotwm bliss!<p>
59 <a href="cygwin.png"><img border=0 src="cygwin_small.png" alt="[scrotwm]"></a><br>
60 </center>
61 <p>
62 <small>
63 $scrotwm$
64 </small>
65 </body>