pmaports/main/postmarketos-bootsplash/plymouthd.conf
Clayton Craft 77c05f0443
main/postmarketos-bootsplash: fix pwr button toggle and dev. scale
Apparently plymouth's config parser can't handle in-line comments. This
also fixes an issue I just noticed where the scale wasn't being parsed
correctly either because 1.0 is not a uint.

../src/libply/ply-key-file.c:427:ply_key_file_get_ulong       : group 'Daemon' key 'DeviceScale' val '1.0' is not a valid unsigned number
../src/libply/ply-key-file.c:427:ply_key_file_get_ulong       : group 'Daemon' key 'XkbExtraEscButton' val '0x1008ff2a  # Power button (XKB_KEY_XF86PowerOff)' is not a valid unsigned number

The additional xkb config is necessary for plymouth to detect the pwr
key press, or else it isn't initialized.

Fixes #4548

Signed-off-by: Clayton Craft <craftyguy@postmarketos.org>
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/8561>
2026-05-26 15:57:20 +00:00

6 lines
124 B
Text

[Daemon]
Theme=pmos-spin
DeviceScale=1
DeviceTimeout=5.0
# Power button (XKB_KEY_XF86PowerOff)
XkbExtraEscButton=0x1008ff2a