keyboard icon indicating copy to clipboard operation
keyboard copied to clipboard

How to create my own keyboard layout? How to change keyboard height?

Open Xwang1976 opened this issue 9 months ago • 1 comments

Hi, I would like to create my own keyboard layout, but I would like to avoid to modify an exixsting one of my archlinux package to avoid it been overwritten when the package get updated. I've seen that gsettings get org.maliit.keyboard.maliit plugin-paths reports ['/custom/share/maliit/plugins/org/maliit/lib/'] which odes not exist. Can I change it? In case should I place my "language" directory in a specific subfolder of the one specified in plugin-paths (with a specific tree). If so, where can I find the definition of the tree? Mortoevr, I would like to change the height in pixel of the keyboard. How can I do that? I've looked for some documentation, but I've not found any useful one.

Xwang1976 avatar Nov 18 '23 14:11 Xwang1976

I'm interested in doing this as well to add a Colemak layout. So far, I've found this older ticket that confirms that I'm looking in the correct folder in the git repo to add a new language: https://github.com/maliit/keyboard/issues/18

So hypothetically, the source files would need a new folder for each keyboard layout in here: https://github.com/maliit/keyboard/tree/master/plugins

I did a little poking, and those files live on my Neon install at /usr/lib/x86_64-linux-gnu/maliit/keyboard2/languages/

I also found some "devices" JSON files that might let you mess with the text heights in /usr/share/maliit/keyboard2/devices/

image

jbaker0428 avatar Jan 28 '24 05:01 jbaker0428