nyxt icon indicating copy to clipboard operation
nyxt copied to clipboard

integration with ibus for multi-lingual input

Open vanangamudi opened this issue 2 years ago • 12 comments

Is your feature request related to a problem? Please describe. I have been trying to move from firefox to nyxt for most of my workflow. Text-entry or input-method in nyxt is not integrated with ibus(in ubuntu/linux in general). nyxt can render Tamil script very well albeit in a poor font but it works nonetheless.

Describe the solution you'd like enable text entry via ibus to enter non english text and restrict text entry to editable text widgets to avoid triggering shortcut unwantedly(not sure if it possible, emacs integrates with ibus but this causes issues when giving commands via shortcuts/key-chords)

Describe alternatives you've considered so far I have been typing in external editor or firefox for Tamil text and copy pasting it in(very tedious)

Additional context Screenshot from 2022-05-21 12-30-04-m

vanangamudi avatar May 21 '22 07:05 vanangamudi

This is odd, the prompt buffer input is a regular GTK input, so it should work. Are you able to input Tamil in another GTK3 program? Which one?

About the font: this actually suggests that GTK3 supports is not fully operational on your system. What's your OS / version? Desktop environment?

Ambrevar avatar May 21 '22 08:05 Ambrevar

I am able to input Tamil into other applications. Please look at the screenshot.

"தமிழ் மொழி - Tamil language" typed into gedit editor

Screenshot from 2022-05-21 15-13-53

vanangamudi avatar May 21 '22 09:05 vanangamudi

It seems not to be related to Nyxt, as I can use the russian input method.

aadcg avatar May 22 '22 21:05 aadcg

It seems not to be related to Nyxt, as I can use the russian input method.

which input method do you use? ibus?

vanangamudi avatar May 23 '22 06:05 vanangamudi

which input method do you use? ibus?

No idea honestly. How can I check it?

aadcg avatar May 23 '22 09:05 aadcg

you check what is selected in Input Methods dialog under ubuntu. Screenshot from 2022-05-23 16-15-11

vanangamudi avatar May 23 '22 12:05 vanangamudi

I'm using a window manager and I'm not sure how to check it. Also, I don't have any DE installed.

@Ambrevar, do you use exwm-xim?

aadcg avatar May 23 '22 20:05 aadcg

Nope, I don't use any input method.

Ambrevar avatar May 24 '22 08:05 Ambrevar

This page may help: https://wiki.archlinux.org/title/Input_method

Ambrevar avatar May 24 '22 08:05 Ambrevar

Perhaps @pdelfino could confirm if he can use the portuguese input method in Nyxt, and confirm if he's using ibus.

xim doesn't seem to work in Nyxt, but I have no idea why.

aadcg avatar May 24 '22 12:05 aadcg

Perhaps @pdelfino could confirm if he can use the Portuguese input method in Nyxt, and confirm if he's using ibus.

I am using GNOME (as DKE) in NixOS. This is my OS config file. Gnome's default input method is ibus. I did not change the default.

I have done a few tests in Nyxt with André, such as: writing an email with multiple characters used in Portuguese (â,ã,ó,çã, etc), opened a file called andré.org with Nyxt. And there was no problem.

Following André's suggestion, I am adding a non-reproducible tag here.

pdelfino avatar May 27 '22 22:05 pdelfino

This is still a mystery to me as set GTK_IM_MODULE to "xim" and it works for me.

I should probably install GNOME and investigate further.

aadcg avatar Jul 05 '22 14:07 aadcg

Not reproducible.

aadcg avatar May 28 '23 19:05 aadcg