KindWorks Specific Configuration and Application Setup
This application is designed to automate the setup and verification of refurbished computers for KindWorks. It provides a user-friendly GUI to install necessary software, configure system settings, and verify hardware functionality. It supports both Debian-based Linux (e.g., Ubuntu, Debian) and macOS.
- Automated Software Installation:
- Linux: Installs
git,alsa-utils, andcheeseusingapt-get. - macOS: Installs
gitandffmpegusingHomebrew. - Clones the core
kw-linuxrepository and executes its installation script. - Optional: Choice to install the
KindWorks_Informationrepository.
- Linux: Installs
- System Configuration:
- Automatically configures LibreOffice to save in Microsoft Office compatible formats (Word, Excel, PowerPoint).
- Hardware & Connectivity Dashboard:
- Wi-Fi Test: Verifies internet connectivity by pinging cnn.com.
- Audio Output: Plays a test sound to verify speakers/headphones (
aplayon Linux,afplayon macOS). - Camera Test: Launches a camera preview (
cheese/ffplayon Linux,Photo Boothon macOS). - Microphone Test: Records a 5-second clip (
arecordon Linux,ffmpegon macOS) and plays back for verification. - Visual Status Indicators: Real-time Green/Red status lights for each hardware component.
- Real-time Logging: Displays a high-visibility, "Matrix-style" green terminal log for all background installation tasks.
- Go: Version 1.16 or higher.
- Fyne Dependencies: See the Fyne setup guide for your OS.
- Linux: The application uses
apt-getfor package management. - macOS: The application requires Homebrew to be installed.
- Hardware: Camera and Audio hardware are required for the verification tests.
-
Clone the project:
git clone <repository-url> cd kw-linux-config
-
Install packages
apt install Libxxf86vm-dev libxi-dev libxinerama-dev libxrandr-dev libxcursor-dev pkg-config golang-
Install dependencies:
go mod tidy
-
Build the application:
go build -o kw-config
Run the compiled binary:
./kw-configFollow the on-screen instructions:
- Read the KindWorks introduction.
- Enter the
sudopassword to begin software installation. - Monitor the installation progress in the real-time log.
- Verify system settings and perform hardware tests in the dashboard.
- Finish the setup once all lights are Green!
- aplay/arecord not found: Ensure
alsa-utilsis installed (Linux). - brew not found: Ensure Homebrew is installed (macOS).
- Camera not opening: Ensure
cheeseis installed (Linux) or check your camera permissions (macOS). - Fyne Thread Panic: Ensure all UI calls are wrapped in
fyne.Do()if modifying from a goroutine.
KindWorks: Inspiring action for a kinder world.