Merge pull request #25 from ghostbsd/feh-wallpaper
Draw the wallpaper with feh and restart on cancel
Bump the version to 1.1
Restart the computer when the installer is cancelled
Cancel and the window close button quit the installer, and rc then
carried on to the live desktop, which is what Try already does. Ask for
confirmation and restart the computer instead.
Draw the installer wallpaper with feh
Turning show-desktop-icons off did not get mate-settings-daemon to draw
the wallpaper. Go back to feh, which drew it in the earlier marco
setup, and read the picture from org.mate.background so it follows the
GhostBSD override. This drops the show-desktop-icons set and reset.
Merge pull request #24 from ghostbsd/show-desktop-icons-off
Let mate-settings-daemon draw the installer wallpaper
Let mate-settings-daemon draw the installer wallpaper
With show-desktop-icons on, mate-settings-daemon leaves the wallpaper
to Caja and waits for mate-session to report SessionRunning. Neither
runs in the installer session, so no wallpaper was drawn. Turn the key
off for root while the installer runs and reset it afterwards.
Bump the version to 1.0.
Merge pull request #23 from ghostbsd/marco-settings-daemon
Run the installer under marco and mate-settings-daemon
Run the installer under marco and mate-settings-daemon
mate-session rejected the --autostart option, so the installer came up
without a window manager or the MATE theme and stopped taking input.
Start marco and mate-settings-daemon directly instead. The settings
daemon applies the GTK theme and draws the wallpaper without starting
the panel, Caja or any autostart apps.
Bump the version to 0.9.
Merge pull request #22 from ghostbsd/port-networkmgr-api
Report a failed open WiFi network on the status line and Translation
Report a failed open WiFi network on the status line
An open network has no dialog to reopen, so a failed attempt only put
the status line back to "not connected" with no sign that anything
went wrong. Show "Could not connect to {ssid}" instead, through a
connection_failed() helper also used when saving the network fails.
Translate the installer into every supported language
Fill every untranslated string in all language files and replace the
fuzzy guesses msgmerge made, which are ignored at runtime and were
often wrong. Existing translations are kept. The files are now UTF-8,
since their headers declared ASCII.
Merge pull request #21 from ghostbsd/port-networkmgr-api
Port the network page to the rewritten NetworkMgr API
Update translations for the WiFi connection failure messages
Extract the two new network page strings into the template and merge them into every language file.
Fix saved WiFi networks being written as disabled
select_network disables every other saved network, and the config was
saved before they were re-enabled, so wpa_supplicant.conf kept them
disabled and they never auto-connected again. Re-enable them first.
A failed save of the config is now reported on the status line instead
of being ignored. Any failed attempt, including a failed credential
save, reopens the dialog titled "Could not connect to {ssid}", since
a timeout cannot tell a wrong key from an unreachable network.
Port the network page to the rewritten NetworkMgr API
NetworkMgr renamed its net_api functions and moved scan results out of
network_dictionary() into scan_networks(), which returns dicts instead
of index-based lists, so install-station failed to import at startup.
Networks are now saved through wpa_supplicant's control socket rather
than appended to wpa_supplicant.conf, and the config is only written
after a connection succeeds. Rescan requests a scan and reads the
results a few seconds later, and the page rescans once when it opens.
Open networks no longer get a password prompt after a failed attempt.
Merge pull request #20 from ghostbsd/wifi-connect-feedback
Wifi connection feedback
Grey out the WiFi list while a rescan is running
A connection started during a rescan could be overridden when the scan
finished. Rescan re-enabled itself and the status line went back to
"not connected" while the attempt was still running. Disabling the
list until the scan is done stops a connection from starting mid-scan.
Update translations for the WiFi connecting status
Regenerate the template and catalogs to add "Connecting to {ssid}..."
and refresh the network page line references. Drop the package_dir
mapping from setup.py, which only restated the default.
Show WiFi connection progress and open networks on single click
The access point list reacted to the selection changing, so after
cancelling the password window the same network could not be opened
again until another row was picked. Rows now open on a single click
through row-activated and are never left selected.
After entering a password nothing showed that a connection was in
progress, and a failed attempt could take a minute to come back. The
WiFi status line now shows "Connecting to <ssid>..." with a spinner,
and the list and Rescan button are locked until the card associates
or the attempt fails.
Merge pull request #19 from ghostbsd/update-network-code
Update the network page for the current NetworkMgr net_api
Re-enable Rescan when a WiFi scan fails
A failure in networkdictionary() inside the rescan thread, or the
WiFi card vanishing from the new scan, left the Rescan button greyed
out for good. Restore it in a finally block and skip the access point
list update when the card is gone.
Update the network page for the current NetworkMgr net_api
NetworkMgr's net_api now appends the full caps string, the security
type and an enterprise flag to each access point entry. The page read
ssid_info[-1] as the caps string, so it got the enterprise boolean and
crashed on any WPA or WEP password. It now reads ssid_info[7].
Port the networkmgr connection handling. WPA-Enterprise networks open
an EAP authentication dialog and are written with write_eap_config.
Open networks get a quoted SSID in wpa_supplicant.conf, and every write
to that file uses a 077 umask. Secured access points show the -secure
signal icons.
Bring up any WiFi card that is down before the first scan, and add a
Rescan button next to the wired status when a WiFi card is detected.
The rescan runs in a thread and updates the status and access point
list on the GTK main loop.
Connecting to a known SSID no longer blocks the UI, status updates
[8 lines not shown]Merge pull request #18 from ghostbsd/improve-rc
Run the installer in a MATE session instead of marco and feh
Run the installer in a MATE session instead of marco and feh
The .xinitrc named a wallpaper, so the installer's background was a path
in this repo rather than whatever GhostBSD ships, and it had drifted from
the mountain-sunset.jpg ghostbsd-mate-settings sets as the default.
mate-session now supplies the theme, fonts, cursor and wallpaper.
The session is trimmed to the window manager, since the panel and the
file manager have nothing to offer during an installation. Both keys are
root's own dconf, so the live user's session keeps the full desktop.
show-desktop-icons has to be off: with no caja to draw the desktop,
mate-settings-daemon paints the wallpaper, and only right away when that
key is false.
The empty autostart directory keeps tray applets and update notifiers
out. install-station is still the client X waits on, so quitting it hands
the boot back to rc.
Merge pull request #17 from Avicennasis/docs/fix-typos
docs: fix grammar and typos across install_station modules
docs: fix grammar and typos across install_station modules
Merge pull request #16 from ghostbsd/rc
Clear the live media's settings from the installed system
Clear the live media's settings from the installed system
pc-sysinstall copies the live root to the target with cpdup and excludes
only zpool.cache, so everything ghostbsd-build writes into the image
arrives on the installed system. install_station_enable and root's
.xinitrc both came along, which meant the installer relaunched on the
new machine's first boot. The service tried to disable itself after
startx returned, but that is long after cpdup has run, and it edited a
live rc.conf that is discarded at reboot anyway.
The installer owns the target, so the cleanup belongs here. create_cfg
now removes the service's rc.conf.d entry, root's .xinitrc, and the
schema override that keeps the live session from locking, then
recompiles the schemas so gschemas.compiled stops serving the overridden
defaults. Enabling setup-station moves to /etc/rc.conf.d/initial_setup,
replacing the warning comments that were appended to the user's rc.conf.
The mate image now autologins the live user through lightdm rather than
through gettytab and ttys, so the seds that rewrote those files have
[5 lines not shown]Merge pull request #15 from ghostbsd/backend-query-migration
Query pc-sysinstall directly and drop the forked backend scripts
Query pc-sysinstall directly and drop the forked backend scripts
src/backend-query held a copy of pc-sysinstall's query scripts that had
drifted from the originals, so a fix in pc-sysinstall did not reach the
installer and the two disagreed about what a disk looked like. Call
pc-sysinstall itself and delete the fork.
partition.py now goes through query_backend(), which runs a
pc-sysinstall subcommand and returns its output. parse_entities()
splits the 'name-field: value' lines that disk-part and part-label
emit into one dict per partition or gap. pc-sysinstall writes those
lines in on-disk order and dictionaries keep insertion order, so the
result preserves the physical layout of the device without sorting it
back into place. Free space keeps the 'freespaceN' names the old
scripts used, so callers read the same as before. disk-info uses
'field=value' instead and gets its own pattern.
data.py loses the query prefix and setup.py stops installing the
scripts into lib/install-station/backend-query.