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 Usando o scrotwm no Windows/cygwin<p>
11 <a href="cygwin.html">In English</a>
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.
19 Compile o scrotwm do diretório linux do snapshot:
25 <pre>sudo make install</pre>
28 <a href="http://tools.suckless.org/dmenu/">dmenu</a>
29 e aplique o patch no config.mk com:
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
37 CPPFLAGS = -D_BSD_SOURCE -DVERSION=\"${VERSION}\" ${XINERAMAFLAGS}
38 -CFLAGS = -std=c99 -pedantic -Wall -Os ${INCS} ${CPPFLAGS}
39 +CFLAGS = -Wall -Os ${INCS} ${CPPFLAGS}
48 <pre>sudo make install</pre>
49 Crie um .xinitrc no diretório home do usuário e adicione ao menos a seguinte linha:
51 exec /usr/local/bin/scrotwm
53 Se a estúpida barra de menu no xterm te irritar adicione a seguinte linha
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>