From 6d119e6c62f510ac956e3763f388f96dfb5f47db Mon Sep 17 00:00:00 2001 From: Zebra2711 Date: Sun, 22 Mar 2026 00:59:50 +0700 Subject: [PATCH] docs: use unix:path=$XDG_RUNTIME_DIR/bus instead --- README.en.md | 4 ++-- README.md | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/README.en.md b/README.en.md index b16fd40..6c6a068 100644 --- a/README.en.md +++ b/README.en.md @@ -492,11 +492,11 @@ Add this line to file `~/.config/kanata/kanata.kbd` Add this line to `/etc/environment` to fix input issues for X11/XCB applications on Wayland: ```sh -DBUS_SESSION_BUS_ADDRESS="autolaunch:" +DBUS_SESSION_BUS_ADDRESS=unix:path=$XDG_RUNTIME_DIR/bus ``` Or set the env in your DE/WM config (Recommended). -Example for Hyprland: `env = DBUS_SESSION_BUS_ADDRESS,autolaunch:` +Example for Hyprland: `env = DBUS_SESSION_BUS_ADDRESS,unix:path=$XDG_RUNTIME_DIR/bus` diff --git a/README.md b/README.md index d8eceec..52c228e 100644 --- a/README.md +++ b/README.md @@ -491,11 +491,11 @@ Thêm dòng sau vào file `~/.config/kanata/kanata.kbd` Thêm dòng sau vào `/etc/environment` để fix lỗi không gõ được trên app x11/xcb trên wayland ```sh -DBUS_SESSION_BUS_ADDRESS="autolaunch:" +DBUS_SESSION_BUS_ADDRESS=unix:path=$XDG_RUNTIME_DIR/bus ``` Hoặc set env trong config của DE/WM (Khuyên dùng). -Ví dụ Hyprland: `env = DBUS_SESSION_BUS_ADDRESS,autolaunch:` +Ví dụ Hyprland: `env = DBUS_SESSION_BUS_ADDRESS,unix:path=$XDG_RUNTIME_DIR/bus`