Chinese input problem (solved) on Ubuntu 2022.04
-
- Posts: 51
- Joined: 17.08.2022 13:42
Chinese input problem (solved) on Ubuntu 2022.04
I am a newbie for (ubuntu) linux and install Cudatext on ubuntu 2022 today. The details are as below:
CudaText 1.170.5.1
Ubuntu 2022.04
qt version
Problems:
1. When I save a new file to disk, It takes too long for the new window to pop and locate the file path;
2. I can use Chinese input method in most cases, but some Chinese words can't be input in Cudatext, such as: 有, 创建, 不, ...
3. In Chinese input mode, I can't input "-". I guess it the same problem as the second
Thank you!
CudaText 1.170.5.1
Ubuntu 2022.04
qt version
Problems:
1. When I save a new file to disk, It takes too long for the new window to pop and locate the file path;
2. I can use Chinese input method in most cases, but some Chinese words can't be input in Cudatext, such as: 有, 创建, 不, ...
3. In Chinese input mode, I can't input "-". I guess it the same problem as the second
Thank you!
Last edited by lookoutside on 30.09.2022 01:22, edited 3 times in total.
-
- Posts: 2300
- Joined: 25.08.2021 18:15
1. Do you mean "save file as" dialog, that it appears too long?
EDIT: No need to report 2) and 3) to lazarus bugtracker.
EDIT: No need to report 2) and 3) to lazarus bugtracker.
Last edited by main Alexey on 18.09.2022 09:15, edited 1 time in total.
-
- Posts: 2300
- Joined: 25.08.2021 18:15
Also see https://wiki.freepascal.org/CudaText#Li ... t_problems
if you change GTK_IM_MODULE, it helps?Install "ibus" package
In the OS environment file, set 2 variables (for 2 builds of CudaText, gtk2 and qt5):
GTK_IM_MODULE=ibus
QT_IM_MODULE=ibus
-
- Posts: 2300
- Joined: 25.08.2021 18:15
-
- Posts: 51
- Joined: 17.08.2022 13:42
Yes. But that's not all. When the "save file as" dialog appear, It freeze there for one minute before I can change path, then another one minute before I can type in the file name.main Alexey wrote:1. Do you mean "save file as" dialog, that it appears too long?
I tried fcitx, but the problem still exists. Some of characters can't be inserted in the text under the cursor.EDIT: No need to report 2) and 3) to lazarus bugtracker.
Advice about IME: "I suggest fcitx for Chinese IM."
However, I can type normally in other editors, but not in cudatext.
Perhaps it's not a problem of cudatext but a problem of Ubuntu 2022.04. And I should try ubuntu 2020 later.
Thank you!
Last edited by lookoutside on 19.09.2022 07:12, edited 1 time in total.
-
- Posts: 51
- Joined: 17.08.2022 13:42
-
- Posts: 2300
- Joined: 25.08.2021 18:15
That must be issue of lazarus GTK2 widgetset (if not issue of OS or GTK2).But that's not all. When the "save file as" dialog appear, It freeze there for one minute before I can change path, then another one minute before I can type in the file name.
Pls, try on different lazarus apps to reprduce it.
Double Commander (need to find where it has the 'save file as'? maybe internal text editor?),
maybe Lazarus IDE too (can be installed by 2 clicks from fpcupdeluxe
https://github.com/LongDirtyAnimAlf/fpc ... e/releases ).
it's very strange!to the latest verstion (1.171), all the problem disappeared
-
- Posts: 2300
- Joined: 25.08.2021 18:15
-
- Posts: 51
- Joined: 17.08.2022 13:42
Sorry, I don't know how to do it. I will if I prepare myself for the linux knowledge.main Alexey wrote:>it's very strange!
sometimes I think somebody breaks my lazarus installation, because I (PC) was hacked year ago (somebody got my SourceForce password). if you want to check it, compile Cud from source, v1.170, and check it. sources of 1.170 are at Sourceforge in 'src' dir.
-
- Posts: 51
- Joined: 17.08.2022 13:42