Skip to content

Instantly share code, notes, and snippets.

Last active Dec 20, 2015
What would you like to do?
Fedora 20 Setup


  1. Disable SELinux in `/etc/selinux/config` (need reboot)
  2. Install RPMFusion free&nofree repos rpm
  3. Install Wifi BCM4313 driver `yum install kmod-wl` after Step 2
  4. Install Adobe and Google repos rpm
  5. Install 163 mirror repos (
  6. Install build-essential alternative, `yum install make automake gcc gcc-c++ kernel-devel` or `yum-builddep sqlite` or `yum groupinstall “Development Tools”`
  7. Configure yum use proxy in /etc/yum.conf
# The proxy server - proxy server:port number 
# The account details for yum connections 


  1. Install mplayer gstreamer-ffmpeg
  2. Link a font to .mplayer/subfont.ttf
  3. Mplayer config for utf8 subtitle file: `nofontconfig=yes` and `utf8=yes`


  1. Create a .sh file in ~/.kde/env/ to provide environment variables for all desktop apps, ~/.profile only works for terminal
  2. System Settings -> File Association, change application of Video files to mplayer
  3. System Settings -> Shortcuts and Gestures -> Global Keyboard Shortcuts to learn and adjust keyboard shortcuts

Don’t Run Auto Updating & Misc Services

  1. System Settings -> Software Management -> (the wrench icon at the right) -> “Settings”: set “Check for Updates” to Never
  2. System Settings -> Startup & Shutdown -> Service Manager, uncheck & stop helpless services (ApperMoniter without auto updating)

Chinese Input Method

Use fcitx

yum install fcitx fcitx-qt4 fcitx-pinyin kcm-pinyin kcm-fcitx

Then edit your X11 profile. For KDE4, it’s one file in ~/.kde/env sourced by startkde

export GTK_IM_MODULE=fcitx
export QT_IM_MODULE=fcitx
export XMODIFIERS="@im=fcitx"

# Run fcitx
LC_ALL=zh_CN.UTF-8 LANG=zh_CN.UTF-8 fcitx


Fedora uses systemd instead of init script to manage services. systemctl is the command line tool to manage services.

sudo systemctl list-unit-files

Use the above cmd to find your service

sudo systemctl enable SERVICE_NAME

Use the above cmd to enable your service

sudo systemctl start SERVICE_NAME

Use the above cmd to run your service

Google Chrome

sudo su

rpm --import

cat << EOF > /etc/yum.repos.d/google-chrome.repo
name=google-chrome - \$basearch

yum install google-chrome-stable
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment