Saturday, November 9, 2019

Fedora Workstation 31 Setup Guide according to Jeremy

Although Fedora Workstation 31 has been out for about a month I only just got around to writing my own little setup guide. I'm not really sure this will be of benefit to anyone as it's the setup I use but being pretty general use it could helpful.

After initial installation Fedora will reboot into it's first time setup. Here you will following along and do as it asks. After you complete the tasks you'll be magically transported to the blank desktop that is Fedora Workstation 31!

From here the first thing I do is set up the Fedora Rawhide kernel with no debug stuff baked in. I need this kernel for my Radeon VII to not flip out with my two 144Hz monitors. I have been using it on my main machine for a bit and it's proved to be stable (strangely). Since it's been smooth sailing so far I've moved on to using this kernel on my other computers as well. Use the following two commands to add the kernel repository and update your Fedora install.
sudo dnf config-manager --add-repo=http://dl.fedoraproject.org/pub/alt/rawhide-kernel-nodebug/fedora-rawhide-kernel-nodebug.repo
sudo dnf upgrade
After the upgrade command finishes you'll want to reboot your computer to use the new kernel.

Once your computer reboots we'll continue by adding the RPM Fusion repositories. Add and configure them by using the below commands.
sudo dnf install https://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-$(rpm -E %fedora).noarch.rpm https://download1.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-$(rpm -E %fedora).noarch.rpm
sudo dnf groupupdate core
sudo dnf groupupdate multimedia --setop="install_weak_deps=False" --exclude=PackageKit-gstreamer-plugin
sudo dnf groupupdate sound-and-video
killall -9 gnome-software
Now that RPM Fusion is set up I usually remove software I don't use from the initial OS installation.
sudo dnf remove rhythmbox libreoffice* gnome-photos gnome-weather gnome-maps
In addition to removing I also install a few bits not installed by default. I'll start off with Google Chrome.
Download Google Chrome from https://www.google.com/chrome/ making sure to get the rpm file for fedora. Once it finishes downloading you'll need to install it via the Software Program. You can just double click on the rpm file's icon in your file manager.
After Chrome I usually configure FlatHub access and install some programs.
flatpak remote-add --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo
flatpak install flathub org.gimp.GIMP
flatpak install flathub org.inkscape.Inkscape
flatpak install flathub org.gnome.Games
flatpak install flathub com.mojang.Minecraft
flatpak install flathub org.libretro.RetroArch
 Once I'm finished with FlatHub's programs I move on to installing a few programs via dnf.
sudo dnf install wine winetricks gamemode.x86_64 gamemode.i686 lutris steam gnome-tweaks
After the previous command finishes I install lm sensors. This is so I can read proper data from my motherboard sensors. These include temperature, voltages and fan speeds.
sudo dnf install lm_sensors
sudo sensors-detect
The sensors-detect portion of the command finds what sensor chips are on your motherboard and configures them.

Next up is installing Gnome Shell extensions. I get them all from extensions.gnome.org.
Dash to Dock - https://extensions.gnome.org/extension/307/dash-to-dock/ 
TopIcons Plus Git - https://extensions.gnome.org/extension/2311/topicons-plus/ 
KStatusNotifierItem/AppIndicator Support - https://extensions.gnome.org/extension/615/appindicator-support/
No Topleft Hot Corner - https://extensions.gnome.org/extension/118/no-topleft-hot-corner/ 
Caffeine - https://extensions.gnome.org/extension/517/caffeine/ 
GameMode - https://extensions.gnome.org/extension/1852/gamemode/  
Appfolders Management extension - https://extensions.gnome.org/extension/1217/appfolders-manager/  
Desktop Icons NG (DING) - https://extensions.gnome.org/extension/2087/desktop-icons-ng-ding/
Freon - https://extensions.gnome.org/extension/841/freon/ 
cpufreq - https://extensions.gnome.org/extension/1082/cpufreq/
Once finished with the Gnome Shell extensions I'm pretty much finished. All that's left is to log out and log back in using the 'GNOME with xorg' option.