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

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

Open
Xwang1976 opened this issue Nov 18, 2023 · 1 comment
Open

Comments

@Xwang1976
Copy link

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.

@jbaker0428
Copy link

jbaker0428 commented Jan 28, 2024

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: #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

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

2 participants