This is mobian (debian for mobile) running on a librem phone. Varnam installs fine but the keyboard is entirely different, it doesn't support word suggestions, once it does Varnam can be integrated to it as well.


@agx Varnam would be different in this aspect, it requires word suggestions. Here's how Varnam looks like in Indic Keyboard on Android.

It's more easier to use English -> malayalam/hindi/tamil etc. transliteration to type.

A basic word suggestions display + on-space-click-commit-primary-suggestion etc. is needed, similarly to how ibus works. Varnam has an ibus engine.

So this issue would be the relevant one


@subins2000 I don't understand. We do word suggestions in phosh-osk-stub (see video below). (I had filed that issue you link to 😃 ). What do you think is missing? I was able to integrate with UIM just fine too: See

@subins2000 I had trouble getting govarnam to work but did a quick hack to plug libvarnam (I have no idea if it predicts anything useful though 😃):

@agx This is awesome! Thank you! I can do the plugging of govarnam into it once I figure out how to do the development locally. Can you please share the patch you made (git branch or just a diff) so that I can get started ?

@subins2000 See - it's really just a quick hack reusing one of the current completers. Would be great if you'd look into plugging govarnam into it as proper shared library.
Currently the different completion engines are compile time (not run time). Ill post an MR to change that soon.

@agx I will take a look into it and get back to you. Thanks for the pointer.


@subins2000 Great! I have split out the varnam code into a separate completer in the meantime and made it use libvarnam (instead of the varnamc script): . (I won't do futher work here, I just wanted you to have a nicer example).

This should be simpler as a base for you to start.

Sign in to participate in the conversation
Librem Social

Librem Social is an opt-in public network. Messages are shared under Creative Commons BY-SA 4.0 license terms. Policy.

Stay safe. Please abide by our code of conduct.

(Source code)

image/svg+xml Librem Chat image/svg+xml