fp6-img/aports/device/fp6-login-screen-schema/org.gnome.login-screen.gschema.xml
Jorijn van der Graaf 8e4cc1d777
Some checks failed
image / image (push) Failing after 3h23m10s
Phosh image: GDM's login-screen schema, so Settings can enrol a finger
GNOME Settings 51 shows the Users page's "Fingerprint Login" row only when
GDM's org.gnome.login-screen schema exists and its
enable-fingerprint-authentication key is true. The Phosh image logs in
through greetd/phrog, so without GDM the row never appeared and no finger
could be enrolled from the GUI; Settings never asked fingerprintd.

fp6-login-screen-schema installs GDM's schema file, unchanged, from
Alpine's gdm-48.0-r8, and nothing else of GDM. It is the only key Settings
reads, and nothing else on the image looks the schema up. replaces="gdm"
keeps a single copy if GDM is ever installed as well (tested in alpine:edge
in both orders; glib-compile-schemas stays clean). Added to the Phosh
image's packages.

Tested on the dev phone: the row appears, a thumb enrolled through
Settings' dialog, and it unlocks the lock screen.
2026-09-23 19:55:40 +02:00

135 lines
4.4 KiB
XML

<?xml version="1.0" encoding="UTF-8"?>
<schemalist gettext-domain="gdm">
<enum id="org.gnome.login-screen.BannerSource">
<value value="1" nick="settings"/>
<value value="2" nick="file"/>
</enum>
<schema id="org.gnome.login-screen" path="/org/gnome/login-screen/">
<key name="enable-fingerprint-authentication" type="b">
<default>true</default>
<summary>
Whether or not to allow fingerprint readers for login
</summary>
<description>
The login screen can optionally allow users who have enrolled
their fingerprints to log in using those prints.
</description>
</key>
<key name="enable-smartcard-authentication" type="b">
<default>true</default>
<summary>
Whether or not to allow smartcard readers for login
</summary>
<description>
The login screen can optionally allow users who have smartcards
to log in using those smartcards.
</description>
</key>
<key name="enable-switchable-authentication" type="b">
<default>false</default>
<summary>
Whether or not to allow switchable authentication for login
</summary>
<description>
The login screen can optionally allow a single PAM service to provide
multiple authentication mechanisms via a GDM PAM.
</description>
</key>
<key name="enable-password-authentication" type="b">
<default>true</default>
<summary>
Whether or not to allow passwords for login
</summary>
<description>
The login screen can be configured to disallow password authentication,
forcing the user to use smartcard or fingerprint authentication.
</description>
</key>
<key name="logo" type="s">
<default>''</default>
<summary>
Path to small image at top of user list
</summary>
<description>
The login screen can optionally show a small image to provide site
administrators and distributions a way to display branding.
</description>
</key>
<key name="fallback-logo" type="s">
<default>''</default>
<summary>
Path to small image at top of user list
</summary>
<description>
The fallback login screen can optionally show a small image to provide
site administrators and distributions a way to display branding.
</description>
</key>
<key name="disable-user-list" type="b">
<default>false</default>
<summary>
Avoid showing user list
</summary>
<description>
The login screen normally shows a list of available users to log in
as. This setting can be toggled to disable showing the user list.
</description>
</key>
<key name="banner-message-enable" type="b">
<default>false</default>
<summary>
Enable showing the banner message
</summary>
<description>
Set to true to show the banner message text.
</description>
</key>
<key name="banner-message-source" enum="org.gnome.login-screen.BannerSource">
<default>"settings"</default>
<summary>
Banner message source
</summary>
<description>
The source of the text banner message on the login screen.
</description>
</key>
<key name="banner-message-text" type="s">
<default>''</default>
<summary>
Banner message text
</summary>
<description>
Text banner message to show in the login window.
</description>
</key>
<key name="banner-message-path" type="s">
<default>''</default>
<summary>
Banner message path
</summary>
<description>
Path to text file with banner message to show in the login window.
</description>
</key>
<key name="disable-restart-buttons" type="b">
<default>false</default>
<summary>
Disable showing the restart buttons
</summary>
<description>
Set to true to disable showing the restart buttons in the login window.
</description>
</key>
<key name="allowed-failures" type="i">
<default>3</default>
<summary>
Number of allowed authentication failures
</summary>
<description>
The number of times a user is allowed to attempt authentication, before
giving up and going back to user selection.
</description>
</key>
</schema>
</schemalist>