From 42aff71ce04153fda62eb40b4b651f7410423e25 Mon Sep 17 00:00:00 2001 From: CoprDistGit Date: Tue, 24 Jun 2025 01:19:15 +0000 Subject: automatic import of fcitx5 --- fcitx5.sh | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100755 fcitx5.sh (limited to 'fcitx5.sh') diff --git a/fcitx5.sh b/fcitx5.sh new file mode 100755 index 0000000..f121213 --- /dev/null +++ b/fcitx5.sh @@ -0,0 +1,10 @@ +if [ ! "$XDG_SESSION_TYPE" = "tty" ] # if this is a gui session (not tty) +then + # let's use fcitx instead of fcitx5 to make flatpak happy + # this may break behavior for users who have installed both + # fcitx and fcitx5, let then change the file on their own + export INPUT_METHOD=fcitx + export GTK_IM_MODULE=fcitx + export QT_IM_MODULE=fcitx + export XMODIFIERS=@im=fcitx +fi -- cgit v1.2.3