PINE64
Making a new keyboard layout - Printable Version

+- PINE64 (https://forum.pine64.org)
+-- Forum: PinePhone (https://forum.pine64.org/forumdisplay.php?fid=120)
+--- Forum: PinePhone Software (https://forum.pine64.org/forumdisplay.php?fid=121)
+---- Forum: Mobian on PinePhone (https://forum.pine64.org/forumdisplay.php?fid=139)
+---- Thread: Making a new keyboard layout (/showthread.php?tid=17195)



Making a new keyboard layout - Eugo - 08-22-2022

This is almost a showstopper - the choice of keyboard layouts is very sparse in current Mobian, and I can't quite find a way to make a new one.
I read almost everything that was written here on the subject, and followed the instructions on https://developer.puri.sm/projects/squeekboard/tutorial.html

The trouble is that (megi's) distro of Mobian, and a few other descendants of Debian, includes about eight keyboards for major languages, and then there's the „other“ section, where I found both of my serbian keyboards (cyrillic and latinic) listed. However, when I select one of these, nothing happens, the layout remains american. So I found that the layouts reside in .yaml files on

~/.local/share/squeekboard/keyboards

...which doesn't exist. So I made one, and edited my version of sr.yaml, put it there (using syncthing, which works miraculously). Still doesn't catch. Searching through files, I see there's some trace of squeekboard, but no recognizable keyboard files anywhere.

I'm at my wits end - was there anything changed in the mechanism? Perhaps current Mobian doesn't even use squeekboard anymore? Where are the layout files?


RE: Making a new keyboard layout - dukla2000 - 08-22-2022

(08-22-2022, 12:58 AM)Eugo Wrote: This is almost a showstopper - the choice of keyboard layouts is very sparse in current Mobian, and I can't quite find a way to make a new one.
I read almost everything that was written here on the subject, and followed the instructions on https://developer.puri.sm/projects/squeekboard/tutorial.html

The trouble is that (megi's) distro of Mobian, and a few other descendants of Debian, includes about eight keyboards for major languages, and then there's the „other“ section, where I found both of my serbian keyboards (cyrillic and latinic) listed. However, when I select one of these, nothing happens, the layout remains american. So I found that the layouts reside in .yaml files on

~/.local/share/squeekboard/keyboards

...which doesn't exist. So I made one, and edited my version of sr.yaml, put it there (using syncthing, which works miraculously). Still doesn't catch. Searching through files, I see there's some trace of squeekboard, but no recognizable keyboard files anywhere.

I'm at my wits end - was there anything changed in the mechanism? Perhaps current Mobian doesn't even use squeekboard anymore? Where are the layout files?

No idea where the "installed" keyboards go, but I have my own (gb.yaml) in
~/.local/share/squeekboard/keyboards/terminal/
and it selects & works just fine when I select the terminal option on the default keyboard.


RE: Making a new keyboard layout - Eugo - 08-28-2022

Okay, after re-flashing megi's distro and restoring the /home (so I don't lose the eight phone numbers I typed), I messed more with keyboards and now I finally have the four layout files - rs.yaml (cyrillic), rs+latin.yaml and the wide versions. Mostly stole from the czech outline, just replaced the labels and removed the accented character views - we have only 5 of those and they fit on base page.

Now I'd like to share this, but frankly I'm 67 and a bit too old to learn git for just eight kilobytes altogether. It would be my seventh repository system over the last 20 years, and its logic is too different, words have different meanings... So, if anyone of Squeekboard folks is interested, send me a private message with an email address to send them to.