aboutsummaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorTony Crisci <tony@dubstepdish.com>2017-11-16 15:39:48 -0500
committerTony Crisci <tony@dubstepdish.com>2017-11-16 15:41:11 -0500
commita446f735aea6f294bc75a1675f191521d45ed2d0 (patch)
tree113f034660476cbe59f7209dd981401d46b1ce4d /README.md
parentbfcbe99cd55f296c09f97ead043ce833e82410e1 (diff)
readme: add basic running doc
Diffstat (limited to 'README.md')
-rw-r--r--README.md22
1 files changed, 22 insertions, 0 deletions
diff --git a/README.md b/README.md
index 0f221e3c..721265ae 100644
--- a/README.md
+++ b/README.md
@@ -33,3 +33,25 @@ Run these commands:
ninja -C build
(On FreeBSD, you need to pass an extra flag to prevent a linking error: `meson build -D b_lundef=false`)
+
+## Running the Reference Compositor
+
+wlroots comes with a reference compositor called rootston that demonstrates the
+features of the library.
+
+After building, run rootston from a terminal or VT with:
+
+ ./build/rootston/rootston
+
+Run windows on the compositor with the display variable set:
+
+```bash
+# run gtk apps like this
+gnome-calculator --display=wayland-0
+
+# run QT apps like this
+qgit -platform wayland
+
+# run X11 apps like this
+DISPLAY=:1 firefox
+```