Fix .xinitrc path and improve UI visibility in installation
- Change .xinitrc path from `/usr/home/ghostbsd/` to `/home/ghostbsd/` for
correct FreeBSD home directory handling
- Fix indentation of .xinitrc writelines() calls to be inside the file context
manager (prevents potential file write errors)
- Add explicit label2.show() call in InstallWindow to ensure progress label
visibility during installation
These changes ensure proper file handling in "Try Live" mode and improve
installation UI feedback reliability.
Merge pull request #379 from ghostbsd/dependabot/pip/contrib/libcbor/doc/source/urllib3-2.6.0
build(deps): bump urllib3 from 2.1.0 to 2.6.0 in /contrib/libcbor/doc/source
Add missing logic for `.xinitrc` updates in "Try Live" mode
- Renamed `install_mode` to `what_to_do` and `filesystem_type` to `install_type` across modules for clarity and consistency
- Implemented `.xinitrc` configuration updates in "Try Live" mode
- Added logic to save ZFS configuration during installation process
- Improved button handling and code readability in the interface controller
x11/xconfig: Update to version 2.9
Update xconfig to version 2.9, which restores comprehensive video driver
detection and X server configuration functionality.
Changes in 2.9:
- Add NVIDIA GPU detection with version-specific driver selection
(580/470/390/340/304 drivers)
- Add AMD Radeon device ID database for radeonkms vs amdgpu selection
- Add comprehensive function documentation to all 50 functions
- Support for Intel, AMD, NVIDIA GPUs
- VirtualBox, VMware, QEMU, Hyper-V, bhyve VM guest support
- Xorg and XLibre X server detection
- Offline package support (/xdrivers) with online fallback
Restore driver detection and X server configuration functionality
Restore comprehensive video driver detection and setup logic to xconfig,
enabling automatic X11 configuration for diverse hardware platforms.
Driver Detection Improvements:
- Add NVIDIA GPU detection with version-specific driver selection
* Latest driver (580) for RTX 40/50 series and Ada Generation cards
* 470 driver for RTX 20/30 series and Pascal/Turing cards
* 390 driver for GTX 600-900 series and Kepler/Maxwell cards
* 340 driver for GTX 200-500 series and Tesla/Fermi cards
* 304 driver for GeForce 6/7/8/9 series legacy cards
- Add AMD Radeon device ID database for radeonkms vs amdgpu selection
* 400+ legacy Radeon device IDs requiring radeonkms driver
* Automatic amdgpu selection for newer cards (Polaris+)
Configuration Management:
- Add comprehensive function documentation to all 50 functions
[28 lines not shown]
Add comprehensive function documentation to xconfig
Add documentation headers to all 50 functions in bin/xconfig to improve
code maintainability and developer onboarding. Each function now includes:
- Function name and description
- Parameter specifications with detailed explanations
- Return value documentation
- Practical usage examples
This documentation follows shell script conventions with headers positioned
above function definitions.
Key improvements:
- Hardware detection functions (GPU, VM, driver version selection)
- Configuration functions (DRM, legacy drivers, NVIDIA, virtualization)
- Helper functions (rc.conf management, package installation, backup)
- Dialog/menu functions (bsddialog/dialog integration)
- Main entry points (cmd_auto, cmd_debug, interactive menu)
[13 lines not shown]
Added CONFLICTS with drivers and Fixed a mistake.
In x11/plasma6-plasma-desktop/Makefile:
Added CONFLICTS with the X.Org variants of the input drivers to the
'xlibre' flavor, and with XLibre variants of them to the 'xorg' flavor.
This is to ensure proper build time behaviour.
In x11/plasma6-plasma/Makefile:
RUN_DEPENDS was mistakenly assigned with the value of BUILD_DEPENDS.
Fixed it.
Add rc.conf management helpers and VirtualBox service automation
- Introduced `rc_conf_has`, `enable_rc_conf`, and `start_service_safe` functions for streamlined rc.conf management.
- Automated enabling and starting of VirtualBox-related services (`vboxguest` and `vboxservice`).
Replaced the old maintainance link.
The old link to "Instructions for keeping GhostBSD ports current with FreeBSD ports." 404s now due to the guide being moved from the GitHub discussions to the GhostBSD forums.
Updated the link to the new destination.