xim: run server inside strans
This commit is contained in:
17
README.md
17
README.md
@@ -40,9 +40,8 @@ make docker-check
|
||||
Build output:
|
||||
|
||||
```text
|
||||
strans daemon and IBus frontend
|
||||
xim/strans-xim XIM frontend
|
||||
gtk/im-strans.so GTK 3 frontend
|
||||
strans daemon with IBus and XIM frontends
|
||||
gtk/im-strans.so GTK 3 frontend module
|
||||
```
|
||||
|
||||
Use `make docker-check TESTARGS=hangul` to run selected C tests. Native
|
||||
@@ -57,16 +56,16 @@ from the build tree:
|
||||
|
||||
```sh
|
||||
./run.sh
|
||||
# daemon only
|
||||
# equivalently
|
||||
./strans map
|
||||
```
|
||||
|
||||
Pango shapes the complete string and selects glyph fallback from the system
|
||||
font set.
|
||||
|
||||
The popup renderer requires Pango/PangoCairo 1.56 or newer and Cairo 1.18 or
|
||||
newer. `run.sh` starts the daemon and, when `DISPLAY` is set, the XIM frontend.
|
||||
It restarts existing `strans` processes owned by the current user.
|
||||
The popup renderer uses Pango/PangoCairo and Cairo. When `DISPLAY` is set,
|
||||
`strans` starts its XIM worker in the same process. `run.sh` restarts the
|
||||
existing `strans` process owned by the current user.
|
||||
|
||||
Configure clients as needed:
|
||||
|
||||
@@ -82,8 +81,8 @@ GLFW_IM_MODULE=ibus kitty
|
||||
```
|
||||
|
||||
strans provides its own IBus endpoint; `ibus-daemon` and fcitx are not
|
||||
required. Without `DISPLAY`, the daemon and IBus frontend still work, but the
|
||||
popup is disabled.
|
||||
required. Without `DISPLAY`, the daemon and IBus frontend still work, but XIM
|
||||
is not started and the popup is disabled.
|
||||
|
||||
## Dictionary data
|
||||
|
||||
|
||||
Reference in New Issue
Block a user