What to do after installing Fedora 24+
UPDATED REGULARLY, COME BACK FOR UPDATES
Also applies to Fedora 25, 26, 27, etc.
Also applies to Fedora 25, 26, 27, etc.
- Download update and reboot
dnf update --refresh -y - If migrating from other version use this to find out manually installed packages:
dnf history userinstalled - To set max installed kernel:
vim /etc/dnf/dnf.conf
installonly_limit=2 - Install gnome-tweak-tool
- Install rpmfusion packages from http://rpmfusion.org/Configuration
dnf install gstreamer{1,}-{ffmpeg,libav,plugins-{good,ugly,bad{,-free,-nonfree}}} --setopt=strict=0
I use this repo before rpmfusion ready:
baseurl=http://ftp-stud.hs-esslingen.de/pub/fusion-24/RPMS/
- Install steam from http://negativo17.org/steam/
- Install gnome extensions
http://goo.gl/DKZGcG - Show battery percentage
gsettings set org.gnome.desktop.interface show-battery-percentage true - Add lcd filter (lcddefault or lcdlight) for better font rendering
cat ~/.config/fontconfig/conf.d/20-custom.conf
<?xml version="1.0"?>
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
<fontconfig>
<match target="font">
<!-- edit name="embeddedbitmap" mode="assign">
<bool>false</bool>
</edit -->
<edit name="lcdfilter" mode="assign">
<const>lcddefault</const>
</edit>
</match>
</fontconfig> - Add /etc/profile.d/custom.sh
HISTSIZE=1000000
alias rm='rm -i'
alias cp='cp -i'
alias mv='mv -i' - Disable packagekit / gnome update in background
gsettings set org.gnome.software download-updates false - Disable dnf auto update
systemctl disable dnf-makecache.timer
systemctl disable dnf-makecache.service - Limit journald logs
vim /etc/systemd/journald.conf
SystemMaxUse=200M - Install frontend for dnf:
dnf install yumex-dnf
dnf install dnfdragora-gui - Install menulibre or alacarte for creating custom menu (.desktop)
- Install Shutter for easily creating screenshot and annotate it
- Install system-config-printer to add printer and more advanced cups setting
- Install eiciel to set acl using gui, it will also shown in nautilus - properties
Install tracker-preferences to set Indexing PreferencesI decided to disable tracker see below- To prevent your laptop in bag rapidly resume & suspend when battery
very low (5%) , edit /etc/systemd/logind.conf and change:
HandleLidSwitch=poweroffIf you have configured suspend to swap, change to:
HandleLidSwitch=hibernate - vim /etc/default/grub
GRUB_TIMEOUT=1
grub2-mkconfig -o /boot/efi/EFI/fedora/grub.cfg - Install these cool fonts for coding (I use source code pro):
dnf install levien-inconsolata-fonts adobe-source-code-pro-fonts mozilla-fira-mono-fonts google-droid-sans-mono-fonts dejavu-sans-mono-fonts
And this one https://github.com/chrissimpkins/Hack
also this: https://github.com/andreberg/Meslo-Font - Install chrome os fonts:
dnf install google-croscore-arimo-fonts.noarch google-croscore-tinos-fonts.noarch google-croscore-cousine-fonts.noarch google-croscore-fonts-common.noarch google-croscore-symbolneu-fonts.noarch
Prefer using those fonts as default:
cat ~/.config/fontconfig/conf.d/62-google-croscore.conf
<?xml version="1.0"?>
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
<fontconfig>
<match target="pattern">
<test qual="any" name="family"><string>Arial</string></test>
<edit name="family" mode="assign" binding="same"><string>Arimo</string></edit>
</match>
<match target="pattern">
<test qual="any" name="family"><string>Times New Roman</string></test>
<edit name="family" mode="assign" binding="same"><string>Tinos</string></edit>
</match>
<match target="pattern">
<test qual="any" name="family"><string>Courier New</string></test>
<edit name="family" mode="assign" binding="same"><string>Cousine</string></edit>
</match>
<alias>
<family>sans-serif</family>
<prefer>
<family>Arimo</family>
</prefer>
</alias>
<alias>
<family>serif</family>
<prefer>
<family>Tinos</family>
</prefer>
</alias>
<!--alias>
<family>monospace</family>
<prefer>
<family>Cousine</family>
</prefer>
</alias-->
</fontconfig> - Install ms font:
rpm -i https://downloads.sourceforge.net/project/mscorefonts2/rpms/msttcore-fonts-installer-2.6-1.noarch.rpm
Remove some fonts cause we're prefer chrome os fonts:
cd /usr/share/fonts/msttcore
rm -f arial* calibri* cambria* cour* times* - Install firefox extension to save password to keyring: GNOME Keyring integration
- Disable tracker
cp /etc/xdg/autostart/tracker-* ~/.config/autostart/
sed -i 's/^X-GNOME-Autostart-enabled=.*/X-GNOME-Autostart-enabled=false/g' ~/.config/autostart/tracker-*
killall -r tracker
rm -rf ~/.cache/tracker/* ~/.local/share/tracker/data/ - Wifi unstable: rtl8723be
vi /etc/modprobe.d/wifi.confoptions rtl8723be fwlps=0
options rtl8723be ant_sel=2 - Disable other unused services, to boot faster
systemctl mask plymouth-quit-wait
systemctl disable libvirtd.service
systemctl disable dmraid-activation
systemctl disable firewalld
systemctl disable hypervkvpd.service
systemctl disable hypervfcopyd.service
systemctl disable hypervvssd.service - Set battery threshold for my Thinkpad
git clone https://github.com/biji/acpi_call.git
cd acpi_call
# you have to disable secure boot temporary to load module
make install load
Install tp-acpi-call from https://github.com/teleshoes/tpacpi-bat
./tpacpi-bat -s start 1 75
./tpacpi-bat -s stop 1 80 Install tuned and tuned-gui to save battery- Install tlp to save battery (http://linrunner.de/en/tlp/tlp.html)
dnf install tlp tlp-rdw
systemctl mask systemd-rfkill.service
vim /etc/default/tlp
CPU_MIN_PERF_ON_AC=10
CPU_MAX_PERF_ON_AC=100
CPU_MIN_PERF_ON_BAT=0
CPU_MAX_PERF_ON_BAT=30
SCHED_POWERSAVE_ON_AC=0
SCHED_POWERSAVE_ON_BAT=1
NMI_WATCHDOG=0
ENERGY_PERF_POLICY_ON_AC=performance
ENERGY_PERF_POLICY_ON_BAT=power
START_CHARGE_THRESH_BAT0=75
STOP_CHARGE_THRESH_BAT0=80
Fix selinux warning:
semanage fcontext -a -t ifconfig_var_run_t /var/run/tlp/lock_tlp
restorecon -R -v /var/run/tlp - Install mpv or gnome-mpv to play movies
- Install powerline for cool bash prompt :
https://goo.gl/LB9HU6 - Change thumbnail cache age to save disk and privacy:
run dconf-editor, navigate to /org/gnome/desktop/thumbnail-cache/maximum-age
Set custom value to 1 - Add to /etc/rc.d/rc.local :
# add more if you have sdb, sdc
echo 4096 > /sys/block/sda/queue/read_ahead_kb
# if you have mmc
echo 4096 > /sys/block/mmcblk0/queue/read_ahead_kb - Install global audio equalizer
dnf install pulseaudio-equalizer - Speedup dnf download
Edit /etc/dnf/dnf.conf. Add the line fastestmirror=true under [main] - Install gnome to do
Comments