Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

IME not supported on linux (yet again on wayland) #4909

Open
scarf005 opened this issue Jun 29, 2024 · 1 comment
Open

IME not supported on linux (yet again on wayland) #4909

scarf005 opened this issue Jun 29, 2024 · 1 comment
Labels
bug confirmed Bug that has been reproduced src changes related to source code.

Comments

@scarf005
Copy link
Member

continuation of #4482 which is continuation of #1497

output of im-config:

Current configuration for the input method:
 * Default mode defined in /etc/default/im-config: 'auto'
 * Active configuration: 'ibus' (normally missing)
 * Normal automatic choice: 'ibus' (normally ibus or fcitx5)
 * Override rule: 'zh_CN,fcitx5:zh_TW,fcitx5:zh_HK,fcitx5:zh_SG,fcitx5'
 * Current override choice: '' (Locale='ko_KR')
 * Current automatic choice: 'ibus'
 * Number of valid choices: 2 (normally 1)
 * Desktop environment: 'KDE'
The configuration set by im-config is activated by re-starting the system.
Explicit selection is not required to enable the automatic configuration if the active one is default/auto/cjkv/missing.
  Available input methods: ibus maliit xim
Unless you really need them all, please make sure to install only one input method tool.

system info fastfetch --pipe:

scarf@tg02
----------
OS: KDE neon jammy 22.04 x86_64
Host: Victus by HP 15L Gaming Desktop TG02-0xxx
Kernel: Linux 6.5.0-41-generic
Uptime: 5 hours, 40 mins
Packages: 2115 (dpkg), 546 (nix-user), 48 (nix-default), 36 (flatpak-user)
Shell: fish 3.7.1
Display (LG HDR QHD): 2560x1440 @ 60Hz [External]
Display (Odyssey G52A): 2560x1440 @ 165Hz
DE: KDE Plasma 6.1.1
WM: KWin (Wayland)
WM Theme: Breeze
Theme: Breeze (Light) [QT], Breeze [GTK2/3]
Icons: breeze [QT], breeze [GTK2/3/4]
Font: Noto Sans CJK KR (10pt) [QT], Noto Sans CJK KR (10pt) [GTK2/3/4]
Cursor: breeze (24px)
Terminal: konsole 24.5.1
Terminal Font: Sarasa Mono K Nerd Font (16pt)
CPU: AMD Ryzen 5 5600G (12) @ 3.90 GHz
GPU 1: NVIDIA GeForce GTX 1660 SUPER [Discrete]
GPU 2: AMD Radeon Vega Series / Radeon Vega Mobile Series @ 0.40 GHz [Integrated]
Memory: 15.05 GiB / 30.68 GiB (49%)
Swap: 4.01 GiB / 32.00 GiB (13%)
Disk (/): 34.29 GiB / 250.92 GiB (14%) - ext4
Disk (/home): 381.10 GiB / 628.89 GiB (61%) - ext4
Disk (/media/scarf): 545.00 GiB / 931.51 GiB (59%) - btrfs
Locale: ko_KR.UTF-8

previous solution doesn't work.

@scarf005
Copy link
Member Author

scarf005 commented Jul 5, 2024

Hypothesis: outdated SDL2 version

$ ldd ./build/src/cataclysm-tiles
        linux-vdso.so.1 (0x00007fffe4d9c000)
        libSDL2-2.0.so.0 => /lib/x86_64-linux-gnu/libSDL2-2.0.so.0 (0x00007f057da2e000)
        libSDL2_image-2.0.so.0 => /lib/x86_64-linux-gnu/libSDL2_image-2.0.so.0 (0x00007f0580444000)
        libz.so.1 => /lib/x86_64-linux-gnu/libz.so.1 (0x00007f0580428000)
        libSDL2_ttf-2.0.so.0 => /lib/x86_64-linux-gnu/libSDL2_ttf-2.0.so.0 (0x00007f0580415000)
        libSDL2_mixer-2.0.so.0 => /lib/x86_64-linux-gnu/libSDL2_mixer-2.0.so.0 (0x00007f05803f0000)

$ lsd -al /lib/x86_64-linux-gnu/libSDL2-2.0.so.0
lrwxrwxrwx root root 23 B 2024-01-28 일 05:34:05  /lib/x86_64-linux-gnu/libSDL2-2.0.so.0 ⇒ libSDL2-2.0.so.0.2800.5
$ lsd -al /lib/x86_64-linux-gnu/libSDL2-2.0.so.0.2800.5 
.rw-r--r-- root root 1.8 MB 2024-01-28 일 05:34:05  /lib/x86_64-linux-gnu/libSDL2-2.0.so.0.2800.5
$ sdl2-config --version
2.30.5

$ set -gx /usr/local/lib:/usr/include/SDL2:$LD_LIBRARY_PATH
$ cmake -DCMAKE_INSTALL_RPATH_USE_LINK_PATH # ...
$ ldd cataclysm-tiles
        linux-vdso.so.1 (0x00007ffd60d63000)
        libSDL2-2.0.so.0 => /usr/local/lib/libSDL2-2.0.so.0 (0x00007ee065c00000)
        libSDL2_image-2.0.so.0 => /lib/x86_64-linux-gnu/libSDL2_image-2.0.so.0 (0x00007ee06887c000)
$ SDL_IM_MODULE=ibus GTK_IM_MODULE=ibus QT_IM_MODULE=ibus ./build/src/cataclysm-tiles

result: no difference, failure. seems like to be the problem of SDL2 not cata.

@RoyalFox2140 RoyalFox2140 added bug confirmed Bug that has been reproduced src changes related to source code. labels Aug 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug confirmed Bug that has been reproduced src changes related to source code.
Projects
None yet
Development

No branches or pull requests

2 participants