Basic Configuration of Fedora 22
Note: This guide may be outdated. See a newer version available on this website.
Before Installation
First, download Fedora Workstation installation disc from Fedora site.
Next we need to backup everything from /boot/efi/EFI/Boot/ directory (if it already exists - dual boot etc.), the included files will be overwritten during GRUB install.
My HW specific:
- if you see multiple mouse cursors and graphics elements are disappearing, turn off nonexistent (bogus) secondary monitor (Nvidia). See this link
- in touchpad settings enable 'Tap to click' and 'Natural scrolling'
- set IP Address (if not DHCP)
- If it is required, don't forget to leave unpartitioned space on the SSD for overprovisioning. It can be done using manual partitioning option. (11.18 GiB = 10% on Samsung 840 EVO 120 GB)
note: according to Samsung Magician DC software, on linux OP space is set from reserved FS area, not from free unformatted space. - to disable suspend on lid close, add
HandleLidSwitch=ignore
in /etc/systemd/logind.conf.
Installation
Boot from the installation media and install Fedora. Anaconda installer is pretty straightforward. You can set swap space according to Fedora Documentation (6 GiB for 6 GB RAM) or leave it default.
After Installation
Update
Install all available updates and then reboot.
$ sudo dnf upgrade
$ sudo systemctl poweroff
Additional Repos
For additional (especially non-free) packages, you can enable RPM Fusion repos, both free and non-free.
$ sudo dnf install http://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-$(rpm -E %fedora).noarch.rpm
$ sudo dnf install http://download1.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-$(rpm -E %fedora).noarch.rpm
If you want, you can also enable Russian Fedora repos.
Packages
Next we install additional packages. To list all manually installed packages, run (this may not return expected results on Fedora 23):
$ sudo dnf history userinstalled
System
- dconf-editor
- gnome-tweak-tool
- firewall-config (firewall-cmd like GUI, not system-config-firewall - iptables)
- nano
- f2fs-tools
- lm_sensors
- p7zip
- p7zip-plugins
- unrar
- freetype-freeworld (RGB subpixel rendering)
- nautilus-open-terminal
- gedit-plugins
- powertop (laptop)
- broadcom-wl (laptop, Broadcom Wi-Fi driver - still doesn't work for me)
Other Useful Apps
- gimp
- inkscape
- blender (it's better to download it from blender website, extract and run)
- audacity or audacity-freeworld (RPM Fusion, mp3 support)
- filezilla
- epiphany (Gnome's Web)
- soundconverter
- transmission
Codecs
Install codecs (Modified version of RPM Fusion's FAQ, which looks a bit outdated)
# dnf install gstreamer-plugins-ugly gstreamer-plugins-bad gstreamer-ffmpeg
# dnf install xine-lib-extras
Current players use gstreamer1 codecs:
# dnf install gstreamer1-plugins-ugly gstreamer1-plugins-bad-freeworld
# dnf install gstreamer1-libav gstreamer1-vaapi
other useful codecs, not required for usual media playback:
# dnf install gstreamer-plugins-good gstreamer-plugins-bad-nonfree gstreamer1-plugins-bad-free-extras gstreamer-plugin-crystalhd gstreamer-plugins-bad-free-extras gstreamer-plugins-bad-extras
Enable full html5 playback in Firefox (verify at http://youtube.com/html5)
- Enter
about:config
, - search
h264
, enable allmedia.gmp-gmpopenh264*
- search
mp4
, enablemedia.fragmented-mp4.exposed media.fragmented-mp4.ffmpeg.enabled
media.fragmented-mp4.gmp.enabled
- search
mediasource
, enable allmedia.mediasource.*.enabled
Gnome Software
In Fedora 21, Software app database wasn't synced with dnf, which caused further problems. To disable Gnome Software auto update, run:
$ gsettings set org.gnome.software download-updates false
It can also be done through dconf-editor.
Better Fonts
Set font antialiasing:
- run Tweak Tool
- Fonts > Hinting: Slight
- Fonts > Antialiasing: Rgba
$ sudo ln -s /usr/share/fontconfig/conf.avail/11-lcdfilter-default.conf /etc/fonts/conf.d/
Touchpad (laptop only)
Enable synaptics driver if libpinput causes problems:
sudo ln -s /usr/share/X11/xorg.conf.d/50-synaptics.conf /etc/X11/xorg.conf.d/
To change multitouch button order, run: (it's not persistent)
$ synclient TapButton2=2 TapButton3=3 PalmDetect=1
Useful Gnome Tweak Tool Extensions
- Removable Drive Menu by fmuellner
- Media player indicator by eon
- Lock Keys by kazimieras.vaina (laptop)
Additional Gnome Settings
Enable middle click to lower window (Tweak Tool > Windows) note: it may interfere with middle click to open new tab in nautilus.
Alternative Themes to Adwaita
- Moka
- Numix
- Arc
TRIM
From time to time you should use fstrim
to trim free space on your SSD:
$ sudo fstrim -v /
To trim all mounts:
$ sudo fstrim -a -v