You are not logged in.

#1 2023-11-20 02:13:08

icewolf0110
Member
Registered: 2023-11-04
Posts: 15

[SOLVED] Ibus does not work in telegram

I'm able to use ibus to write Vietnamese in most of my apps except telegram, any solution to fix?

Last edited by icewolf0110 (2023-11-25 06:37:00)

Offline

#2 2023-11-20 07:46:15

Stefan Husmann
Member
From: Germany
Registered: 2007-08-07
Posts: 1,391

Re: [SOLVED] Ibus does not work in telegram

Are you referring to the telegram-desktop package in [extra]?

Offline

#3 2023-11-20 15:35:29

icewolf0110
Member
Registered: 2023-11-04
Posts: 15

Re: [SOLVED] Ibus does not work in telegram

Stefan Husmann wrote:

Are you referring to the telegram-desktop package in [extra]?

I use the flatpak's one

Offline

#4 2023-11-24 09:09:36

icewolf0110
Member
Registered: 2023-11-04
Posts: 15

Re: [SOLVED] Ibus does not work in telegram

all qt app has the same issue, I got it fixed by adding these global environment variables in /etc/environment

GTK_IM_MODULE=ibus
QT_IM_MODULE=ibus
XMODIFIERS=@im=ibus

Offline

#5 2023-11-24 09:11:25

icewolf0110
Member
Registered: 2023-11-04
Posts: 15

Re: [SOLVED] Ibus does not work in telegram

btw how could I mark this thread solved?

Offline

#6 2023-11-24 20:15:58

ayekat
Member
Registered: 2011-01-17
Posts: 1,590

Re: [SOLVED] Ibus does not work in telegram

Just edit your initial message's title. smile

Forum Rules wrote:

Please mark solved threads as [SOLVED]
Marking threads as [SOLVED], after a solution has been found will help others to find an expedient solution for their own issues. Please be considerate and mark those threads when an answer is found.
Simply edit the original post by clicking on the 'edit' button at the lower right corner of it and prepend [SOLVED] to the title.

--edit Then again, editing the global environment seems a little excessive for making a user desktop application work. Where did you set these variables before? There's probably a better place.

Last edited by ayekat (2023-11-24 20:17:35)


pkgshackscfgblag

Offline

#7 2023-11-25 06:38:46

icewolf0110
Member
Registered: 2023-11-04
Posts: 15

Re: [SOLVED] Ibus does not work in telegram

ayekat wrote:

Then again, editing the global environment seems a little excessive for making a user desktop application work. Where did you set these variables before? There's probably a better place.

I just follow the instruction of the wiki https://wiki.archlinux.org/title/environment_variables

Offline

#8 2023-11-25 09:43:34

ayekat
Member
Registered: 2011-01-17
Posts: 1,590

Re: [SOLVED] Ibus does not work in telegram

Which section? There's the "Globally" section, which affects the entire system, and then there's the "Per user" section, which describes how to set environment variables for your user only.

What DE/WM do you use, and how do you start it?
If you log in on the TTY and start your DE/WM/compositor from there, a shell rc file might be sufficient. If you use a display manager, it depends on how you can set environment variables there.


pkgshackscfgblag

Offline

Board footer

Powered by FluxBB