yafti
The yafti
module can be used to install Yafti and set it up to run on first boot. Yafti (Yet Another First Time Installer) is a GTK program by Universal Blue that is used for prompting the user of a custom image before doing some optional configuration such as installing Flatpaks.
Also Yafti’s dependencies, python3-pip
and libadwaita
are installed.
Optionally, a list of Flatpak names and IDs can be included under custom-flatpaks:
. These will be enabled by default under their own section on the Flatpak installation screen of yafti
.
A default version of the yafti
configuration file, yafti.yml
, is supplied by this module. To make your own, create the file at /usr/share/ublue-os/firstboot/yafti.yml
. The default version of the file can be found here.
Known issues
Section titled “Known issues”Yafti autostart doesn’t work on WMs (Window Managers) like Sway or Hyprland due to them not implementing XDG-Autostart specification.
https://github.com/swaywm/sway/issues/1423
https://github.com/hyprwm/Hyprland/issues/5169
Usage of dex in the affected WMs can be considered to mitigate this issue.
Example configuration
Section titled “Example configuration”type: yafticustom-flatpaks: - Celluloid: io.github.celluloid_player.Celluloid - Krita: org.kde.krita
Configuration options
Section titled “Configuration options”custom-flatpaks:
(optional array)
Section titled “custom-flatpaks: (optional array)”List of custom Flatpaks to inject to the default yafti.yml. Format is: PrettyName: org.example.flatpak_id