Making a new keyboard layout
#1
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/squee...orial.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?
  Reply
#2
(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/squee...orial.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.
  • PinePhone BraveHeart now v1.2b 3/32Gb daily driver, Tow-boot with pmOS/SXMO on eMMC
  • PinePhone Pro Explorer Edition, Tow-boot on SPI, Arch/SXMO on eMMC
  • ROCKPro64 v2.1 2GB, 16Gb eMMC retired in favour of a fruity upgrade
  Reply
#3
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.
  Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  mobian phosh on screen keyboard not popping up for Chromium/Electron apps grump_fiddle_reinstall 1 257 01-15-2025, 08:08 PM
Last Post: Kevin Kofler
  icon keyboard chris_02 4 1,906 01-14-2025, 02:49 AM
Last Post: grump_fiddle_reinstall
  New keyboard issue sandspur 30 19,035 01-13-2025, 01:37 AM
Last Post: grump_fiddle_reinstall
  Proximity sensor is oversensitive (was "Screen blanks when making call") treebeard 6 4,883 08-05-2024, 06:12 AM
Last Post: baptx
  Keyboard not popping up on QT apps 3x5co 1 1,221 02-08-2024, 11:45 PM
Last Post: Kevin Kofler
  Keyboard keeps disappearing the moment it's touched jojuma 1 1,249 10-29-2023, 08:34 AM
Last Post: walter1950
  Unable to do initial setup of Weather due to keyboard LibrePhoneUser 2 1,744 07-07-2023, 03:29 AM
Last Post: jojuma
  Battery problem with a Pinephone keyboard and Mobian elode 2 2,978 12-22-2022, 07:10 PM
Last Post: acid andy
  Would creating a 2 row landscape keyboard be difficult? rp3 1 1,655 09-09-2022, 06:49 AM
Last Post: zetabeta
  PP Keyboard doesn't charge Pinephone (Mobian) jojuma 1 1,735 08-06-2022, 01:10 AM
Last Post: elode

Forum Jump:


Users browsing this thread: 1 Guest(s)