Skip to content

Xmetalfanx/linuxSetup

Repository files navigation

Xmetal's Linux Scripts

Code Badges

Codacy Badge

CodeFactor

Introduction

A problem SOME users, even if they are experienced have when setting up some distributions, is all the post install tasks they have to do to setup a "workable" system. The tasks may not be difficult to do, but just rather they are time consuming. These scripts can hopefully give people a "helping hand" getting different distro bases set up.

While the main distributions listed are meant to be "Distro family bases", not all parts of these scripts are practically on all distros bases.

Disclaimer

  • Standard Disclaimer about how I am not responsible about what scripts you run on your own computer or what mistakes may occur. ALWAYS have backups "just in case" amd even redundant backups, in case your original backups have issues.

Requirements

Some of these are auto-installed when the script is first run ... others I may add to "auto install" later

  • wget
  • curl
  • lsb (different package names on different distros ) type packages
    • so lsb_release * can be run
  • inxi
    • (? if it's auto-installed or needed)
    • ... even I am not 100% sure about this one, but for later "DE/Distro" detection, inxi seems needed

*** if there is one thing that you may (you could always download my script's via the .zip file) "need" to install before running my script or getting them .... it'd be "git"

  • git
    • this is to git clone the scripts; however, from the Github or Gitlab page for the scripts, there are ways to download the repo in a .zip form too ... in this case git is not "needed"

Goals

To have scripts I can run on various distros that automate many of the post install "out of the box" tasks that I always perform anyway.

Additional Known issues

Downloading and running these scripts

How to run the main script file

  1. Open a Terminal
  2. Navigate to the root folder you extracted the LinuxScripts archive to
  3. type bash linuxSetupScripts.sh

Distro base support

Distro base Support Including
Arch EndeovourOS, Manjaro
Debian Debian 11, 12 Devuan, Peppermint, Sparky, MXLinux
Fedora 39, 40, 41
OpenSUSE Leap 15.5 and 15.6, Tumbleweed Gecko Linux
Solus
Ubuntu 20.04, 22.04, 23.04, 24.04 Elementary, Linux Lite, Linux Mint, "*buntu Spins"
  • Ubuntu: 20.04 Focal, 22.04 Jammy, 24.04 Noble

Testing related

  • note some of these tests maybe out of date (I do test things before doing a release and syncing to Master), i know for instance i still have "appimagelauncher" listed but I recently removed that ... as one example as a test that no longer applies

  • Test Results

Thanks

  • Too many to list them all

  • While I was likely to do this anyway, it is people like Midfngr that inspire me to help other, though this entire idea started with no menus, and just a way for ME TO AUTOMATE some post distro install tasks, the idea this could help others is why it has grown so much

  • Thanks to deb-apt for their unrollURL function (renamed in my code to unpackURL) ... I was struggling with how to get direct links, the way i wanted to from sites like Sourceforge WITHOUT hard coding the link in, but this solution seems to work perfectly for my code. Thanks guys

Choice to remove Snap support and code

  • Resources:

  • Right now despite my view of snaps (I dont use them), I just do not trust Canonical and the snapstore. Things are dangerous and ... I just dont want it in my scripts. I have not (yet) removed the code, but commented stuff out. The fact this has been going on for years and already with another issue involving the KDE store ... The KDE team is already handling that much better (only time will tell, long term, if they act on the issue)

  • To me, it's not just the issue, it's the way things get handled and ... I am losing trust in Canonical. As some may know, and some may not... Mr. Pope is a former (I think former) Canonical employee, and knows what he is doing.