Tuesday, September 3, 2013

Quick and Dirty Fedora 19 Setup Guide

Having just gone through a new Fedora install, I decided to (re)document my installation procedure here.

Step one, download the Fedora ISO and write to medium of your choice (preferably USB).
Step two, install Fedora.

Okay, now that those two obvious steps are out of the way, here are some more specific things I like to do with a new install.

Font rendering:
I thought I was pretty happy with Font rendering out of the box with Fedora 19, until I applied my old settings. To do that, first install GNOME Tweak Tool sudo yum install gnome-tweak-tool and set the following two options under the "Fonts" section:
Hinting: Slight
Antialiasing: Rgba

Next, create a ~/.config/fonts/fonts.conf with the following contents:

Now create (or modify) your ~/.Xresources file and add the following line:
Xft.lcdfilter: lcddefault

Next, just for verification, run the following command in a terminal: xrdb -query and ensure the following is displayed:
Xft.antialias: 1 
Xft.dpi: 96 
Xft.hinting: 1 
Xft.hintstyle: hintslight

Now I install RPMFusion using the following command:

sudo yum localinstall --nogpgcheck http://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-$(rpm -E %fedora).noarch.rpm http://download1.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-$(rpm -E %fedora).noarch.rpm

...and install some packages:
sudo yum -y install vim-X11 irssi screen terminus-fonts levien-inconsolata-fonts filezilla gstreamer-ffmpg gstreamer-plugins-bad gstreamer-plugins-bad-nonfree gstreamer-plugins-ugly freetype-freeworld unrar lame VirtualBox akmod-VirtualBox git gitk tig gnome-tweak-tool htop yum-fastestmirror inxi i7z

There is more I will do, but that's the basic setup.

An additional step, if you have an SSD drive is ensuring that the TRIM command is issued. There are two ways to do this. First, you can add the discard mount option to your /etc/fstab file, or as +Theodore Ts'o has recommended to me simply create a script and schedule a cron job to run fstrim periodically. My script runs daily in the early AM hours. Here is my script if you are interested:

And, that about does it!

No comments:

Post a Comment