Skip to content

Set of commands and files to make a fresh install of Fedora Workstation look nice

Notifications You must be signed in to change notification settings

Alan7A/fedora-post-install

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Fedora post installation configurations

Set of commands and files to make a fresh install of Fedora Workstation look nice. By Alan Delgado.

Preview Ultrawide2 Ultrawide

Table of contents

Initial settings

Enable DNF fastest mirror and update

  • Edit /etc/dnf/dnf.conf and append the following lines
    fastestmirror=true
    deltarpm=true
  • Run
    sudo dnf up

Settings app

  • Sharing: Enable sharing, file sharing and change computer name
  • Power: Change blank screen timer and set power button behavior to Power Off
  • Displays: Set resolution, refresh rate and scale
  • Mouse and Touchpad: Set mouse speed
  • Keyboard: Set input source to English (Intl., with AltGr dead keys).
  • Region and languaje: set Formats to MĂ©xico
  • Users: Change user image to image
  • Time: Set Time Format to AM / PM

Software Sources

Enable third party repositories

  • Software -> Software Repositories -> Third Party Repositories -> Enable All
  • From the list below, enable required repositories such as google-chrome, nvidia-drivers, steam, etc.

Enable rpm-fusion

  • Free
    sudo rpm -Uvh https://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-$(rpm -E %fedora).noarch.rpm
  • Non-free
    sudo rpm -Uvh https://download1.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-$(rpm -E %fedora).noarch.rpm

Enable flathub

  • Enable flathub support
    flatpak remote-add --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo

NVIDIA Drivers

It is extremely IMPORTANT to restart and select GNOME Xorg in the login screen

  • Download and install NVIDIA drivers:
    sudo dnf install akmod-nvidia
  • Restart

Apps installation

Kitty terminal

  • Install kitty terminal
    sudo dnf install -y kitty
  • Copy the kitty.conf file into the ~/.config/kitty folder

Visual Studio Code

  • Run the following commands

    sudo rpm --import https://packages.microsoft.com/keys/microsoft.asc
    sudo sh -c 'echo -e "[code]\nname=Visual Studio Code\nbaseurl=https://packages.microsoft.com/yumrepos/vscode\nenabled=1\ngpgcheck=1\ngpgkey=https://packages.microsoft.com/keys/microsoft.asc" > /etc/yum.repos.d/vscode.repo'
    sudo dnf check-update
    sudo dnf install -y code
  • Turn on settings Sync

  • Enable "Open in Code" context menu for Nautilus. source

    wget -qO- https://raw.githubusercontent.com/cra0zy/code-nautilus/master/install.sh | bash
    

Vim

  • Install Vim
    sudo dnf install -y vim
    • Copy the .vim folder and .vimrc file to the Home directory
    • Open any file with vim and run PlugInstall

Java

  • Install Java OpenJDK
    sudo dnf install -y java-latest-openjdk
    java -version

Other apps

  • Solaar (Logitech mouse compatibility)
    sudo dnf install solaar

Flathub apps

  • Google Chrome

    flatpak install flathub com.google.Chrome
  • Geary email client

    flatpak install flathub org.gnome.Geary
  • Discord

    flatpak install flathub com.discordapp.Discord
  • Celluloid video player

    flatpak install flathub io.github.celluloid_player.Celluloid
  • OnlyOffice office suite

    flatpak install flathub org.onlyoffice.desktopeditors
  • Pinta

    flatpak install flathub com.github.PintaProject.Pinta
  • Microsoft Edge

    flatpak install flathub com.microsoft.Edge
  • Resources

    flatpak install flathub net.nokyan.Resources
  • Mission center

    flatpak install flathub io.missioncenter.MissionCenter
  • Flatseal

    flatpak install flathub com.github.tchx84.Flatseal
  • Easy Effects

    flatpak install flathub com.github.wwmm.easyeffects
  • Obsidian

    flatpak install flathub md.obsidian.Obsidian

Customization

Cursor, icons and themes

  • Install breeze cursors
    sudo dnf install -y breeze-cursor-theme
  • Numix Circle Icons
    sudo dnf install -y numix-icon-theme-circle
  • Themes: Copy the .themes folder into the Home folder

Fonts

Gnome Tweaks

  • Open the Software app then search for Tweaks, install and open.
  • Appearance:
    • Cursor: Breeze_Snow
    • Icons: Numix-Circle
  • Fonts:
    • Interface Text: Fira Sans Book 11
    • Document Text: Arial Regular 12
    • Monospace Text: MesloLGS NF Regular 10
    • Legacy Window Tiles: Fira Sans Semibold 11
  • Top Bar:
    • Activities overview hot corner: Off
    • Battery percentage: On
  • Window Titlebars: Maximize and Minimize On. Placement Right
  • Windows:
    • Center new windows: On
    • Resize with secondary-click: On

