]> code.delx.au - spectrwm/blob - html/osx.html
Add portugese from Alicornio <alicornio@ig.com.br>
[spectrwm] / html / osx.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 OSX<p>
10 <small>
11 <a href="osx_pt.html">Em Português</a>
12 <p>
13 </small>
14 <body bgcolor="#101010" text="#ffffff">
15 A port to OSX was created to make OSX useful for UNIX people.
16 Following are the compilation and installation steps.
17 <p>
18 Compile scrotwm from the osx directory of the snapshot:
19 <pre>
20 cd osx
21 make
22 </pre>
23 <p>
24 To compile scrotwm on OSX 10.5 edit the Makefile and replace:
25 <pre>
26 libswmhack.so.$(LVERS): swm_hack.so
27 $(CC) -shared -fpic -o libswmhack.so.$(LVERS) $(LDADD) swm_hack.so
28 </pre>
29 With:
30 <pre>
31 libswmhack.so.$(LVERS): swm_hack.so
32 $(CC) -shared -bundle -fpic -o libswmhack.so.$(LVERS) $(LDADD) swm_hack.so
33 </pre>
34 <p>
35 Install scrotwm:
36 <pre>sudo make install</pre>
37 <br>
38 Download
39 <a href="http://tools.suckless.org/dmenu/">dmenu</a>
40 and 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 scrotwm
47 </pre>
48 Set the X11 preferences of OSX to the following:
49 <center>
50 <img border=0 src="osx1.png" alt="[osx1]"><br>
51 <img border=0 src="osx2.png" alt="[osx2]"><br>
52 <img border=0 src="osx3.png" alt="[osx3]"><br>
53 <img border=0 src="osx4.png" alt="[osx4]"><br>
54 <img border=0 src="osx5.png" alt="[osx5]"><br>
55 This all results in scrotwm bliss!<br>
56 <a href="osx.jpg"><img border=0 src="osx_small.jpg" alt="[scrotwm]"></a><br>
57 </center>
58 <p>
59 <small>
60 $scrotwm$
61 </small>
62 </body>