Skip to content

Instantly share code, notes, and snippets.

@phanect
Last active April 21, 2024 21:12
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save phanect/9c692396d6d7a468d189fca0b4939fa7 to your computer and use it in GitHub Desktop.
Save phanect/9c692396d6d7a468d189fca0b4939fa7 to your computer and use it in GitHub Desktop.
Personal setup instruction for my KDE neon box

1. Update and install software

sudo pkcon refresh
sudo pkcon update

sudo apt-get install --yes --no-install-recommends --ignore-missing \
  apt-transport-https \
  curl \
  git \
  kcalc \
  kolourpaint \
  fcitx5-mozc kde-config-fcitx5 \
  uvccapture guvcview \
  vlc \
  wget \
  whois \
  yakuake

# TODO also install `clamav`

2. Manually install following software

undefined machine only

3. Setup for installed software

sudo apt-get update -qq
sudo apt-get --fix-broken install --yes

# Allow Dropbox to watch more number of files
echo "fs.inotify.max_user_watches = 100000" | sudo tee /etc/sysctl.d/dropbox.conf

sudo npm update --global

#
# git config
#

# Don't convert line endings to CRLF
sudo git config --system core.autocrlf false
# Don't commit file permission change
sudo git config --system core.fileMode false
# Set default branch name
sudo git config --system init.defaultBranch main

if [[ ! -f ~/.ssh/id_rsa ]]; then
  ssh-keygen -t ed25519 -f ~/.ssh/id_ed25519 -N ""
fi

4. Setup Git identity

git config --global user.name "John Doe"
git config --global user.email "git@example.com"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment