Other Desktop environments installation script

:-D ...
sorry.
fixed.

I added NVIDIA drivers 340 and 304.
But I will have to test them
I'll need to search for some suitably ancient hardware, before I can test nvidia-driver-304.
Whenever I use nvidia-driver-340 (eg GT210 cards) I need to include the Option "IgnoreABI" "1" as included in a previous suggestion.
Will be interesting to see whether you experience same result.
 
I'll need to search for some suitably ancient hardware, before I can test nvidia-driver-304.
Whenever I use nvidia-driver-340 (eg GT210 cards) I need to include the Option "IgnoreABI" "1" as included in a previous suggestion.
Will be interesting to see whether you experience same result.
I was wondering why this option.. I'm also gonna try during this week-end.
 
I've just added a second script : "mirror_repositories.sh" which automates the local mirroring and maintenance of the 'latest' and 'quarterly' repositories, ensuring a complete local copy of all packages for difficult times (such as build issues).
It uses the same framework as freebsd-desktop.sh (you simply comment or uncomment the functions at the end)
A "freebsd-desktop_local.sh" has also been added, based on a local mirroring (mirror_repositories.sh).
 
Version 340 is in maintenance mode. If it is no longer ABI compatible with current servers, shouldn't NVIDIA be... "maintaining" it?
It should only require a recompile on their end to match the current Xorg expected binary layout.
 
Version 340 is in maintenance mode. If it is no longer ABI compatible with current servers, shouldn't NVIDIA be... "maintaining" it?
It should only require a recompile on their end to match the current Xorg expected binary layout.
NVIDIA no longer recompiles older drivers (340/304) to follow changes in Xorg's ABI.
Using the IgnoreABI option seems essential.
 
Looking to trying this script out. Any chance to add dual GPU support? I understand that's tricky to do with FreeBSD. Still on the basic installation, on the latest release. If I try as it is currently, I may go with the Nvidia option, though I'd like to also use the iGPU, a UHD 630.
 
Looking to trying this script out. Any chance to add dual GPU support? I understand that's tricky to do with FreeBSD. Still on the basic installation, on the latest release. If I try as it is currently, I may go with the Nvidia option, though I'd like to also use the iGPU, a UHD 630.
Well, for now, you just need to rerun the script and switch GPUs when it detects an existing GPU configuration.
It's not perfect yet (regarding rerunning), the script isn't really designed to be rerun at this point, but I'll see if I can improve that.
 
Version 7 has been released.

I've just added a new feature: "detect_and_clean_or_keep_existing_de".
This function detects a desktop environment installation previously performed by the script and gives you the option to completely remove it before installing a new one.
By default, the selected response for removal is set to "No," for those who often press "Enter" too quickly :-D (including myself!).

The currently configured repository is now also displayed in the "change_repo" function.
 
tennea9 You have inspired some work with installation scripts.
In case you're interested, here's another small script for your collection.
It is new, and I'm sure can be improved, but I'm already finding it useful.
Takes 5 ~ 10 minutes to complete, depending upon hardwares and connection speed.
Overall, I'm having a small collection of personalised and independent modular scripts, rather than a single large file.
install-kde.sh, install-ports.sh, install-virtualbox.sh, install-openvpn.sh, install-zshells.sh, install-libreoffice.sh, etc
Its a style thing, that I find easier to customise and manage. YMMV
 

Attachments

tennea9 Here's another script module to add to your expanding collection. :what:
In my desktop realm, this gives better outcome than having unwanted core dumps sprayed around all over the disk.
But I might not do this on a server.
YMMV
 

Attachments

Version 9.1

New features have been added.

A report on package availability for all desktop environments, covering both repositories (quarterly and latest), is now automatically generated and presented to the user.
Previously, users selected the repository they wanted, and only that was tested.

It is, of course, possible to disable this report generation.

Most ancillary functions have been consolidated into programs_selection_menu and usual_tools_installation to reduce the total number of functions.

The script is moving towards a more simplified user experience.
bsddialog is now more widely used, including a few progress bars!

Still the same link :
https://git.asdf.cafe/majekla/freebsd/src/branch/master/freebsd-desktop.sh
 

Attachments

  • Copie d'écran_20250621_100444-2.png
    Copie d'écran_20250621_100444-2.png
    43.8 KB · Views: 54
Back
Top