Fedora 20 desktop setup

Posted by jason on Sept. 6, 2014, 12:33 p.m.
Tags: fedora linux sysadmin

Here's what I do after a fresh Fedora 20 install:

No password sudo

$ sudo su -
$ visudo

Add this line at the bottom:

myusername   ALL=(ALL)       NOPASSWD: ALL

Update everything


$ yum update

Install some nice programs

$ yum install vim rxvt-unicode-256color zsh mplayer

Add rpmfusion repo and install some good stuff

Install mythtv, steam, and nvidia drivers. Don't forget the nvidia 32-bit libraries.

$ wget -c http://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-20.noarch.rpm
$ wget -c http://download1.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-20.noarch.rpm
$ rpm -i rpmfusion-free-release-20.noarch.rpm
$ rpm -i rpmfusion-nonfree-release-20.noarch.rpm
$ yum install mythtv steam xorg-x11-drv-nvidia-libs.i686 xorg-x11-drv-nvidia akmod-nvidia kernel-devel vdpauinfo libva-vdpau-driver libva-utils

Add chrome repo and install Google Chrome

Midori doesn't cut it for me. I follow these instructions: http://www.if-not-true-then-false.com/2010/install-google-chrome-with-yum-on-fedora-red-hat-rhel/. At the time of this writing, I prefer to install both stable and unstable: google-chrome-unstable so I can play netflix natively in Linux with HTML5, and google-chrome-stable because the yahoo fantasy football site is painstakingly slow on unstable.

Play netflix videos natively with Google Chrome (unstable) and HTML5

First, install the user agent switcher app for chrome.

Next, add a custom user agent string that says you're using windows with the same chrome version you have. Here is the user agent string that I use:

Mozilla/5.0 (Windows NT 6.2; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/39.0.2150.5 Safari/537.36

You should be able to play netflix videos no problem, now.

Disable locking screensaver

Go to Applications Menu -> Settings -> Screensaver and uncheck the "Lock screen after" option.

Auto-login on boot

Edit the /etc/lightdm/lightdm.conf file. In the "[LightDM]" and "[SeatDefaults]" sections, make sure to these 2 lines in both sections:


Install codecs

$ yum install gstreamer{1,}-{ffmpeg,libav,plugins-{good,ugly,bad{,-free,-nonfree}}} ffmpeg

Install and set up i3

I followed these instructions.

Here is my .i3/config file: