dnf configuration
dnf.conf
Enable Fastest Mirrors:
echo 'fastestmirror=true' >> /etc/dnf/dnf.conf
Disable deltarpm's for future updates:
echo 'deltarpm=false' >> /etc/dnf/dnf.conf
Enable dnf packages 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 and enter your root password:
su -c 'dnf --refresh check-upgrade'
If there are upgrades available, we apply them with:
su -c 'dnf upgrade'
Reboot:
reboot
Mate Desktop Tips and Tricks
Enable windows composing:
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
Caja default prefereces for sorting order:
gsettings set org.mate.caja.preferences default-sort-order type
Create some 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.
Here are some of the repos I rely on for some packages:
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, currently it provides support for the OMEMO encryption method which I use. This repo provides 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'
donet-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
"