랭킹으로 돌아가기

devangshekhawat/Fedora-44-Post-Install-Guide

Things to do after installing Fedora 44

gnomegnome-shelllinuxfedorapost-installationnvidiathings-to-dothingstodobatterybattery-lifelaptopmedia-codecs
스타 성장
스타
2.6k
포크
156
주간 성장
이슈
2
1k2k
26년 3월26년 4월26년 6월26년 7월
README

Fedora 44 Post Install Guide

Things to do after installing Fedora 44

RPM Fusion

  • Fedora has disabled the repositories for a lot of free and non-free .rpm packages by default. Follow this if you want to use non-free software like Steam, Discord and some multimedia codecs etc. As a general rule of thumb it is advised to do this to get access to many mainstream useful programs.
  • Enable third party repositories by pasting the following into the terminal:
  • sudo dnf install https://mirrors.rpmfusion.org/free/fedora/rpmfusion-free-release-$(rpm -E %fedora).noarch.rpm https://mirrors.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-$(rpm -E %fedora).noarch.rpm
  • also while you're at it, install app-stream metadata by:
  • sudo dnf group upgrade core
  • sudo dnf4 group install core

Update

  • Go into the software center and click on update. Alternatively, you can do:
  • sudo dnf -y update
  • Reboot

Firmware

  • If your system supports firmware update delivery through lvfs, update your device firmware by:
fwupdmgr refresh --force
fwupdmgr get-devices # Lists devices with available updates.
fwupdmgr get-updates # Fetches list of available updates.
fwupdmgr update

Flatpak

  • Fedora doesn't include all non-free flatpaks by default. In-case you forgot to check the "Enable Third Party Repositories" option on initial boot, the command below enables access to all the flathub flatpaks.
  • flatpak remote-add --if-not-exists flathub https://dl.flathub.org/repo/flathub.flatpakrepo

AppImage

  • For Appimage support install fuse:
  • sudo dnf install fuse-libs
  • You can also install an AppImage manager like Gearlever for neater management. To do so, run the following command:
  • flatpak install it.mijorus.gearlever

NVIDIA Drivers

  • sudo dnf update #To make sure you're on the latest kernel and then reboot.
  • Check if you have Secure Boot enabled with: mokutil --sb-state. If enabled, follow number 1 if not then number 2
(A) Secure Boot Enabled: Follow these steps if you have Secure Boot Enabled:
  1. Install the tools below to work with the keys:
  • sudo dnf install kmodtool akmods mokutil openssl
  1. Generate a key with default values:
  • sudo kmodgenca -a
  • Note: If you see "WARNING: EXISTING KEY PAIR", then add --force at the end of the command and run it again.
  1. Enroll the key with the command below:
  • sudo mokutil --import /etc/pki/akmods/certs/public_key.der
  • When prompted create a short simple password like "1234" and remember it for a later step.
  • Reboot by typing systemctl reboot
  1. In the blue screen that shows up on startup, do:
  • "Enroll MOK" -> "Continue" -> "Yes" -> "Enter Password (i.e. 1234)"
  • Reboot Again
  1. Once logged in, open the terminal and install Nvidia drivers:
  • sudo dnf install akmod-nvidia
  • For CUDA support install the package below (if you use Davinci Resolve, Blender etc.)
  • sudo dnf install xorg-x11-drv-nvidia-cuda
  • Wait for atleast 5 mins before rebooting, to let the kernel module get built. Once its built, the command above would output the driver version instead of an error.
  • modinfo -F version nvidia # check if kmod is built
  • Reboot once its built.
  • Congrats now you have working Nvidia drivers with secure boot enabled!
(B) Secure Boot Disabled Install Nvidia drivers by following the steps below in a terminal:
  • sudo dnf install akmod-nvidia

  • For CUDA support install the package below (if you use Davinci Resolve, Blender etc.)

  • sudo dnf install xorg-x11-drv-nvidia-cuda

  • Wait for atleast 5 mins before rebooting, to let the kernel module get built. Once its built, the command above would output the driver version instead of an error.

  • modinfo -F version nvidia # check if kmod is built

  • Reboot once its built.

  • Congrats now you have working nvidia drivers setup with secure boot enabled!

  • Congrats now you have working Nvidia drivers!

  • Note (optional): If your disk is encrypted follow the Encrypted Disk section of this guide .

  • Battery Life (Deprecated)

    • Follow this if you have a Laptop and are facing sub optimal battery backup.
    • power-profiles-daemon which come pre-configured on fedora works well on a great majority of systems but still in case you're facing sub-optimal battery backup you try installing tlp by:
    • sudo dnf install tlp tlp-rdw
    • and mask power-profiles-daemon by:
    • sudo systemctl mask power-profiles-daemon
    • Also install powertop by:
    • sudo dnf install powertop
    • sudo powertop --auto-tune
    • Edit: Fedora comes preinstalled with Tuned which works well on its own now and all the aforementioned changes are now unnecessary. Just follow HW video acceleration for better battery backup.

    Media Codecs

    • Install these to get proper multimedia playback.
    sudo dnf4 group install multimedia
    sudo dnf swap 'ffmpeg-free' 'ffmpeg' --allowerasing # Switch to full FFMPEG.
    sudo dnf update @multimedia --setopt="install_weak_deps=False" --exclude=PackageKit-gstreamer-plugin # Installs gstreamer components. Required if you use Gnome Videos and other dependent applications.
    sudo dnf group install -y sound-and-video # Installs useful Sound and Video complementary packages.
    

    H/W Video Acceleration

    • Helps decrease load on the CPU when watching videos online by alloting the rendering to the dGPU/iGPU. Quite helpful in increasing battery backup on laptops.

    H/W Video Decoding with VA-API

    • sudo dnf install ffmpeg-libs libva libva-utils
    Intel
    • If you have a recent Intel chipset (5th Gen and above) after installing the packages above., Do:
    • sudo dnf swap libva-intel-media-driver intel-media-driver --allowerasing
    • sudo dnf install libva-intel-driver
    AMD

    No need to do this for intel integrated graphics. Mesa drivers are for AMD graphics, who lost support for h264/h245 in the fedora repositories in f38 due to legal concerns.

    • If you have an AMD chipset, after installing the packages above do:
    sudo dnf install mesa-va-drivers-freeworld
    sudo dnf install mesa-va-drivers-freeworld.i686
    

    OpenH264 for Firefox

    • sudo dnf install -y openh264 gstreamer1-plugin-openh264 mozilla-openh264
    • sudo dnf config-manager setopt fedora-cisco-openh264.enabled=1
    • After this enable the OpenH264 Plugin in Firefox's settings.

    Set Hostname

    • hostnamectl set-hostname YOUR_HOSTNAME

    Default Firefox start page

    • The tweak below will make the start page the default firefox start page instead of this, (Note: If you're using Fedora Silverblue and not stock Fedora then click here)
    • sudo rm -f /usr/lib64/firefox/browser/defaults/preferences/firefox-redhat-default-prefs.js

    Custom DNS Servers

    • For people that want to setup custom DNS servers for better privacy
    sudo mkdir -p '/etc/systemd/resolved.conf.d' && sudo -e '/etc/systemd/resolved.conf.d/99-dns-over-tls.conf'
    
    [Resolve]
    DNS=1.1.1.2#security.cloudflare-dns.com 1.0.0.2#security.cloudflare-dns.com 2606:4700:4700::1112#security.cloudflare-dns.com 2606:4700:4700::1002#security.cloudflare-dns.com
    DNSOverTLS=yes
    Domains=~.
    

    Set UTC Time

    • Used to counter time inconsistencies in dual boot systems
    • sudo timedatectl set-local-rtc '0'

    Optimizations

    • The tips below can allow you to squeeze out a little bit more performance from your system.

    Disable NetworkManager-wait-online.service

    • Disabling it can decrease the boot time by at least ~15s-20s:
    • sudo systemctl disable NetworkManager-wait-online.service

    Disable Gnome Software from Startup Apps

    • Gnome software autostarts on boot even though it is not required on every boot, this takes at least 100MB of RAM upto 900MB (as reported anecdotically). Unless you want it to do search for updates in the background or give you application suggestions in GNOME overview, you can stop it from autostarting by:
    • mkdir -p ~/.config/autostart
    • cp /usr/share/applications/org.gnome.Software.desktop ~/.config/autostart/
    • echo "X-GNOME-Autostart-enabled=false" >> ~/.config/autostart/org.gnome.Software.desktop
    • GNOME Software is also triggered in the background whenever you search in the GNOME overview. To prevent this, disable it as a search provider:
    • dconf write /org/gnome/desktop/search-providers/disabled "['org.gnome.Software.desktop']"

    Gnome Extensions [Optional]

    Apps [Optional]

    • Packages for Rar and 7z compressed files support: sudo dnf install -y unzip p7zip p7zip-plugins unrar
    • These are Some Packages that I use and would recommend:
    7zip
    Amberol
    Blanket
    Builder
    Brave 
    Blender
    Discord
    Drawing
    Deja Dup Backups
    Endeavour 
    Easyeffects
    Extension Manager
    Flatseal
    Foliate
    Footage
    GIMP
    Gnome Tweaks
    Gradience
    Handbrake
    Iotas
    Joplin
    Khronos
    Krita
    Logseq
    lm_sensors
    Onlyoffice
    Overskride
    Parabolic
    Pcloud
    PDF Arranger
    Planify
    Pika backup 
    Snapshot
    Solanum
    Sound Recorder
    Tangram
    Transmission
    Ulauncher
    Upscaler
    Video Trimmer
    VS Codium
    yt-dlp
    

    Theming [Optional]

    GTK Themes

    Use themes in Flatpaks

    • sudo flatpak override --filesystem=$HOME/.themes
    • sudo flatpak override --env=GTK_THEME=my-theme

    Icon Packs

    Wallpaper

    Firefox Theme

    • Install Firefox Gnome theme by: curl -s -o- https://raw.githubusercontent.com/rafaelmardojai/firefox-gnome-theme/master/scripts/install-by-curl.sh | bash

    Starship (terminal theme)

    Grub Theme

    관련 저장소
    winapps-org/winapps

    Run Windows apps such as Microsoft Office/Adobe in Linux (Ubuntu/Fedora) and GNOME/KDE as if they were a part of the native OS, including Nautilus integration. Hard fork of https://github.com/Fmstrat/winapps/

    ShellOthercassowarydocker
    15.6k495
    phw/peek

    Simple animated GIF screen recorder with an easy to use interface

    ValaGNU General Public License v3.0linuxgif-recorder
    10.6k334
    vinceliuice/WhiteSur-gtk-theme

    MacOS like theme for all gtk based desktops

    CSSnpmMIT Licensegnomegtk
    9.1k733
    material-shell/material-shell

    A modern desktop interface for Linux. Improve your user experience and get rid of the anarchy of traditional desktop workflows. Designed to simplify navigation and reduce the need to manipulate windows in order to improve productivity. It's meant to be 100% predictable and bring the benefits of tools coveted by professionals to everyone.

    TypeScriptnpmGNU General Public License v3.0materialmaterial-design
    material-shell.com
    7.3k180
    NickvisionApps/Parabolic

    Download web video and audio

    C#MIT Licensegnomedownloader
    flathub.org/apps/details/org.nickvision.tubeconverter
    6.7k308
    hbons/SparkleShare

    Share and collaborate by syncing with any Git repository instantly. Linux, macOS, and Windows

    C#GNU General Public License v3.0syncgit
    sparkleshare.org
    5k568
    Gictorbit/photoshopCClinux

    Photoshop CC v19 installer for Gnu/Linux

    ShellGNU General Public License v2.0photoshopgnu-linux
    4.5k321
    micheleg/dash-to-dock

    A dock for the Gnome Shell. This extension moves the dash out of the overview transforming it in a dock for an easier launching of applications and a faster switching between windows and desktops.

    JavaScriptnpmGNU General Public License v2.0dockgnome
    micheleg.github.io/dash-to-dock/
    4.3k547
    rafaelmardojai/firefox-gnome-theme

    A GNOME👣 theme for Firefox🔥

    CSSnpmThe Unlicensegnometheme
    3.9k166
    GSConnect/gnome-shell-extension-gsconnect

    KDE Connect implementation for GNOME

    JavaScriptnpmGNU General Public License v2.0kdeconnectgnome
    3.7k312
    anmoljagetia/Flatabulous

    This is a Flat theme for Ubuntu and other Gnome based Linux Systems.

    CSSnpmMIT Licenseflat-themetheme
    blog.anmoljagetia.me/flatabulous-ubuntu-theme/
    3.6k228
    SeaDve/Kooha

    Elegantly record your screen

    Rustcrates.ioGNU General Public License v3.0video-recordingscreen-recorder
    3.4k94