Dvorak CZ keyboard layout for Sailfish OS (Jolla/Maliit) with Czech long-press accents
  • Shell 48.4%
  • QML 33.7%
  • Python 17.9%
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
SFOS 67c533c86d
All checks were successful
sailfish-keyboard-layout-dvorak-cz-rpm / check (push) Successful in 1s
sailfish-keyboard-layout-dvorak-cz-rpm / build (push) Successful in 7s
Fix blank Dvorak CZ keyboard (v0.1.1)
0.1.0 bound KeyboardRow height to implicitHeight (always 0 for the
stock Item-based row) and hid extra layer rows, so the layout was
detected but rendered fully blank.

Switch L1/L2 to stock symView/symView2 on a fixed grid, use stock key
width metrics, add qmllint, and ship 0.1.1.
2026-11-22 21:48:49 +01:00
.forgejo/workflows Fix blank Dvorak CZ keyboard (v0.1.1) 2026-11-22 21:48:49 +01:00
layouts Fix blank Dvorak CZ keyboard (v0.1.1) 2026-11-22 21:48:49 +01:00
rpm Fix blank Dvorak CZ keyboard (v0.1.1) 2026-11-22 21:48:49 +01:00
scripts Fix blank Dvorak CZ keyboard (v0.1.1) 2026-11-22 21:48:49 +01:00
tests Fix blank Dvorak CZ keyboard (v0.1.1) 2026-11-22 21:48:49 +01:00
.gitignore Fix blank Dvorak CZ keyboard (v0.1.1) 2026-11-22 21:48:49 +01:00
LICENSE Add Dvorak CZ Jolla keyboard layout (v0.1.0) 2026-11-22 11:57:40 +01:00
README.md Fix blank Dvorak CZ keyboard (v0.1.1) 2026-11-22 21:48:49 +01:00
sdk-version.json Add Dvorak CZ Jolla keyboard layout (v0.1.0) 2026-11-22 11:57:40 +01:00
SPEC.md Fix blank Dvorak CZ keyboard (v0.1.1) 2026-11-22 21:48:49 +01:00

Dvorak CZ keyboard layout for Sailfish OS

Custom Jolla / Maliit keyboard layout for Sailfish OS 5.2.x: Dvorak letters, an always-visible number row, Czech long-press accents, and two symbol layers whose grids follow the SwiftKey screens in SPEC.md (v0.2).

Package name: sailfish-keyboard-layout-dvorak-cz (noarch). This is a keyboard layout, not a Harbour Silica app — it installs into the system Maliit layouts directory and needs root, so it is not Jolla Store / Harbour compliant. That is expected; we ship it through our Forgejo store.

Install

From the SFOS Forgejo store (listed as Dvorak CZ / sailfish-keyboard-layout-dvorak-cz), or manually:

devel-su pkcon install-local sailfish-keyboard-layout-dvorak-cz-0.1.1-1.noarch.rpm
# then restart the keyboard so Maliit reloads layouts:
systemctl --user restart maliit-server

Enable it in Settings → Text input → Keyboards (name: Dvorak CZ). Swipe on the space bar still switches layouts; the key next to 123 cycles enabled layouts as well.

If maliit-server is not a user unit on your build, restart the UI instead (systemctl --user restart lipstick) or reboot.

Layout (portrait; landscape is the same grid stretched)

  • L0 (letters): number row 1–0, then Dvorak Backspace ' p y f g c r l / a o e u i d h t n s / Shift q j k x b m w v z, then 123 · layout switch · , · space · . · Enter.
  • Long-press on letters: Czech first (á č ď é ě í ň ó ř š ť ú ů ý ž and uppercase), then the printed SwiftKey hint symbol, then other European accents. The base letter stays in the popup and is preselected.
  • L1 (123): numbers and common symbols on the same key grid (stock symView); {&= opens L2; abc returns to letters. Typing space does not auto-return to L0.
  • L2 ({&=): currency, brackets, Tab (U+0009 when the field accepts it), × § ¶ °, etc. (stock symView2).

Toolbar and suggestion-bar UI are out of scope (stock Maliit chrome is used).

Deviations / implementation notes

See also SPEC.md §6–7.

  • 0.1.0 was blank on device. It hid whole KeyboardRows and bound height: visible ? implicitHeight : 0. In SFOS 5.2, KeyboardLayout is a Column that sets each row's height to keyHeight; KeyboardRow is a bare Item whose implicitHeight is 0, so every visible row collapsed. 0.1.1 uses one fixed set of rows and stock symView / symView2 / keyboard.inSymView(2) — the same pattern as stock cs.qml / en.qml.
  • Symbol-layer grids therefore follow the L0 key grid (always-on number row, Backspace stays on the left of R1, Shift stays on R3). L1/L2 symbols are mapped onto those keys rather than using a different SwiftKey grid. The 10th L2 number-row key is ¤. Extra typographic marks fill leftover letter-row slots (« » “ ” „ · •). Shift in symbol mode still shows stock 1/2 and 2/2 and can also toggle L1/L2.
  • Function keys use stock pixel widths (functionKeyWidth, punctuationKeyWidth, shiftKeyWidth). 0.1.0 set implicitWidth: 1 (and 2/3/4/6) as if they were unit weights; KeyboardRow treats those as pixels for non-symView keys.
  • Printed hint glyphs on the letter key faces (the small SwiftKey corner symbols) are not drawn. Stock CharacterKey has no public annotation property; the hint symbol is still in the long-press popup.
  • Layout switch key is a FunctionKey next to 123 (letters only). In symbol layers that slot becomes abc. It calls switchLayout on canvas.layoutModel (same APIs as community layouts and jolla-keyboard.qml). Stock SpacebarRow has no separate switch key; swipe on the space bar still works. The key label is the layout languageCode (CS).
  • Word prediction is left to the default handler. Custom layouts do not get a Czech XT9/presage model in v1 (SPEC §5).
  • The always-on number row adds one row of height; check it fits the Silica keyboard on the target phone.

Build

QML-only noarch package. Host rpmbuild is enough; CI also builds inside the Platform SDK pin in sdk-version.json (coderus/sailfishos-platform-sdk:5.2.0.15).

./scripts/check-scaffold.sh     # includes qmllint when installed
./scripts/qmllint-layout.sh     # Qt5 syntax + Qt6 typed lint
./scripts/build-rpm.sh          # host noarch rpmbuild → artifacts/
# optional, when Docker+SDK are available:
#   ./scripts/build-rpm.sh --sdk

The harbour pre-ship gate (sfos-harbour-smoke.sh) is written for Silica apps (desktop file, qml/ app tree, Sailjail). It does not fit a keyboard layout RPM; run ./scripts/check-scaffold.sh and the applicable RPM file-list / QML syntax checks instead.

Licence

MIT. Layout files are original; they use the public Jolla keyboard QML components (KeyboardLayout, CharacterKey, …) at runtime and do not bundle stock layout sources.