From 5a6f352d72c670ef39a8fab030f913b765d5d258 Mon Sep 17 00:00:00 2001 From: Hojun-Cho Date: Mon, 17 Aug 2026 10:59:21 +0900 Subject: [PATCH] docs: where clients find the daemon --- README.md | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 1dfa05c..a54d5d4 100644 --- a/README.md +++ b/README.md @@ -143,7 +143,11 @@ from the build tree: build-tree daemon in the background, and returns to the shell. It requires `pkill` from procps. Startup and frontend failures remain visible on the caller's standard error. A service supervisor should instead run -`./strans map` directly in the foreground. +`./strans map` directly in the foreground, with the session's +`XDG_RUNTIME_DIR` and `DISPLAY`: the GTK module finds the daemon at +`$XDG_RUNTIME_DIR/strans.sock` (else `/tmp/strans.UID`), and IBus clients +through the address file libibus expects under `~/.config/ibus/bus/`, +which strans writes as `ibus-daemon` would. The build does not copy or install the daemon or its data. `./strans DIR` opens `hira.map`, `kata.map`, `telex.map`, `kanji.dict`, `emoji.dict`, and