feat(installer): step-by-step wizard with next/back navigation
Anaconda is a hub & spoke installer: a MENU where the user picks which screen to enter, in any order. That assumes you already know what you are doing -- the opposite of what FWS is for. The Summary hub no longer shows its grid of tiles; it chains its screens one by one, like the Windows installer: Language -> Internet -> Date & time -> Destination -> Desktop -> User -> Root password -> Summary -> Installation Consequences addressed here: - The desktop default was "command line only", on a screen that was neither mandatory nor visited by most users: the installation SUCCEEDED but left a console-only system -- a black screen on reboot, experienced as "the OS does not install". The screen is now part of the flow and defaults to KDE Plasma. - Navigation was inconsistent: hub screens carried a single "Done" button in the TOP LEFT while standalone screens have their buttons at the bottom right. That button is moved into a bottom-right bar identical to the standalone one, renamed "Suivant", and joined by a "Précédent" button. - Going back works from the last screen all the way to the first, including out of the hub, so a wrong language -- hence a wrong keyboard layout -- is no longer final. Leaving the hub and coming back would normally rebuild a fresh hub and lose every entry, so the hub instance is cached and reused. - Going back applies nothing: the Destination screen's apply() reconfigures partitioning. - Screens now slide horizontally, right to left going forward. - The keyboard chosen on the first screen is applied to the running X server with setxkbmap. Anaconda 45 only pushes it to systemd-localed, which expects a compositor to listen -- there is none under the live session's Openbox/Xorg, so the whole installer stayed in QWERTY US and Wi-Fi and account passwords were typed blind. The redundant screens (second keyboard choice, Anaconda's own network screen, language support) are removed through Anaconda's supported "hidden_spokes" option rather than by patching it. Everything is behind try/except: should any of it fail, the classic hub comes back and the installation stays possible. Signed-off-by: nocode <suzuku295@gmail.com>
This commit is contained in:
1 parent
557470ed60
commit
59bc828f9d
8 files changed
+706
-4
No files matched your search
@@ -93,6 +93,10 @@ zram-generator
|
||||
xorg-xinit
|
||||
xorg-xrandr
|
||||
xorg-xsetroot
|
||||
# setxkbmap : applique IMMÉDIATEMENT au serveur X du live la disposition
|
||||
# clavier choisie au 1er écran de l'installateur (localed n'agit que sur
|
||||
# la config, pas sur le X en cours) — cf. fws_wizard.py.
|
||||
xorg-setxkbmap
|
||||
openbox
|
||||
ttf-dejavu
|
||||
|
||||
|
||||
Reference in new issue
Block a user