Fedora Linux on Thinkpad Z13

fedora linux thinkpad z13

2024-10-11


Abstract

This is an opinionated setup guide for a Thinkpad Z13. The aim is to install a minimal Fedora system, add KDE Plasma, and then add to the setup until all the hardware in the Thinkpad is enabled.

Install

Installing Plasma

Install the KDE metapackage (1000+ packages!), and then set the graphical target as the desired state:

$ sudo dns install @kde-desktop
$ sudo systemctl set-default graphical.target

Reboot the system:

$ sudo reboot -n

Installing Software

This section is pretty opinionated. Feel free to skip.

Microsoft Edge

First, import the Microsoft signing key:

$ sudo rpm --import https://packages.microsoft.com/keys/microsoft.asc

Add the Microsoft Edge repository, and install Edge.

$ sudo dnf config-manager --add-repo https://packages.microsoft.com/yumrepos/edge
$ sudo dnf install microsoft-edge-stable

Microsoft VSCode

Install the Microsoft signing key as per the previous step, then:

$ sudo dnf config-manager --add-repo https://packages.microsoft.com/yumrepos/vscode
$ sudo dnf install code

Tailscale

Setup the repository, and install the package:

$ sudo dnf config-manager --add-repo https://pkgs.tailscale.com/stable/fedora/tailscale.repo
$ sudo dnf install tailscale

Enable the service:

$ sudo systemctl enable --now tailscaled
$ sudo tailscale login
$ sudo tailscale up

Flatpaks

Now to setup the Flatpak source and install the apps which I want.

Prevent Desktop folder being created

xdg-user-dirs-update --set DESKTOP ~