diff options
| author | Martin Tournoij <martin@arp242.net> | |
|---|---|---|
| 2020-06-07 14:50:50 +0800 | ||
| committer | Martin Tournoij <martin@arp242.net> | |
| 2020-06-07 14:51:02 +0800 | ||
| commit | da5b4d965dc556f8cd8034049f7249cbbcc7118e (patch) | |
| tree | 74565770d64d23c82cceb03773d820d2d845d81e /README.md | |
| parent | 8c0afa7c738752c18970209365fd289b1005008a (diff) | |
| download | dwl-da5b4d965dc556f8cd8034049f7249cbbcc7118e.tar.gz dwl-da5b4d965dc556f8cd8034049f7249cbbcc7118e.tar.bz2 dwl-da5b4d965dc556f8cd8034049f7249cbbcc7118e.zip | |
Add startup errors, mention XDG_RUNTIME_DIR in README
It was just exiting with code 1 for me. The problem turned out to be
that you *need* to set XDG_RUNTIME_DIR or it won't work (I think e.g.
systemd does that for you, but on Void it's not set by default), so
mention that in the README.
@@ -74,6 +74,10 @@ this process a SIGTERM and wait for it to terminate (if it hasn't already). This makes it ideal not only for initialization but also for execing into a user-level service manager like s6 or `systemd --user`. +You'll have to explicitly set `XDG_RUNTIME_DIR` if your system doesn't do it for +you, e.g. `export XDG_RUNTIME_DIR=/tmp/xdg-runtime-$USER && mkdir -p +$XDG_RUNTIME_DIR`. + More/less verbose output can be requested with flags as well: * `-q`: quiet (log level WLR_SILENT) |