ibus-avro icon indicating copy to clipboard operation
ibus-avro copied to clipboard

What does it mean and how to fix?

Open sh-bd opened this issue 1 year ago • 17 comments

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 avatar Dec 11 '23 18:12 sh-bd

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).

archisman-panigrahi avatar Dec 11 '23 18:12 archisman-panigrahi

Well, its Ubuntu 23.10 64-bit (Wayland)

sh-bd avatar Dec 11 '23 19:12 sh-bd

Please let us know the output from this terminal command:

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

gunnarhj avatar Dec 11 '23 20:12 gunnarhj

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

sh-bd avatar Dec 12 '23 13:12 sh-bd

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?

sarim avatar Dec 12 '23 14:12 sarim

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

sh-bd avatar Dec 12 '23 14:12 sh-bd

@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 avatar Dec 12 '23 15:12 gunnarhj

@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

sh-bd avatar Dec 12 '23 16:12 sh-bd

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

gunnarhj avatar Dec 12 '23 16:12 gunnarhj

@gunnarhj, should I uninstall and reinstall or what?

sh-bd avatar Dec 12 '23 16:12 sh-bd

should I uninstall and reinstall or what?

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

gunnarhj avatar Dec 12 '23 16:12 gunnarhj

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

archisman-panigrahi avatar Dec 12 '23 17:12 archisman-panigrahi

@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!

sh-bd avatar Dec 12 '23 17:12 sh-bd

@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?

archisman-panigrahi avatar Dec 12 '23 18:12 archisman-panigrahi

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.

gunnarhj avatar Dec 12 '23 18:12 gunnarhj

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

sh-bd avatar Dec 13 '23 10:12 sh-bd

I'm out of ideas, sorry.

gunnarhj avatar Dec 13 '23 10:12 gunnarhj