termux / termux-packages

A package build system for Termux.
https://termux.dev
Other
13.08k stars 3k forks source link

[Bug]: Can't switch USB keyboard language in fcitx5 #19775

Open hansm629 opened 5 months ago

hansm629 commented 5 months ago

Problem description

Screenshot_2024-04-09_21-47-08 Screenshot_2024-04-09_21-47-54

pkg install fcitx5*

In the Termux native XFCE desktop environment (Samsung DeX Mode) After installing fcitx5 using the above command,

From USB keyboard Via Shift + Space or Ctrl + Spece or right Alt key I tried switching between Korean and English, but it doesn't work.

Screenshot_20240409_220401_TermuxX11

Even though “Prefer scancodes” is set in Termux-X11 It doesn't work.

in 'PRoot-Distro Debian environment` If you test it after installing ibus or fcitx5,

Shift + Space or Ctrl + Spece or right Alt key Switching between Korean and English works very well.

If this symptom is not a bug Are there any settings I missed?

Come to think of it Generally, in Linux, there is a separate fcitx5-hangul package for Korean language support. It appears that this package does not exist in fcitx5 ported to Termux.

Could this have anything to do with it?

What steps will reproduce the bug?

What is the expected behavior?

There is nothing left to guess.

System information

termux-info:

Termux Variables:
TERMUX_API_VERSION=0.50.1
TERMUX_APK_RELEASE=F_DROID
TERMUX_APP_PACKAGE_MANAGER=apt
TERMUX_APP_PID=22732
TERMUX_IS_DEBUGGABLE_BUILD=0
TERMUX_MAIN_PACKAGE_FORMAT=debian
TERMUX_VERSION=0.118.0
TERMUX__USER_ID=0
Packages CPU architecture:
aarch64
Subscribed repositories:
# sources.list
deb https://mirrors.pku.edu.cn/termux/termux-main/ stable main
# tur-repo (sources.list.d/tur.list)
deb https://tur.kcubeterm.com tur-packages tur tur-on-device tur-continuous
# x11-repo (sources.list.d/x11.list)
deb https://mirrors.pku.edu.cn/termux/termux-x11/ x11 main
Updatable packages:
termux-x11-nightly/x11 1.03.00-4 all [upgradable from: 1.03.00-0]
termux-tools version:
1.42.0
Android version:
14
Kernel build information:
Linux localhost 6.1.43-android14-11-abS926NKSU1AXCA #1 SMP PREEMPT Sun Mar 17 10:24:49 UTC 2024 aarch64 Android
Device manufacturer:
samsung
Device model:
SM-S926N
LD Variables:
LD_LIBRARY_PATH=
LD_PRELOAD=/data/data/com.termux/files/usr/lib/libtermux-exec.so
Installed termux plugins:
com.termux.widget versionCode:13
com.termux.x11 versionCode:14
com.termux.api versionCode:51
twaik commented 5 months ago

No need to open issue more than once. Duplicate of #19717.

hansm629 commented 5 months ago

@twaik Since the previous issue was a simple question, I will close it.

No matter what I try, switching keyboard languages fails.

twaik commented 5 months ago

Ok, so I am closing previous issue in prior to this one.

hansm629 commented 5 months ago

@twaik Thank you. Do you have any guesses regarding this issue?

I think I saw a case of successful conversion to Chinese through fcitx5. It seems that the Korean language cannot be converted.

twaik commented 5 months ago

I have no idea. I never used fcitx or ibus because all languages I speak do not need custom input methods (I mean which are not part of X server). And have no experience in configuring them.

hansm629 commented 5 months ago

@twaik May I know who is the developer who ported fctix5 in the current Termux team?

twaik commented 5 months ago

You always can check history of packages. https://github.com/termux/termux-packages/commits/master/x11-packages/fcitx5 As far as I can see it did not require much porting.

hansm629 commented 5 months ago

@xtkoba hello. Do you have any guesses about these symptoms? Or am I missing something in the settings?