]> code.delx.au - spectrwm/blob - html/cygwin_pt.html
Add portugese from Alicornio <alicornio@ig.com.br>
[spectrwm] / html / cygwin_pt.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 Usando o scrotwm no Windows/cygwin<p>
10 <small>
11 <a href="cygwin.html">In English</a>
12 <p>
13 </small>
14 <body bgcolor="#101010" text="#ffffff">
15 Um port para Windows/cygwin foi criado para fazer o Windows útil
16 para o pessoal do UNIX.
17 A seguir estão os passos para a compilação e a instalação.
18 <p>
19 Compile o scrotwm do diretório linux do snapshot:
20 <pre>
21 cd linux
22 make
23 </pre>
24 Instale o scrotwm:
25 <pre>sudo make install</pre>
26 <br>
27 Baixe o
28 <a href="http://tools.suckless.org/dmenu/">dmenu</a>
29 e aplique o patch no config.mk com:
30 <pre>
31 $ diff -uNp config.mk.old config.mk
32 --- config.mk.old 2010-01-11 16:23:55.503440600 -0600
33 +++ config.mk 2010-01-11 16:24:04.300315600 -0600
34 @@ -20,7 +20,7 @@ LIBS = -L/usr/lib -lc -L${X11LIB} -lX11
35
36 # flags
37 CPPFLAGS = -D_BSD_SOURCE -DVERSION=\"${VERSION}\" ${XINERAMAFLAGS}
38 -CFLAGS = -std=c99 -pedantic -Wall -Os ${INCS} ${CPPFLAGS}
39 +CFLAGS = -Wall -Os ${INCS} ${CPPFLAGS}
40 LDFLAGS = -s ${LIBS}
41
42 # Solaris
43
44 </pre>
45 Compile:
46 <pre>make</pre>
47 Instale o dmenu:
48 <pre>sudo make install</pre>
49 Crie um .xinitrc no diretório home do usuário e adicione ao menos a seguinte linha:
50 <pre>
51 exec /usr/local/bin/scrotwm
52 </pre>
53 Se a estúpida barra de menu no xterm te irritar adicione a seguinte linha
54 no ~/.Xdefaults
55 <pre>
56 xterm.ToolBar: false
57 </pre>
58 <p>
59 <center>
60 Tudo isso resulta no êxtase do scrotwm!<p>
61 <a href="cygwin.png"><img border=0 src="cygwin_small.png" alt="[scrotwm]"></a><br>
62 </center>
63 <p>
64 <small>
65 $scrotwm$
66 </small>
67 </body>