This repository contains my post-installation scripts for various Linux distributions.
Important
All scripts must be run as root.
- 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
- 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
My shortlist of tweaks and utilities that others may find useful.
- 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
- Customize your prompt:
linrock/bash-prompt-generator
echo 'export PS1="\[$(tput setaf 216)\]\u\[$(tput setaf 220)\]@\[$(tput setaf 222)\]\h \[$(tput setaf 229)\]\w \[$(tput sgr0)\]$ "' >> ~/.bashrc
Suggested tools:
- Flatseal - Flatpak permission manager
- Gear Lever - AppImage helper
Suggested tools:
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