You are not logged in.

#1 2024-12-01 13:02:32

Zaire
Member
Registered: 2024-12-01
Posts: 4

[Solved]Can't use Chinese in kitty terminal

I am unable to input Chinese characters in the Kitty terminal, but I can copy and paste them without any issues.

I checked the Kitty issue tracker, and they suggested a solution using the command

GLFW_IM_MODULE=ibus kitty

However, this does not work for me, and I encounter the following error when I run the command:

╰─ GLFW_IM_MODULE=ibus kitty
[0.344] [glfw error 65544]: process_desktop_settings: failed with error: [org.freedesktop.DBus.Error.ServiceUnknown] The name is not activatable

Could it be because I don't have a Chinese input method installed in IBus?

The error I encountered is the same as the one described in [SOLVED] Can't use kitty terminal.

My  loginctl session-status

Here is my Xorg log

And my .xinitrc

#!/bin/sh

userresources=$HOME/.Xresources
usermodmap=$HOME/.Xmodmap
sysresources=/etc/X11/xinit/.Xresources
sysmodmap=/etc/X11/xinit/.Xmodmap

# merge in defaults and keymaps

if [ -f $sysresources ]; then
    xrdb -merge $sysresources

fi

if [ -f $sysmodmap ]; then
    xmodmap $sysmodmap
fi

if [ -f "$userresources" ]; then
    xrdb -merge "$userresources"

fi

if [ -f "$usermodmap" ]; then
    xmodmap "$usermodmap"
fi

# start some nice programs

if [ -d /etc/X11/xinit/xinitrc.d ] ; then
 for f in /etc/X11/xinit/xinitrc.d/?*.sh ; do
  [ -x "$f" ] && . "$f"
 done
 unset f
fi

# exec /usr/bin/i3 -V -d all >~/.logs/i3/log-$(date +'%F-%k-%M-%S') 2>&1
exec i3

Last edited by Zaire (2024-12-03 04:50:08)

Offline

#2 2024-12-01 20:27:32

seth
Member
From: Don't DM me only for attention
Registered: 2012-09-03
Posts: 68,369

Re: [Solved]Can't use Chinese in kitty terminal

Please use [code][/code] tags, not "quote" tags. Edit your post in this regard.

Here is my Xorg log

No, it's not.

cat /home/zzk/.local/share/xorg/Xorg.0.log" | curl -F 'file=@-' 0x0.st

but now I have a problem that I have no idea.

And what /is/ that problem?
If you struggle w/ english, https://deepl.com/ doesn't.

Ftr, the linked thread was down to broken GL because a misconfigured/used xf86-video-intel driver.
Edit: while the subject of this threads say you "can't use chinese in kitty", though I assume that was addressed by using ibus.

Last edited by seth (2024-12-01 20:28:34)

Offline

#3 2024-12-02 08:51:17

Zaire
Member
Registered: 2024-12-01
Posts: 4

Re: [Solved]Can't use Chinese in kitty terminal

I apologize for my lack of ability to express myself. I have already edited my question.

Offline

#4 2024-12-02 09:38:08

seth
Member
From: Don't DM me only for attention
Registered: 2012-09-03
Posts: 68,369

Re: [Solved]Can't use Chinese in kitty terminal

The error message and other thread are irrelevant to any input issues.
Does CJK input work in other clients (eg. xterm)?

The favorite IM of CJK users seems to be https://wiki.archlinux.org/title/Fcitx5 - do you rely on this and the ibus shim?
https://wiki.archlinux.org/title/Kitty# … ME_support

Offline

#5 2024-12-02 10:37:06

Zaire
Member
Registered: 2024-12-01
Posts: 4

Re: [Solved]Can't use Chinese in kitty terminal

seth wrote:

The error message and other thread are irrelevant to any input issues.
Does CJK input work in other clients (eg. xterm)?

The favorite IM of CJK users seems to be https://wiki.archlinux.org/title/Fcitx5 - do you rely on this and the ibus shim?
https://wiki.archlinux.org/title/Kitty# … ME_support

I can input Chinese characters normally in Alacritty and other applications, and I have indeed enabled IME support.

Offline

#6 2024-12-02 10:53:43

Zaire
Member
Registered: 2024-12-01
Posts: 4

Re: [Solved]Can't use Chinese in kitty terminal

I have resolved the issue. I found that it was a problem with my input method switching that made me think it wasn't working.

Offline

#7 2024-12-02 16:19:14

seth
Member
From: Don't DM me only for attention
Registered: 2012-09-03
Posts: 68,369

Re: [Solved]Can't use Chinese in kitty terminal

\o/
Please always remember to mark resolved threads by editing your initial posts subject - so others will know that there's no task left, but maybe a solution to find.
Thanks.

Offline

Board footer

Powered by FluxBB