Functional System Requirements
Horizon UI
The Horizon UI is the wizard-style user interface component of Project Horizon. The system takes the input of the User and creates a HorizonScript. The resultant HorizonScript is either executed on the running system when started in an installation environment, or saved for later use when started in a runtime environment.
System Initialisation
Functional Requirements
UI.Early.LoadFirmware
If the User has specified to load firmware in the installation environment, the system shall install the linux-firmware package to the installation environment before eudev is started.
UI.Early.DetectGfx
The system shall detect all usable graphics adaptors present in the computer.
UI.Early.NoGfx
If there are no usable graphics adaptors present, the system shall display a message that installation cannot continue, and allow the User to login to a virtual TTY or reboot the computer.
UI.Early.MultiGfx
If multiple graphics adaptors are present, the system shall attempt to determine which graphics adaptor has a monitor attached. If the determiniation is that multiple graphics adaptors have monitors attached, or it is indeterminiate which adaptor has a monitor attached, then the system shall prompt the User to choose which graphics adaptor to use for installation.
User Language Selection
Prerequisites
UI.Language.Prerequisites
The system must have more than one language translation available for use.
Functional Requirements
UI.Language.List
The system shall present the User with a list of natural languages, in the form of: "Install Adélie using English", "Installer Adélie en français".
UI.Language.Button
For this screen only, the system shall present the "Next" button as a single right-facing arrow. The system shall not present the Cancel button on this screen.
UI.Language.Enable
When the User chooses a language from the list, the system shall enable the Next button to be clicked.
HorizonScript Keys
Script.Key.language
language — The locale identifier of the chosen language.
Initial Introduction
Functional Requirements
UI.Intro.Describe
The system shall present the User with a greeting message including a high-level overview of the installation process. The system shall reassure the User that the installation process will not modify any data until the final step.
UI.Intro.Elements
The system shall describe the UI elements common to each screen, including the Help button, the Back/Next buttons, and the Cancel button.
UI.Intro.Tools
The system shall allow the User to start a tool from the following list before beginning the installation.
A terminal.
An external partition editor.
A lightweight Web browser.
Firmware Setup
Prerequisites
UI.Firmware.Prerequisites
The system must have firmware support compiled in.
Functional Requirements
UI.Firmware.Prompt
The system shall ask the User whether or not to load binary firmware, stressing that security-sensitive systems must not choose this option.
UI.Firmware.Load
If the User chooses to load binary firmware, the system shall add the APK Fission repository and the linux-firwmare package to the installed environment.
HorizonScript Keys
Script.Key.firmware
firmware — Whether to load firmware.
Networking Setup
Prerequisites
UI.Network.Prerequisites
The system must have at least one non-loopback network interface detected by the kernel.
Functional Requirements
UI.Network.AddressType
The system shall ask the User whether they wish to use automatic addressing (DHCP), manual addressing, or disable network connectivity.
UI.Network.AddressType.Skip
If the User chooses to disable network connectivity, the system shall proceed to the System Metadata screen.
UI.Network.RuntimeEnv
If Horizon UI is running in a runtime environment instead of an installation environment, the system shall allow the User to add their network interface by device name before proceeding.
UI.Network.ChooseIface
If the computer has more than one network interface, the system shall prompt the User to choose which interface to use for installation.
UI.Network.Wireless
If the chosen network interface is a wireless network interface, the system shall display a Wireless Configuration screen.
UI.Network.Wireless.None
The system shall allow the User to disable wireless connectivity.
UI.Network.Wireless.None.Multi
If the User has chosen to disable wireless connectivity, and the computer has multiple network interfaces, the system shall start at UI.Network.ChooseIface again.
UI.Network.Wireless.None.Single
If the User has chosen to disable wireless connectivity, and the computer only has wireless networking, the system shall prompt the User to confirm they wish to continue without networking.
UI.Network.Wireless.APs
The system shall display a list of access points in range of the wireless interface for the User to select from.
UI.Network.Wireless.CustomAP
The system shall allow the User to input a custom access point name.
UI.Network.Wireless.Security
If the chosen access point uses authentication, the system shall prompt the User for the requisite credentials.
UI.Network.Wireless.CustomSecurity
If the User inputs a custom access point name, the system shall prompt the User for the type of security used (or none) and requisite credentials.
UI.Network.Wireless.Enable
The system shall enable the Next button when an access point is selected or input, and the requisite credentials (if any) have been input.
UI.Network.Wireless.Connect
When the User chooses Next, the system shall attempt to connect to the specified wireless network.
UI.Network.Wireless.Error
If an error occurs during wireless network connection, the system shall display a message explaning the error condition, and redisplay the Wireless Configuration screen.
UI.Network.Wireless.ConnectTimeOut
The system shall time out after waiting 15 seconds for the wireless network to connect, and consider a time out an error condition as specified in UI.Network.Wireless.Error.
UI.Network.Automatic
If the User selected automatic addressing, the system shall attempt to obtain an IPv4 address via DHCP and an IPv6 address via Router Advertisement and DHCPv6.
UI.Network.Automatic.TimeOut
If no IP address is obtained for v4 or v6 after 15 seconds, the system shall display a message that automatic configuration failed, and ask the User whether to retry the attempt, use manual addressing, or skip networking configuration.
UI.Network.Manual
If the User selected manual address, the system shall prompt the User for the following information:
Network information to collect from User for manual configuration
Information
Description
IPv4 host address
The address of this computer
IPv4 subnet mask
The subnet mask / prefix of the network
IPv4 default gateway
The router on the network
IPv4 DNS resolver
The DNS resolver to use on IPv4 networks; default to 9.9.9.9
IPv6 host address
The address of this computer
IPv6 network prefix
The prefix of the network
IPv6 default gateway
The router on the network
IPv6 DNS resolver
The DNS resolver to use on IPv6 networks; default to 2620:fe::fe
UI.Network.Manual.Test
The system shall allow the User to test their network configuration by attempting to connect to distfiles.adelielinux.org.
UI.Network.Manual.Enable
The system shall enable the Next button when either an IPv4 or IPv6 configuration is complete (address, subnet mask, gateway, DNS resolver).
HorizonScript Keys
Script.Key.network
network — Whether to enable network connectivity (true or false).
Script.Key.netaddress
netaddress — Connection information, in the format: (iface) {dhcp|static} [(address) (prefix-or-netmask) (gateway) (dns)]. For example, netaddress eth0 static 2001:db8::1337 64 2001:db8::1 2620:fe::fe. May be repeated, for multiple interfaces or IPv4/IPv6 dual-homing.
Script.Key.netssid
netssid — Wireless networking information, in the format: (iface) "(SSID)" {none|wep|wpa} [(passphrase)] For example, netssid wlan0 "The New Fox 5G" wpa2 "shh sekrit". System behaviour is undefined if SSID or passphrase contain an ASCII double-quote character.
Package and Package Set Selection
Functional Requirements
UI.Packages.SimpleSel
The system shall allow the User to choose from one of the following four preset package sets, or to customise the packages installed.
UI.Packages.SimpleSel.Standard
The system shall allow the User to choose the Standard preset, which uses adelie-base-posix as an anchor package, and includes the firefox-esr, libreoffice, thunderbird, and vlc packages, and the kde and x11 metapackages.
UI.Packages.SimpleSel.Notebook
The system shall allow the User to choose the Notebook preset, which includes the Standard preset and additional power management tools (UPower, pm-utils).
UI.Packages.SimpleSel.Minimal
The system shall allow the User to choose the Minimal preset, which uses adelie-base as an anchor package, and includes the lxqt-desktop, featherpad, netsurf, xorg-apps, xorg-drivers, and xorg-server packages.
UI.Packages.SimpleSel.MinimalTUI
The system shall allow the User to choose the Minimal Non-Graphical preset, which uses adelie-base as an anchor package, and includes the elinks and tmux packages.
UI.Packages.SimpleSel.Custom
The system shall allow the User to choose to customise the packages installed on their computer.
UI.Packages.SimpleSel.Enable
The system shall enable the Next button when a selection is made.
UI.Packages.Custom
If the User chooses Custom from UI.Packages.SimpleSel, the system shall present the User with a list of packages and package sets and allow the User to choose any or all of the packages listed. The system shall display the disk space used by each selection, and the total required for installation.
UI.Packages.Custom.Packages
The system shall offer at least the following packages, with the following names, descriptions, and corresponding APK package names.
Custom packages offered on the Package Selection screen
Name
Description
APK name
Firefox Web browser
The most popular and powerful Web browser for Linux. Includes JavaScript and multimedia (audio/video) playback support.
firefox-esr
Netsurf Web browser
Lightweight Web browser. Does not include JavaScript support.
netsurf
Thunderbird Email
Read and compose email, and participate in newsgroups.
thunderbird
FeatherPad
Lightweight text editor.
featherpad
LibreOffice
Popular, extensible office suite.
libreoffice: libreoffice-base, libreoffice-calc, libreoffice-draw, libreoffice-impress, libreoffice-math, libreoffice-writer
VLC Media Player
Popular multimedia player, including support for a wide variety of audio and video types.
vlc
KDE Applications
A variety of applications including a word processor, media player, and many games.
kde
KDE Plasma
Modern desktop environment with graphical effect support.
plasma-desktop
LXQt Desktop Environment
Lightweight desktop environment using the Openbox window manager and Qt widgets.
lxqt-desktop
MATE Desktop Environment
Traditional desktop environment based on the GNOME 2 look and feel.
mate-complete
XFCE Desktop Environment
Desktop environment based on Gtk+.
xfce-desktop
Window Managers
Individual window managers that are not part of a desktop environment.
awesome, fluxbox, i3wm, icewm, openbox, spectrwm
UI.Packages.Size
If the User has selected a package set or packages that will use more disk space than the computer has, the system shall prompt the User to confirm the selection and warn that installation may not be successful.
HorizonScript Keys
Script.Key.pkginstall
pkginstall — A space-separated list of packages to install.
Save HorizonScript
Prerequisites
UI.Writeout.Prerequisites
The system must be running in a runtime environment, not an installation environment.
Functional Requirements
UI.Writeout.Explain
The system shall inform the User that the system has finished collecting information and is now ready to save the resultant HorizonScript.
UI.Writeout.Button
The system shall replace the "Next" button with a "Save" button using the same keyboard accelerator as Next.
UI.Writeout.Save
When the User chooses "Save", the system shall open a dialogue for the user to navigate to the directory in which they wish to save the HorizonScript, and the name of the file-on disk which shall default to installfile.
UI.Writeout.Close
If the HorizonScript file is saved successfully, the system shall exit.
UI.Writeout.Failure
If the HorizonScript file cannot be saved successfully, the system shall display a message indicating the error, and then redisplay the writeout screen.
Horizon Runner
The Horizon Runner is the component of Project Horizon that configures a computer to match an input HorizonScript.