-
Install X11.app (it's on the OS X install disk or something.)
-
Install
dwm
. Either with Homebrew,brew install dwm
, or from source. -
Add the following script to $PATH, name it
dwm-launch
andchmod 755
:while true do xsetroot -name "`date +"%Y-%m-%d %H:%M"`" sleep 5 done & exec /usr/local/bin/dwm
-
Add the following to
~/.xinitrc
:$PATH=$PATH:/usr/local/bin xsetroot -solid '#4a525a' xmodmap -e 'remove Mod2 = Meta_L' -e 'add Mod1 = Meta_L' exec >>~/.xsession-errors 2>&1 ~/bin/dwm-launch
-
Start X11.app.
dwm
should start. We need to change a few settings to make copy/paste between X11 <-> Aqua work. Go toX11 -> Preferences...
and enableEmulate three button mouse
underInput
. Next, enable everything underPasteboard
.In X11 you copy text by selecting it with the mouse, and you paste by pressing
Alt
and clicking the mouse.
-
After some time you might not be able to open new terminals. This has something to do with permissions, and can be fixed with
xhost +
. Do you know a permanent solution? -
When you start a new terminal, the working directory is
/
. Slightly annoying.