Hello everyone,
I would like to offer, for those who might be interested, an automatic desktop environment installation script (probably yet another one) with bsddialog (GUI).
Indeed, I regularly use a script to test hardware and install the desktop environments I need on FreeBSD, so I decided to share it.
The script is only 21kB, it's written in very basic shell script (to remain easily understandable), and allows deploying all the desktop environments presented in the handbook, to choose from a collection of common desktop applications (including Ubuntu version of Chrome - for those who watch Netflix) and to automatically install and activate important utilities and features (USB devices automount, webcam activation, etc.).
The script requires you to provide a user (who will be allowed to log in to their desktop environment). You can create this user directly within the script. You can also rerun the script as many times as needed to add multiple users authorized to log in.
It does not detect any hardware of your computer, but offers to install the GPU configuration based on your choice (Intel Iris Xe, old Intel, Nvidia 535, AMD, or nothing - for virtual machines).
The script covers the most common cases, especially with a Nvidia graphics card placed on the PCI bus 1:0:0 by default (as is often the case on laptops).
Finally, it offers to automatically install VirtualBox or BVCP (or both).
Each configuration is functional immediately after running the script, and you can reboot directly into your desktop environment.
If this is not the case, it means your graphic configuration requires additional adjustments, but on the vast majority of computers I have tested, it works correctly.
It is preferable to run it right after a fresh installation of FreeBSD 14 (on real hardware, or as a guest on virtualbox...)
May it be of use to someone!
Of course, if some would like to see other applications in the choice offered, I can certainly add them!
Here is the link to the git created for the occasion:
https://git.asdf.cafe/majekla/freebsd/src/branch/master/freebsd-desktop.sh
I would like to offer, for those who might be interested, an automatic desktop environment installation script (probably yet another one) with bsddialog (GUI).
Indeed, I regularly use a script to test hardware and install the desktop environments I need on FreeBSD, so I decided to share it.
The script is only 21kB, it's written in very basic shell script (to remain easily understandable), and allows deploying all the desktop environments presented in the handbook, to choose from a collection of common desktop applications (including Ubuntu version of Chrome - for those who watch Netflix) and to automatically install and activate important utilities and features (USB devices automount, webcam activation, etc.).
The script requires you to provide a user (who will be allowed to log in to their desktop environment). You can create this user directly within the script. You can also rerun the script as many times as needed to add multiple users authorized to log in.
It does not detect any hardware of your computer, but offers to install the GPU configuration based on your choice (Intel Iris Xe, old Intel, Nvidia 535, AMD, or nothing - for virtual machines).
The script covers the most common cases, especially with a Nvidia graphics card placed on the PCI bus 1:0:0 by default (as is often the case on laptops).
Finally, it offers to automatically install VirtualBox or BVCP (or both).
Each configuration is functional immediately after running the script, and you can reboot directly into your desktop environment.
If this is not the case, it means your graphic configuration requires additional adjustments, but on the vast majority of computers I have tested, it works correctly.
It is preferable to run it right after a fresh installation of FreeBSD 14 (on real hardware, or as a guest on virtualbox...)
May it be of use to someone!
Of course, if some would like to see other applications in the choice offered, I can certainly add them!
Here is the link to the git created for the occasion:
https://git.asdf.cafe/majekla/freebsd/src/branch/master/freebsd-desktop.sh