Skip to content

Instantly share code, notes, and snippets.

@DanielTimLee
Last active December 6, 2020 19:37
Show Gist options
  • Save DanielTimLee/ca255aa0567751fb4a59c4fc10729477 to your computer and use it in GitHub Desktop.
Save DanielTimLee/ca255aa0567751fb4a59c4fc10729477 to your computer and use it in GitHub Desktop.
Arch linux KDE Installation
DEFAULT_OPT='--noconfirm --m-arg --skipchecksums --m-arg --skippgpcheck'
sudo pacman -Syu
sudo pacman -S sudo vi zsh wget fuse git vim xorg xorg-xinit kf5 kf5-aids plasma kdebase spectacle gwenview ttf-freefont sddm sddm-kcm gtk-engines gtk2 gtk3 gnome-themes-standard gnome-icon-theme ntp networkmanager net-tools alsa-utils pulseaudio pulseaudio-alsa libcanberra-pulse libcanberra-gstreamer jack2-dbus --noconfirm
sudo systemctl enable sddm
sudo systemctl enable ntpd
sudo systemctl enable NetworkManager dhcpcd
##### SDDM Theme Setting /etc/sddm.conf
# [Theme]
# Current=breeze
# CursorTheme=breeze_cursors
git clone https://aur.archlinux.org/package-query.git
cd package-query
makepkg -si --noconfirm
cd ..
git clone https://aur.archlinux.org/yaourt.git
cd yaourt
makepkg -si --noconfirm
cd ..
# Install AUR (Aura-bin)
yaourt -S aura-bin --noconfirm
touch ~/.exportrc
echo "alias pacman='sudo aura'" >> ~/.exportrc
https://github.com/spoqa/spoqa-han-sans/releases/download/2.1.1/SpoqaHanSans_all.zip
# autoenv
git clone git://github.com/kennethreitz/autoenv.git ~/.autoenv
echo 'source ~/.autoenv/activate.sh' >> ~/.exportrc
# ultimate vimrc
git clone --depth=1 https://github.com/amix/vimrc.git ~/.vim_runtime
sh ~/.vim_runtime/install_awesome_vimrc.sh
echo "source ~/.exportrc" >> ~/.bashrc
# Apple Intel Only driver. KDE Resolution Fix.
sudo pacman -S xf86-video-intel --noconfirm
# Apple Keyboard Tilde Key.
sudo touch /etc/modprobe.d/hid_apple.conf
echo 'options hid_apple iso_layout=0' | sudo tee --append /etc/modprobe.d/hid_apple.conf
# KDE Hangul Input Method. (Fcitx)
sudo pacman -S fcitx-hangul kcm-fcitx fcitx-gtk2 fcitx-gtk3 fcitx-qt4 fcitx-qt5 --noconfirm
# Must Edit .xprofile with IM module
touch ~/.xprofile
echo "export GTK_IM_MODULE=fcitx" >> ~/.xprofile
echo "export QT_IM_MODULE=fcitx" >> ~/.xprofile
echo "export XMODIFIERS=@im=fcitx" >> ~/.xprofile
sudo pacman -S ark p7zip zip unzip unrar wxgtk --noconfirm
# Bluetooth
sudo pacman -S bluez bluez-libs bluez-utils pulseaudio-bluetooth rfkill --noconfirm
sudo modprobe btusb
sudo rfkill unblock bluetooth
sudo systemctl enable bluetooth
sudo systemctl start bluetooth
# Utilities
sudo pacman -S systemd-kcm atom nodejs npm yarn openssh fail2ban sshfs kdeconnect --noconfirm
yaourt -S gitkraken --noconfirm --m-arg --skipchecksums --m-arg --skippgpcheck
sudo systemctl enable fail2ban
sudo systemctl start fail2ban
# Personal Information Manage
# sudo pacman -S korganizer kmail kontact kaccounts-integration kaccounts-providers --noconfirm
# Fonts.
sudo pacman -S ttf-bitstream-vera ttf-inconsolata ttf-ubuntu-font-family ttf-dejavu ttf-freefont ttf-linux-libertine ttf-liberation --noconfirm
sudo pacman -S adobe-source-han-sans-kr-fonts adobe-source-han-serif-kr-fonts ttf-baekmuk --noconfirm
# https://askubuntu.com/questions/228561/install-many-fonts-at-once
wget https://github.com/spoqa/spoqa-han-sans/releases/download/2.1.1/SpoqaHanSans_all.zip
unzip SpoqaHanSans_all.zip -d ~/.fonts
yaourt -S ttf-nanum ttf-nanumgothic_coding --noconfirm --m-arg --skipchecksums --m-arg --skippgpcheck
yaourt -S otf-ipafont ttf-amiri ttf-ancient-fonts ttf-ms-fonts ttf-monaco ttf-noto ttf-vista-fonts --noconfirm --m-arg --skipchecksums --m-arg --skippgpcheck
fc-cache -rv
sudo aura -A google-chrome sublime-text-dev-imfix-fcitx jetbrains-toolbox slack-desktop cutemarked --noconfirm
pacman -R konqueror --noconfirm
sudo aura -A wps-office ttf-wps-fonts --noconfirm
# PowerLine Fonts clone
git clone https://github.com/powerline/fonts.git --depth=1
# install
cd fonts
./install.sh
# clean-up a bit
cd ..
rm -rf fonts
# https://unix.stackexchange.com/questions/13751/kernel-inotify-watch-limit-reached
sudo touch /etc/sysctl.d/40-max-user-watches.conf
echo 'fs.inotify.max_user_watches=524288' | sudo tee --append /etc/sysctl.d/40-max-user-watches.conf
sudo sysctl --system
pip install virtualenv
sh -c "$(curl -fsSL https://raw.githubusercontent.com/robbyrussell/oh-my-zsh/master/tools/install.sh)"
# POTD https://www.reddit.com/r/kde/comments/711lej/picture_of_the_day_lock_screen_background_not/
ln -s $HOME/.cache/plasmashell/plasma_engine_potd $HOME/.cache/kscreenlocker_greet/plasma_engine_potd
echo "source ~/.exportrc" >> ~/.zshrc
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment