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

What does it mean and how to fix? #206

Open
sh-bd opened this issue Dec 11, 2023 · 17 comments
Open

What does it mean and how to fix? #206

sh-bd opened this issue Dec 11, 2023 · 17 comments

Comments

@sh-bd
Copy link

sh-bd commented Dec 11, 2023

In response to my issue, Sarim Khan bhai replied something like this. I've already tried some basic stuff such as– restarting ibus and all but it doesn't help. Does anyone know— how to solve this?

image

Translation: Whenever I am writing something using Avro phonetic layout and adding space at the end of the word, sometimes it automatcally goes to the beginning of the word! Do you know any solutions for this issue?
Thanks in advance.

@sh-bd sh-bd changed the title What does it mean and how to fix this? What does it mean and how to fix? Dec 11, 2023
@archisman-panigrahi
Copy link
Contributor

archisman-panigrahi commented Dec 11, 2023

Which OS and which Desktop Environment are you using?

Also, please translate the issue in English, because some of the contributors to this project cannot read Bangla, and the text from the image you posted cannot be copied into Google translate (because it is an image).

@sh-bd
Copy link
Author

sh-bd commented Dec 11, 2023

Well, its Ubuntu 23.10 64-bit (Wayland)

@gunnarhj
Copy link
Contributor

Please let us know the output from this terminal command:

gsettings get org.gnome.desktop.input-sources sources

@sh-bd
Copy link
Author

sh-bd commented Dec 12, 2023

Thank you @gunnarhj for your comment. It shows me–

[('xkb', 'us'), ('ibus', 'ibus-avro')]

Please let us know the output from this terminal command:

gsettings get org.gnome.desktop.input-sources sources

@sarim
Copy link
Owner

sarim commented Dec 12, 2023

It was an old problem where gtk/qt immodule was not set to ibus and ibus then runs in xim (Xserver) mode. But in recent gnomes that shouldn't be possible. @gunnarhj are you aware of similar problems in modern gnome with wayland?

@sh-bd Can you provide a screen capture video showing the issue?

@sh-bd
Copy link
Author

sh-bd commented Dec 12, 2023

Yeah, sure! Thank you again @sarim bhai for replying. Here is the screen recording–
Screencast from 2023-12-12 20-49-26.webm

@gunnarhj
Copy link
Contributor

@sarim wrote:

It was an old problem where gtk/qt immodule was not set to ibus and ibus then runs in xim (Xserver) mode. But in recent gnomes that shouldn't be possible. @gunnarhj are you aware of similar problems in modern gnome with wayland?

No I'm not. GNOME sets these variables only:

$ env | grep -E 'XMOD|_IM'
XMODIFIERS=@im=ibus
QT_IM_MODULE=ibus

Gtk is handled internally by GNOME, and in Wayland it's wrong to set the GTK_IM_MODULE variable explicitly.

@sh-bd: To check the variables for you, can you run this command: env | grep -E 'XMOD|_IM'

@sh-bd
Copy link
Author

sh-bd commented Dec 12, 2023

@sarim wrote:

It was an old problem where gtk/qt immodule was not set to ibus and ibus then runs in xim (Xserver) mode. But in recent gnomes that shouldn't be possible. @gunnarhj are you aware of similar problems in modern gnome with wayland?

No I'm not. GNOME sets these variables only:

$ env | grep -E 'XMOD|_IM'
XMODIFIERS=@im=ibus
QT_IM_MODULE=ibus

Gtk is handled internally by GNOME, and in Wayland it's wrong to set the GTK_IM_MODULE variable explicitly.

@sh-bd: To check the variables for you, can you run this command: env | grep -E 'XMOD|_IM'

@gunnarhj, it shows me:

XMODIFIERS=@im=ibus
QT_IM_MODULE=ibus

@gunnarhj
Copy link
Contributor

@sh-bd: That's as it should be.

@sh-bd
Copy link
Author

sh-bd commented Dec 12, 2023

@gunnarhj, should I uninstall and reinstall or what?

@gunnarhj
Copy link
Contributor

should I uninstall and reinstall or what?

I don't know. I can't reproduce the issue on my machine.

@archisman-panigrahi
Copy link
Contributor

@sh-bd How did you configure Avro after installing the ibus-avro package from APT?

@sh-bd
Copy link
Author

sh-bd commented Dec 12, 2023

@archisman-panigrahi I followed a medium tutorial that made me follow the instructions that are down below:

  1. Open terminal and write sudo apt-get install ibus-avro
  2. Run IBus (Applications -> System Tools -> IBus) from Dash
  3. Open IBus Preferences from the top panel icon
  4. Go to Input method
  5. Select an input method -> Bengali -> Avro

But here in number 5, I didn't find Avro even after restarting the PC and ibus restart, so I had to go the App Center and install Avro Phonetic. And after restarting this time, I found the option to select Avro as an input method. Then I followed the next instructions

  1. Now Click Add button to add Avro to the list
  2. Now restart IBus from the top panel icon (Right Click -> Restart)
  3. Now Press Ctrl+Space to toggle between English and Avro (Bengali)

Please let me know if you find anything wrong or can be modified!

@archisman-panigrahi
Copy link
Contributor

@gunnarhj I have not used GNOME for several years, and cannot say if the steps followed by @sh-bd still work in recent versions of Ubuntu with GNOME.
Can you please comment on that?

@gunnarhj
Copy link
Contributor

Hmm.. Those steps do not apply to Ubuntu with GNOME. Please note that IBus runs behind the scenes by default when using Ubuntu, and you normally do NOT need to bother with IBus Preferences.

These steps should be sufficient:

  1. Install the ibus-avro package: sudo apt install ibus-avro
  2. Log out and log in again
  3. Go to Settings -> Keyboard and add Avro Phonetic to the input sources (you already did this deeming from this comment)

Then you can switch to Avro Phonetic via the input source indicator in the top bar, or by using the Super+Space shortcut.

@sh-bd
Copy link
Author

sh-bd commented Dec 13, 2023

@gunnarhj it doesn't help! After reinstalling, it works as it did before. How can I completely remove the previous package?

@gunnarhj
Copy link
Contributor

I'm out of ideas, sorry.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants