Included in config:
- i3
- kitty
- nvim
- fish
- starship
- ranger
- zen browser (arc browser is unavailable on Linux)
- tokyonight theme
This works on my desktop with:
- Ryzen 3600
- Nvidia 1070
- Username: h
- Fedora 43
# Add rpmfusion
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 -y
# Add yadm repo
sudo dnf config-manager addrepo --from-repofile=https://download.opensuse.org/repositories/home:TheLocehiliosan:yadm/Fedora_40/home:TheLocehiliosan:yadm.repo
# Add LuaLS repo
sudo dnf copr enable jackyzy823/myown -y
# Add zapzap (whatsapp client) repo
sudo dnf copr enable rafatosta/zapzap -y
sudo dnf upgrade -y
# Configure multimedia - https://rpmfusion.org/Howto/Multimedia?highlight=%28%5CbCategoryHowto%5Cb%29
# Switch to full ffmpeg
sudo dnf swap ffmpeg-free ffmpeg --allowerasing
# Install additional codecs
sudo dnf update @multimedia --setopt="install_weak_deps=False" --exclude=PackageKit-gstreamer-plugin
# Install packages
sudo dnf install conda jq cmake which fish tmux neovim yadm gh git wget ripgrep make clang unzip pandoc clang-tools-extra go python3-pip luarocks lua-language-server fzf rofi vlc xset syncthing mupdf xdotool kernel-tools xarchiver thunar-archive-plugin libasan valgrind st flatpak python-pillow flameshot nodejs zapzap -y
# Install ranger
# ranger installed with dnf doesn't work in python 3.13
# https://github.com/ranger/ranger/issues/3019
pip install git+https://github.com/ranger/ranger.git
# Change shell to fish
chsh -s $(which fish)
# Install gdb
sudo dnf debuginfo-install gdb glibc
# Disable smart card daemon
sudo systemctl stop pcscd
sudo systemctl stop pcscd.socket
# Remove mousepad text editor and azote picture browser and background setter
sudo dnf remove mousepad azote
# Git config
git config --global user.email "80515759+henrlly@users.noreply.github.com"
git config --global user.name "Henry Lee"
# Power menu
chmod +x .config/i3/rofi-power-menu
# starship prompt
curl -sS https://starship.rs/install.sh | sh
# glow (for markdown rendering)
go install github.com/charmbracelet/glow@latest
# gopls
go install golang.org/x/tools/gopls@latest
# rustup
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
# stylua and mdbook
cargo install stylua mdbook
# python type checker, formatter, and syntax highlighter
pip install autopep8 pyright pygments
# kitty
curl -L https://sw.kovidgoyal.net/kitty/installer.sh | sh /dev/stdin
ln -s ~/.local/kitty.app/bin/kitty ~/.local/bin/
# markdown table of contents
sudo npm install -g markdown-toc
# github copilot cli
sudo npm install -g @github/copilot
# > copilot # in terminal to start session
# Enable dark mode
gsettings set org.gnome.desktop.interface color-scheme prefer-dark
# Add flathub
flatpak remote-add --if-not-exists flathub https://dl.flathub.org/repo/flathub.flatpakrepo
# Install flatpaks: Obsidian, Bitwarden, Zen browser, Stremio
flatpak install flathub md.obsidian.Obsidian -y
flatpak install flathub com.bitwarden.desktop -y
flatpak install flathub app.zen_browser.zen -y
flatpak install flathub com.stremio.Stremio -y
# Install zed
curl -f https://zed.dev/install.sh | sh
# Clone dotfiles
yadm clone https://github.com/henrlly/dotfiles --branch=fedora
yadm reset --hard origin/fedora
# Login to github
gh auth loginAdd to /usr/share/applications/nvim.desktop and ~/.local/share/applications/nvim.desktop
[Desktop Entry]
Name=Neovim
Exec=kitty -e nvim %F
Terminal=false
Type=Application
Keywords=Text;editor;
Icon=nvim
Categories=Utility;TextEditor;
StartupNotify=false
Add to /etc/X11/xorg.conf.d/00-keyboard.conf
Section "InputClass"
MatchIsKeyboard "on"
Option "XkbOptions" "caps:swapescape"
EndSection
- Type
about:configin the address bar. - In the search bar, type
gfx.webrender.alland set it totrue. - In the search bar, type
media.ffmpeg.vaapi.enabledand set it totrue. - In the search bar, type
toolkit.tabbox.switchByScrollingand set it totrue. - In the search bar, type
browser.zoom.siteSpecificand set it tofalse. - In the search bar, type
layout.css.devPixelsPerPxand set it to1.0. - In the search bar, type
layers.acceleration.force-enabledand set it totrue.
First install Nvidia drivers with secure boot enable from:
https://github.com/roworu/nvidia-fedora-secureboot.
Then, open enable "force full composition pipeline" and choose correct refresh rate from Nvidia settings.
# Open Nvidia settings
sudo nvidia-settings- Download and install common, mono and sans fira fonts from the
.rpmpackages here: https://download.copr.fedorainfracloud.org/results/dturner/fonts/fedora-43-x86_64/09939872-mozilla-fira-fonts/
sudo dnf install *.rpm- Follow instructions here to install better fonts: https://copr.fedorainfracloud.org/coprs/hyperreal/better_fonts/
sudo dnf copr enable hyperreal/better_fonts -y
sudo dnf install fontconfig-font-replacements -yAdd to ~/.config/i3/config (to execute during startup)
xrandr --output HDMI-0 --gamma 1.0:0.869:0.737
# Or add to ~/.nvidia-settings-rc
# [DPY:HDMI-0]/RedGamma=1.000000
# [DPY:HDMI-0]/GreenGamma=0.868607
# [DPY:HDMI-0]/BlueGamma=0.736888Add to /etc/lightdm/lightdm-gtk-greeter.conf
#808080is gray color
[greeter]
background=#808080
Install "Tokyo Night Themes" extension