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