sudo apt install -y build-essential curl git wget
Desktop
sudo apt install -y xsel xdotool fcitx fcitx-mozc libxss1 libappindicator1 libindicator7
im-config -n fcitx
Home directory lang
LANG=C xdg-user-dirs-gtk-update
Disable overlay by Super key
gsettings set org.gnome.mutter overlay-key ''
Google Chrome
[ -z "${DLHOME}" ] && export DLHOME="${HOME}/Download"
wget https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb -P "${DLHOME}"
sudo dpkg -i "${DLHOME}/google-chrome*.deb"
rm "${DLHOME}/google-chrome*.deb"
Fonts
bash -c "$(curl -fsSL https://github.com/hbin/top-programming-fonts/raw/master/install.sh)"
Inherit PATH in sudo
sudo visudo
visudo(/etc/sudoers)
Defaults env_reset
# Defaults secure_path="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"
Defaults env_keep += "PATH"
bash -c "$(curl -fsSL https://raw.githubusercontent.com/chlorochrule/dotfiles/master/init/installer.sh)"