Fedora Post-Install Setup

📢 This article was translated by gemini-2.5-flash

Intro

Here’s a list of things I install after setting up Fedora.

Change Terminal Shortcut

Open Settings > Keyboard, then find View and Customize Shortcuts at the bottom.

Custom Shortcuts

Name: Shell Terminal

Command: gnome-terminal

Shortcut: Custom

Update System

1
sudo dnf update

Change Screenshot Shortcut

Still prefer Windows-style shortcuts.

Under Screenshot, change Interactive Screenshot to Win+Shift+S.

Change User Directories to English

Chinese directories are a pain to use with the terminal.

First, switch the language to English.

1
export LANG=en_US

Then update user directories.

1
xdg-user-dirs-gtk-update

At this point, it’ll ask if you want to change user folders to English. Select ‘Yes’.

After that, switch the system language back to Chinese.

1
export LANG=zh_CN.UTF-8

Run the user directory update command again.

1
xdg-user-dirs-gtk-update

Running the command again will ask if you want to change back to Chinese. Select ‘No’ and choose ‘Don’t remind again’.

VS Code

Set up environment:

1
sudo rpm --import https://packages.microsoft.com/keys/microsoft.asc
1
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'

Refresh cache:

1
dnf check-update

Install using dnf:

1
sudo dnf install code

Or using yum:

1
2
yum check-update
sudo yum install code

Edge Browser

Not quite used to Firefox after switching from Windows, plus multi-device sync. (But IE is still the most secure browser, right?)

Download Microsoft Edge Web Browser | Microsoft

Download the .rpm file.

MarkText

Cross-platform Markdown editor.

GitHub - marktext/marktext: 📝A simple and elegant markdown editor, available for Linux, macOS and Windows.

7-zip

Install:

1
yum install -y p7zip p7zip-plugins

Compress:

1
7z a after.7z before

Decompress:

1
7z x after.7z

FeedReader

RSS reader. I downloaded it from Fedora’s built-in Software app.

Telegram

Remember to place it under /opt/Telegram before running.

Telegram Messenger

Netease Cloud Music

Install and configure Flatpak:

1
sudo dnf install flatpak
1
flatpak remote-add --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo

Install netease.CloudMusic:

1
flatpak install flathub com.netease.CloudMusic

Run / Click icon to run:

1
flatpak run com.netease.CloudMusic

Uninstall:

1
flatpak uninstall com.netease.CloudMusic

Nvidia Driver Installation

Install:

1
sudo dnf install akmod-nvidia

Optional:

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

Reboot after installation.

1
reboot

Note: If you reboot and see “Nvidia kernel module missing falling back to Nouveau”

  1. First, make sure Secure Boot is disabled in your BIOS.

  2. Check the version of akmods package installed by running rpm -qa akmods

  3. Run sudo akmods --force && sudo dracut --force to build the kernel modules

Reference: Fedora 34 NVIDIA kernel module missing. Falling back to nouveau - #4, from vk2bea - Ask Fedora

If the above doesn’t work, try the following method:

  1. Uninstall all Nvidia-related packages: sudo dnf remove \*nvidia\*

  2. Install the driver: sudo dnf install akmod-nvidia

Reference: Nvidia kernel module missing falling back to Nouveau (Fedora 36 PR) : Fedora

Desktop Tweaks

Default font size is a bit small on my laptop.

1
sudo dnf install gnome-tweak-tool

After installation, you’ll find the Optimizations (or Tweaks) app in your utilities.

QQ/Icalingua++

No one uses QQ for Linux, right? Right?!

Login fails with the same error as other third-party clients, which is ridiculous.

Icalingua++ (Third-party): GitHub - Icalingua-plus-plus/Icalingua-plus-plus: A client for QQ and more.

GNOME Extensions

Not sure what it does, but it seems useful.

Install Host Connector:

1
sudo dnf install chrome-gnome-shell gnome-extensions-app

Visit Latest extensions in GNOME Shell Extensions to install.

speedtest

Enter the following commands one by one:

1
curl -s https://packagecloud.io/install/repositories/ookla/speedtest-cli/script.rpm.sh | sudo bash
1
sudo yum install speedtest

Fedora Pre-Installed

git, gcc, gdb, python, OpenJDK Java

LibreOffice

References

Change User Directory to English in Fedora – Tencent Cloud Developer Community

Compress and Decompress Files with p7zip on CentOS Fedora_hkNaruto’s Blog-CSDN Blog

Running Visual Studio Code on Linux

fedora-netease-fedora Netease Cloud Music installation script. This script is for one-click installation of Netease Cloud Music on Fedora, tested on FedoraKDE30.

Howto/NVIDIA - RPM Fusion

8 Things to Do After Installing Fedora 36#

Desktop Applications - How to Use GNOME Shell Extensions

Howto/Secure Boot - RPM Fusion

SPEEDTEST CLI: Internet connection measurement for developers

This post is licensed under CC BY-NC-SA 4.0 by the author.