- Shell 48.4%
- QML 33.7%
- Python 17.9%
| Filename | Latest commit message | Latest commit date |
|---|---|---|
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. |
||
| .forgejo/workflows | ||
| layouts | ||
| rpm | ||
| scripts | ||
| tests | ||
| .gitignore | ||
| LICENSE | ||
| README.md | ||
| sdk-version.json | ||
| SPEC.md | ||
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 DvorakBackspace ' 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, then123· 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 (stocksymView);{&=opens L2;abcreturns to letters. Typing space does not auto-return to L0. - L2 (
{&=): currency, brackets, Tab (U+0009 when the field accepts it),× § ¶ °, etc. (stocksymView2).
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 boundheight: visible ? implicitHeight : 0. In SFOS 5.2,KeyboardLayoutis aColumnthat sets each row's height tokeyHeight;KeyboardRowis a bareItemwhoseimplicitHeightis 0, so every visible row collapsed. 0.1.1 uses one fixed set of rows and stocksymView/symView2/keyboard.inSymView(2)— the same pattern as stockcs.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 stock1/2and2/2and can also toggle L1/L2. - Function keys use stock pixel widths (
functionKeyWidth,punctuationKeyWidth,shiftKeyWidth). 0.1.0 setimplicitWidth: 1(and 2/3/4/6) as if they were unit weights;KeyboardRowtreats those as pixels for non-symViewkeys. - Printed hint glyphs on the letter key faces (the small SwiftKey
corner symbols) are not drawn. Stock
CharacterKeyhas no public annotation property; the hint symbol is still in the long-press popup. - Layout switch key is a
FunctionKeynext to123(letters only). In symbol layers that slot becomesabc. It callsswitchLayoutoncanvas.layoutModel(same APIs as community layouts andjolla-keyboard.qml). StockSpacebarRowhas no separate switch key; swipe on the space bar still works. The key label is the layoutlanguageCode(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.