6

I upgraded one of my machines to Ubuntu 17.04. May be it is related, may be it is not, but for this machine, Avro Bengali keyboard switched to Malay (Jawi) after upgrade.

My other two machines, running Ubuntu 16.04 are working fine.

Please see these self explanatory screenshots.

enter image description here

enter image description here

I tried removing and re-adding the keyboard, uninstalling and reinstalling the keyboard without any avail.

Whenever, I switch to Avro keyboard, I get texts in Arabic.

Masroor
  • 3,143

2 Answers2

4

This seems to happen because of the new XKB symbols file bn which was created as a fix of this bug. As far as I can tell that file is redundant, since the name of the layout - Malay (Jawi) - is already present in the symbols file my. Currently there are two entries named Malay (Jawi) in the list of input sources.

Anyway, removing or renaming the bn symbols file seems to fix this issue.

cd /usr/share/X11/xkb/symbols
sudo mv bn bn.bak

Edit:

I filed this bug, which has been accepted and will affect version 2.21 of xkb-data.

Edit II:

The issue is also about to be fixed in v2 of ibus-avro.


Edit III:

It seems moving the file make wayland session on latest Ubuntu inaccessible. Also the developers of ibus-avro suggested another workaround which fixes the issue without interfering with wayland session. This is documented here

In short, you need to edit the file at /usr/share/ibus/component/ibus-avro.xml

sudo vim /usr/share/ibus/component/ibus-avro.xml

On line 20, change

<layout>bn</layout>

to

<layout>us</layout>

Save the file and restart your session.

Anwar
  • 76,649
Gunnar Hjalmarsson
  • 33,540
  • 3
  • 64
  • 94
  • 1
    That fixed it. Who could of imagined such a reason? Thanks a lot. – Masroor Apr 17 '17 at 06:17
  • I think I've found a similar bug, mine switches to Arabic instead of Malay. If I move the symbol, then Gnome wayland session breaks. So, I searched and found the fix here on avro's git repo. It fixed the problem nicely! – Anwar Jul 13 '17 at 06:54
  • 1
    @Anwar: Malay (Jawi) is written using an Arabic script, so it's most likely the same issue. Thanks for letting us know that it's about to be fixed in ibus-avro. – Gunnar Hjalmarsson Jul 13 '17 at 14:47
  • You may want to include that information into the answer. – Anwar Jul 13 '17 at 14:51
  • I think you should focus on this method instead, because its from developer and it's non-breaking for wayland session. Currently, your method kicks me out of wayland – Anwar Dec 11 '17 at 12:45
  • 1
    @Anwar: Please feel free to edit the answer in that direction. You are using the thing, after all. ;) (Hopefully the problem will go away in 18.04 with an update of xkb-data.) – Gunnar Hjalmarsson Dec 11 '17 at 14:39
0

This does solve the problem: https://github.com/sarim/ibus-avro

You can try out my script which automatically fetches everything and installs avro for you. Just download or clone my repository: https://github.com/pavakpaul/ibus-avro-installer-for-ubuntu and execute install-ibus-avro-for-ubuntu-wily.sh

Pavak Paul
  • 1,234
  • 3
  • 14
  • 31