sudo pkcon refresh
sudo pkcon update
# libappindicator3-1 is for Dropbox: https://help.dropbox.com/installs/dropbox-desktop-app-for-linux#Required-software-libraries
# uvccapture and guvcview are required for online meeting software such as Zoom
sudo apt install --ignore-missing \
curl wget \
git git-filter-repo \
kate \
kcalc \
kolourpaint \
fcitx5-mozc \
uvccapture guvcview \
vlc \
clamav clamav-daemon clamtk \
yakuake \
libappindicator3-1 \
language-pack-ja fonts-noto-cjk-extra
# im-config and its config file prevents fcitx5 from working with Wayland
sudo apt remove --purge im-config \
maliit-framework maliit-keyboard \
kwrite kdeconnect
snap install spotify
# Optional
sudo apt install --ignore-missing \
podman \
virt-manager libvirt-daemon-system
sudo flatpak install flathub io.podman_desktop.PodmanDesktop
sudo snap install intellij-idea-community --classicNOTE: The source of thirdparty software from snap:
- undefined: Radeon™ RX 580 Drivers
sudo apt install amdgpu libva-amdgpu-drm2 libva-amdgpu-glx2 libva-amdgpu-wayland2 libva-amdgpu-x11-2 va-amdgpu-driver-all vulkan-amdgpu wayland-protocols-amdgpu libwayland-amdgpu-bin
- MSI: Proton VPN
sudo apt update
sudo apt install --fix-broken
sudo apt autoremove
sudo npm update --global
## Install npm completion
npm completion | sudo tee /etc/bash_completion.d/npm
## Allow Dropbox to watch more number of files
echo "fs.inotify.max_user_watches = 100000" | sudo tee /etc/sysctl.d/dropbox.conf
# ClamAV
systemctl enable clamav-freshclam
systemctl start clamav-freshclam
sudo systemctl enable clamav-daemon
sudo systemctl start clamav-daemon
## Git configs (system)
sudo git config --system core.autocrlf false # Don't convert line endings to CRLF
sudo git config --system core.fileMode false # Don't commit file permission change
sudo git config --system init.defaultBranch main # Set default branch name
sudo git config --system format.pretty fuller # Log format
# Set up better colorization of git diff
sudo chmod +x /usr/share/doc/git/contrib/diff-highlight/diff-highlight
sudo git config --system pager.log "/usr/share/doc/git/contrib/diff-highlight/diff-highlight | less"
sudo git config --system pager.show "/usr/share/doc/git/contrib/diff-highlight/diff-highlight | less"
sudo git config --system pager.diff "/usr/share/doc/git/contrib/diff-highlight/diff-highlight | less"
#
# Following commands should be run on each user accounts
#
## Dropbox
dropbox start -i
# SSH key
if [[ ! -f ~/.ssh/id_ed25519 ]]; then
ssh-keygen -t ed25519 -f ~/.ssh/id_ed25519
fi
## Git config (users)
git config --global core.autocrlf false
git config --global core.fileMode false
git config --global init.defaultBranch main
git config --global format.pretty fuller
git config --global pager.log "/usr/share/doc/git/contrib/diff-highlight/diff-highlight | less"
git config --global pager.show "/usr/share/doc/git/contrib/diff-highlight/diff-highlight | less"
git config --global pager.diff "/usr/share/doc/git/contrib/diff-highlight/diff-highlight | less"
# Login to GitHub for GitHub CLI (Run after generating SSH key)
gh auth login
# Install gh-poi: https://github.com/seachicken/gh-poi
gh extension install seachicken/gh-poigit config --global user.name "John Doe"
git config --global user.email "[email protected]"