From a07e001ac9c52b03b60aac78de5e095a8ba0b1f0 Mon Sep 17 00:00:00 2001 From: rydesun Date: Sat, 24 Jul 2021 19:16:27 +0800 Subject: [PATCH] Use fcitx5 --- .config/systemd/user/fcitx.service | 2 +- .pam_environment | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/.config/systemd/user/fcitx.service b/.config/systemd/user/fcitx.service index 3472166..9a201fe 100644 --- a/.config/systemd/user/fcitx.service +++ b/.config/systemd/user/fcitx.service @@ -4,7 +4,7 @@ Description=Input method framework [Service] Type=forking Environment="LANG=zh_CN.UTF-8" -ExecStart=/usr/bin/fcitx-autostart +ExecStart=/usr/bin/fcitx5 -d [Install] WantedBy=Xorg.target diff --git a/.pam_environment b/.pam_environment index 24ab314..b394b70 100644 --- a/.pam_environment +++ b/.pam_environment @@ -18,6 +18,9 @@ QT_QPA_PLATFORMTHEME DEFAULT=qt5ct GTK_IM_MODULE DEFAULT=fcitx QT_IM_MODULE DEFAULT=fcitx XMODIFIERS DEFAULT=@im=fcitx +INPUT_METHOD DEFAULT=fcitx +SDL_IM_MODULE DEFAULT=fcitx +GLFW_IM_MODULE DEFAULT=ibus # firefox # Enable VA-API support