Gnome Extensions

  • Install Extensions app
    flatpak install flathub org.gnome.Extensions
  • Disable extension version validation for Pop Shell
    gsettings set org.gnome.shell disable-extension-version-validation "true"
  • Go to the Gnome Extensions website and search and activate the following extensions

Keyboard Shortcuts

Open Settings and go to Keyboard -> Keyboard shortcuts

  • Accesibility
    • Turn zoom on or off: Alt+Super+=
    • Zoom in: Shift+Alt+Super++
  • Launchers
    • Launch calculator: Super+C
    • Launch settings: Super+S
  • Navigation
    • Hide all normal windows: Super+D
    • Move to workspace on the left: Ctrl+Super+Left
    • Move to workspace on the right: Ctrl+Super+Right
    • Move window one workspace to the left: Shift+Super+Left
    • Move window one workspace to the right: Shift+Super+Right
  • Custom shortcuts
    • Launch terminal: Super+T - Code: kitty
    • Launch vscode: Super+V - Code: code
    • Launch discord: Super+W - Code: flatpak run com.discordapp.Discord
    • Launch gnome text editor: Super+G - Code: gnome-text-editor
  • Tiling
    • Toggles a window between floating and tiling: Super+H
  • Navigate applications and windows
    • Launch and switch applications: Super+Space
    • Switch focus to window left: Super+Left

Terminal colors

  • Run the following command to start Gogh
    bash -c  "$(curl -sLo- https://git.io/vQgMr)"

Shell

  • Install ZSH and set as default shell

    sudo dnf install -y zsh
    sudo chsh -s $(which zsh)
    echo $SHELL
    # The trailing should change from $ to %
  • Install Oh My Zsh

    sh -c "$(curl -fsSL https://raw.github.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"
  • Install plugin zsh-autosuggestions

    git clone https://github.com/zsh-users/zsh-autosuggestions ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-autosuggestions
  • Install plugin zsh-syntax-highlighting

    git clone https://github.com/zsh-users/zsh-syntax-highlighting.git ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-syntax-highlighting
  • Install Powerlevel10k theme

    git clone --depth=1 https://github.com/romkatv/powerlevel10k.git ${ZSH_CUSTOM:-$HOME/.oh-my-zsh/custom}/themes/powerlevel10k
  • Replace the files .p10k.zsh and .zshrc into the Home folder

Extras

Git configurations

git config --global init.defaultBranch main
git config --global core.editor "vim"
git config --global user.email "you@example.com"
git config --global user.name "Your Name"

Install OpenSSL

  • GSConnect requires to install OpenSSL to work
    sudo dnf install openssl

rEFInd

  • Download the most recent version of refind and then install:
    sudo rpm -Uvh refind-0.13.2-1.x86_64.rpm
    sudo refind-install
  • Install rEFInd theme Regular
    sudo bash -c "$(curl -fsSL https://raw.githubusercontent.com/bobafetthotmail/refind-theme-regular/master/install.sh)"

Fix dualboot showing different times

timedatectl set-local-rtc 1

Fix login screen in wrong monitor

sudo cp -v ~/.config/monitors.xml /var/lib/gdm/.config/
sudo chown gdm:gdm /var/lib/gdm/.config/monitors.xml

Fix bluetooth devices in dualboot

Fix postman crashing after login

openssl req -subj '/C=US/CN=Postman Proxy' -new -newkey rsa:2048 -sha256 -days 365 -nodes -x509 -keyout ~/.var/app/com.getpostman.Postman/config/Postman/proxy/postman-proxy-ca.key -out ~/.var/app/com.getpostman.Postman/config/Postman/proxy/postman-proxy-ca.crt

Gnome Text Editor theme

  • Download the Tokyo Night Theme and extract the files
  • Open the terminal and run the command: sudo nautilus
  • Go to the following path: /usr/share/gnome-text-editor/styles, then cut and paste the themes files into the folder 'styles'.

Theme Flatpak apps

  • This command makes flatpak apps to use the application's theme
    sudo flatpak override --filesystem=~/.themes
  • Or you can use stylepak

Install Betteriscord

  • This command makes flatpak apps to use the application's theme
    curl -O https://raw.githubusercontent.com/bb010g/betterdiscordctl/master/betterdiscordctl
    chmod +x betterdiscordctl
    sudo mv betterdiscordctl /usr/local/bin
    betterdiscordctl --d-install flatpak install | uninstall

Enable color folders

  • Enable color folders for nautilus file manager
    sudo dnf copr enable kleong/folder-color
    sudo dnf install folder-color

XAMPP

  • Download and install from the official website
  • Install missing dependency libnsl
    sudo dnf install -y libnsl

About

Set of commands and files to make a fresh install of Fedora Workstation look nice

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •