spectrwm/html/cygwin.html
Marco Peereboom aaee1e4644 Add portugese from Alicornio <alicornio@ig.com.br>
Update engrish man page while at it.
2010-09-16 02:00:51 +00:00

65 lines
1.7 KiB
HTML

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<title>Scrotwm</title>
<meta name="Generator" content="Vim/7.1">
<meta http-equiv="content-type" content="text/html; charset=iso-8859-1">
</head>
Using scrotwm on Windows/cygwin<p>
<small>
<a href="cygwin_pt.html">Em Português</a>
<p>
</small>
<body bgcolor="#101010" text="#ffffff">
A port to Windows/cygwin was created to make Windows useful for UNIX people.
Following are the compilation and installation steps.
<p>
Compile scrotwm from the linux directory of the snapshot:
<pre>
cd linux
make
</pre>
Install scrotwm:
<pre>sudo make install</pre>
<br>
Download
<a href="http://tools.suckless.org/dmenu/">dmenu</a>
and patch config.mk with:
<pre>
$ diff -uNp config.mk.old config.mk
--- config.mk.old 2010-01-11 16:23:55.503440600 -0600
+++ config.mk 2010-01-11 16:24:04.300315600 -0600
@@ -20,7 +20,7 @@ LIBS = -L/usr/lib -lc -L${X11LIB} -lX11
# flags
CPPFLAGS = -D_BSD_SOURCE -DVERSION=\"${VERSION}\" ${XINERAMAFLAGS}
-CFLAGS = -std=c99 -pedantic -Wall -Os ${INCS} ${CPPFLAGS}
+CFLAGS = -Wall -Os ${INCS} ${CPPFLAGS}
LDFLAGS = -s ${LIBS}
# Solaris
</pre>
Compile it:
<pre>make</pre>
Install dmenu:
<pre>sudo make install</pre>
Create a .xinitrc in the home dir of the user and add at least the following line:
<pre>
exec /usr/local/bin/scrotwm
</pre>
If the stupid menu bar in xterm angers you add the folowing line to ~/.Xdefaults
<pre>
xterm.ToolBar: false
</pre>
<p>
<center>
This all results in scrotwm bliss!<p>
<a href="cygwin.png"><img border=0 src="cygwin_small.png" alt="[scrotwm]"></a><br>
</center>
<p>
<small>
$scrotwm$
</small>
</body>