DNF Configuration
dnf.conf
Enable Fastest Mirrors:
echo 'fastestmirror=true' >> /etc/dnf/dnf.conf
Disable DeltaRPMs for Future Updates:
echo 'deltarpm=false' >> /etc/dnf/dnf.conf
Enable DNF Package Caching:
echo 'keepcache=true' >> /etc/dnf/dnf.conf
Disable DNF Makecache Systemd Service and Timer
To disable the service:
systemctl disable dnf-makecache.service
To disable the timer:
systemctl disable dnf-makecache.timer
Regenerate the Cache and Install Available Updates
As a normal, non-root user:
dnf clean all
dnf makecache
For root:
su -c 'dnf clean all'
su -c 'dnf makecache'
Reboot:
reboot
Check for Available Upgrades
Enter your root password:
su -c 'dnf --refresh check-upgrade'
If upgrades are available, apply them:
su -c 'dnf upgrade'
Reboot:
reboot
Mate Desktop Tips and Tricks
Enable Window Compositing:
gsettings set org.mate.Marco.general compositing-manager true
Enable New Window Centering:
gsettings set org.mate.Marco.general center-new-windows true
Enable Window Snapping:
gsettings set org.mate.Marco.general allow-tiling true
Hide All Desktop Icons:
gsettings set org.mate.background show-desktop-icons false
Change Window Decoration Button Order:
gsettings set org.mate.Marco.general button-layout 'close,maximize,minimize:menu'
Disable Automount-Open:
gsettings set org.mate.media-handling automount-open false
Disable Automounting:
gsettings set org.mate.media-handling automount false
Set Default Caja Preferences for Sorting Order:
gsettings set org.mate.caja.preferences default-sort-order type
Create Working Directories
mkdir ~/git_repos
mkdir ~/projects
Remove Unneeded Software
su -c 'dnf -y remove xfburn'
su -c 'dnf -y remove exaile'
su -c 'dnf -y remove parole'
su -c 'dnf -y remove hexchat'
su -c 'dnf -y remove dnfdragora'
su -c 'dnf -y remove filezilla'
Software Repositories
Enable software repositories.
RPMFusion
su -c 'dnf install https://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-$(rpm -E %fedora).noarch.rpm https://download1.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-$(rpm -E %fedora).noarch.rpm'
Fedora Workstation Repositories
su -c 'dnf install fedora-workstation-repositories'
Fedora Rawhide's Repositories
su -c 'dnf install fedora-repos-rawhide'
COPR
Copr is an easy-to-use automatic build system providing a package repository as its output.
neteler/remarkable
Remarkable is a free, fully-featured Markdown editor.
su -c 'dnf -y copr enable neteler/remarkable'
philfry/gajim
Gajim is a Jabber client written in PyGTK. It provides support for the OMEMO encryption method. This repo includes tools and dependencies not available in the official Fedora repo.
su -c 'dnf -y copr enable philfry/gajim'
dani/qgis
QGIS is a user-friendly, open-source Geographic Information System.
su -c 'dnf -y copr enable dani/qgis'
@dotnet-sig/dotnet
This provides the .NET CLI tools and runtime for Fedora.
su -c 'dnf copr enable @dotnet-sig/dotnet'
VSCodium
Import the GPG key:
su -c 'rpm --import https://gitlab.com/paulcarroty/vscodium-deb-rpm-repo/raw/master/pub.gpg'
Now create the vscodium.repo file:
su -c "tee -a /etc/yum.repos.d/vscodium.repo << 'EOF'
[gitlab.com_paulcarroty_vscodium_repo]
name=gitlab.com_paulcarroty_vscodium_repo
baseurl=https://gitlab.com/paulcarroty/vscodium-deb-rpm-repo/raw/repos/rpms/
enabled=1
gpgcheck=1
repo_gpgcheck=1
gpgkey=https://gitlab.com/paulcarroty/vscodium-deb-rpm-repo/raw/master/pub.gpg
EOF
"