What to do after installing Fedora 24+


Also applies to Fedora 25, 26, 27, etc.
  1. Download update and reboot
    dnf update --refresh -y
  2. If migrating from other version use this to find out manually installed packages:
    dnf history userinstalled
  3. To set max installed kernel:
    vim /etc/dnf/dnf.conf
  4. Install gnome-tweak-tool
  5. 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:
  6. Install steam from http://negativo17.org/steam/
  7. Install gnome extensions
  8. Show battery percentage
    gsettings set org.gnome.desktop.interface show-battery-percentage true
  9. 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">
      <match target="font">
        <!-- edit name="embeddedbitmap" mode="assign">
        </edit -->
        <edit name="lcdfilter" mode="assign">
  10. Add /etc/profile.d/custom.sh
    alias rm='rm -i'

    alias cp='cp -i'

    alias mv='mv -i'
  11. Disable packagekit / gnome update in background
    gsettings set org.gnome.software download-updates false
  12. Disable dnf auto update
    systemctl disable dnf-makecache.timer
    systemctl disable dnf-makecache.service
  13. Limit journald logs
    vim /etc/systemd/journald.conf
  14. Install frontend for dnf:
    dnf install yumex-dnf
    dnf install dnfdragora-gui
  15. Install menulibre or alacarte for creating custom menu (.desktop)
  16. Install Shutter for easily creating screenshot and annotate it
  17. Install system-config-printer to add printer and more advanced cups setting
  18. Install eiciel to set acl using gui, it will also shown in nautilus - properties
  19. Install tracker-preferences to set Indexing Preferences I decided to disable tracker see below
  20. 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:
  21. vim /etc/default/grub
    grub2-mkconfig -o /boot/efi/EFI/fedora/grub.cfg
  22. 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
  23. 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">
        <match target="pattern">
            <test qual="any" name="family"><string>Arial</string></test>
            <edit name="family" mode="assign" binding="same"><string>Arimo</string></edit>
        <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 target="pattern">
            <test qual="any" name="family"><string>Courier New</string></test>
            <edit name="family" mode="assign" binding="same"><string>Cousine</string></edit>
  24. 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*
  25. Install firefox extension to save password to keyring: GNOME Keyring integration
  26. 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/
  27. Wifi unstable: rtl8723be
    vi /etc/modprobe.d/wifi.conf
    options rtl8723be fwlps=0
    options rtl8723be ant_sel=2
  28. 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
  29. 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 40
    ./tpacpi-bat -s stop 1 51
  30. Install tuned and tuned-gui to save battery
  31. 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
    Fix selinux warning:
    semanage fcontext -a -t ifconfig_var_run_t /var/run/tlp/lock_tlp
    restorecon -R -v /var/run/tlp
  32. Install mpv or gnome-mpv  to play movies
  33. Install powerline for cool bash prompt :
  34. 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 
  35. 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
  36. Install global audio equalizer
    dnf install pulseaudio-equalizer
  37. Speedup dnf download
    Edit /etc/dnf/dnf.conf. Add the line fastestmirror=true under [main]


Popular posts from this blog

Ports to allow for whatsapp call

Setting open office u label tom & jerry

Tips Jika Mobil Anda Habis Bensin LOL!