Skip to content

About

Post-install scripts for Linux distributions ๐Ÿ“š๏ธ

Topics

Resources

Stars

2 stars

Watchers

1 watching

Forks

Latest commit

ย 

History

61 Commits

Folders and files

NameName
Last commit message
Last commit date
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

๐Ÿ“š๏ธ Linux Scripts

This repository contains my post-installation scripts for various Linux distributions.

Important

All scripts must be run as root.

Fedora Workstation 44

fedora_ws_base.sh

  • This script automates various maintenance tasks required after a fresh installation,
    such as installing non-free drivers and codecs.
  • Please ensure that your system is up-to-date before running the script.
dnf clean all && dnf distro-sync --refresh && reboot
curl -o ~/fedora_ws_base.sh https://raw.githubusercontent.com/FaridZelli/LinuxScripts/main/fedora_ws_base.sh && chmod a+x ~/fedora_ws_base.sh && ~/fedora_ws_base.sh ; rm -f ~/fedora_ws_base.sh

openSUSE Tumbleweed

tumbleweed_base.sh (unmaintained)

  • This script automates various maintenance tasks required after a fresh installation,
    such as installing non-free drivers and codecs.
  • Please ensure that your system is up-to-date before running the script.
zypper clean && zypper refresh && zypper dup && reboot
curl -o ~/tumbleweed_base.sh https://raw.githubusercontent.com/FaridZelli/LinuxScripts/main/tumbleweed_base.sh && chmod a+x ~/tumbleweed_base.sh && ~/tumbleweed_base.sh ; rm -f ~/tumbleweed_base.sh

๐Ÿ’ก Tips & Tricks

My shortlist of tweaks and utilities that others may find useful.

Personalize Bash

  • Enable menu-complete:
    Make your terminal more efficient by enabling directory completion
grep -qF 'TAB: menu-complete' ~/.inputrc || echo 'TAB: menu-complete' >> ~/.inputrc
  • Disable HISTFILE:
    If you prefer not to save your command history
grep -qF 'unset HISTFILE' ~/.bashrc || echo 'unset HISTFILE' >> ~/.bashrc
echo 'export PS1="\[$(tput setaf 216)\]\u\[$(tput setaf 220)\]@\[$(tput setaf 222)\]\h \[$(tput setaf 229)\]\w \[$(tput sgr0)\]$ "' >> ~/.bashrc

Flatpaks and AppImages

Suggested tools:

Security Auditing

Suggested tools:

  • Lynis - Security auditing tool for Linux
  • ssh-audit - SSH server & client security auditing

Disable the ambient light sensor in GNOME

For laptop users who cannot disable the ambient light sensor through the UEFI:
Add this file to /etc/dconf/db/local.d and /etc/dconf/db/gdm.d

01-disable-ambient-light-sensor.conf

[org/gnome/settings-daemon/plugins/power]
ambient-enabled=false

Then run dconf update

About

Post-install scripts for Linux distributions ๐Ÿ“š๏ธ

Topics

Resources

Stars

2 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages