From 1418ffce6e38641f0b84f2b2c9cd5d52196da811 Mon Sep 17 00:00:00 2001 From: Oliver Smith Date: Thu, 5 Jun 2025 19:49:54 +0200 Subject: [PATCH] main/postmarketos-ui-phosh: Stevia: add arrow keys Configure the new keyboard Stevia to have arrow keys by default in the terminal. The previous default terminal Squeekboard had separate arrow keys as well. While it is possible to move up/down/left/right with Stevia after pressing the space bar and moving the finger into a given direction, I found that it: * Is less precise (e.g. going up exactly 1 command in the terminal, which is my main use case, requires some effort to not go up 2 or 3 commands by accident). * Takes longer to do this action vs. having a separate button (you need to press space for ~a second until it goes into that special movement mode and then take more time to carefully move where you want, a simple button press is much quicker). * I saw other users note on Mastodon that moving down is cumbersome for them, given that there is not much space towards the bottom of the screen below the space bar. Having a lot of buttons in the list is fine IMHO, they can be scrolled through quickly by swiping left and right. Related: https://fosstodon.org/@phosh/114026426425496074 Part-of: https://gitlab.postmarketos.org/postmarketos/pmaports/-/merge_requests/6609 [ci:skip-build]: already built successfully in CI --- .../01_postmarketos-ui-phosh.gschema.override | 5 +++++ main/postmarketos-ui-phosh/APKBUILD | 6 +++--- 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/main/postmarketos-ui-phosh/01_postmarketos-ui-phosh.gschema.override b/main/postmarketos-ui-phosh/01_postmarketos-ui-phosh.gschema.override index bdf6083e6..9f812481e 100644 --- a/main/postmarketos-ui-phosh/01_postmarketos-ui-phosh.gschema.override +++ b/main/postmarketos-ui-phosh/01_postmarketos-ui-phosh.gschema.override @@ -2,3 +2,8 @@ # disable filtering apps based on 'adaptive' tag app-filter-mode=[] favorites=['org.gnome.Calls.desktop', 'sm.puri.Chatty.desktop', 'org.gnome.Contacts.desktop', 'firefox-esr.desktop'] + +[sm.puri.phosh.osk.Terminal] +# Add arrow keys to the default, which is "sm.puri.phosh.osk.Terminal" here: +# https://gitlab.gnome.org/guidog/stevia/-/blob/main/data/mobi.phosh.osk.gschema.xml +shortcuts=['', '', 'Left', 'Up', 'Down', 'Right', 'r', 'Home', 'End', 'w', 'b', 'f', 'v', 'c', 'v', 'c', 'Menu'] diff --git a/main/postmarketos-ui-phosh/APKBUILD b/main/postmarketos-ui-phosh/APKBUILD index 334baedde..22067db63 100644 --- a/main/postmarketos-ui-phosh/APKBUILD +++ b/main/postmarketos-ui-phosh/APKBUILD @@ -3,8 +3,8 @@ # Co-Maintainer: Pablo Correa Gomez # Co-Maintainer: fossdd pkgname=postmarketos-ui-phosh -pkgver=24 -pkgrel=2 +pkgver=25 +pkgrel=0 pkgdesc="(Wayland) Mobile UI initially developed for the Librem 5" url="https://phosh.mobi" arch="noarch !armhf" @@ -70,7 +70,7 @@ systemd() { } sha512sums=" -e577b8073df680ccee75ef5b6bb1f2877d5727687d63d6fd9211298e791b6c9f593eb79278c77a4b4918e3c57333c2a012030baf5a3c8d6d16000cc63a030f84 01_postmarketos-ui-phosh.gschema.override +3ce42ce9cd55fb80dbd5689bb2b4955b7b296f0487163a3a7ad4eeecc0f874d890aaba76071aabc103dd67d0c8258dc077f202e28325d05b77a610613d1878d9 01_postmarketos-ui-phosh.gschema.override a741e8db9e4232334b924326c48be4e4c8f7a2382a7608926918a7491c518b2dda551e55a00d4d5fcf58c7950a78dc35d5cc5eaab53ad93a56de40887071f242 mimeapps.list 53f5c565b4ca8a12f12b63ec84a0194ef530703565d123203d41582a35a54d66afaf3a676df158ae0effe327dcfc1c6496a082ce9dbe803b2547417c3c3fad6e udiskie.desktop "