Skip to content

Setup Workspace in Linux

Keyboard

Set caps to control

1
setxkbmap -layout us -option ctrl:nocaps

Git

1
2
3
4
5
6
7
sudo apt install git
# config
git config --global user.name "YongcongWang"
git config --global user.email "yongcong.wang@outlook.com"
git config --global core.editor vim
# generate key
ssh-keygen -t rsa -C "yongcong.wang@outlook.com"

Config

  1. Open github and sign in;
  2. In Settings/SSH and GPG keys click New SSH Key;
  3. Paste id_rsa.PUB(in /home/.ssh/id_rsa.pub);
  4. Test: ssh -T git@github.com.
1
git clone git@github.com:yongcongwang/dotfiles.git ~/.dotfiles && cd ~/.dotfiles && bash deploy.sh git

Vim

Install

1
2
git clone git@github.com:vim/vim.git &&
cd vim && make && sudo make install

Config

1
bash deploy.sh vim

ctags

1
2
3
4
5
6
git clone https://github.com/universal-ctags/ctags.git
cd ctags
./autogen.sh
./configure # --prefix=/where/you/want # defaults to /usr/local
make
make install # may require extra privileges depending on where to install

i3

1
bash deploy.sh vim

fzf

1
2
git clone --depth 1 https://github.com/junegunn/fzf.git ~/.fzf &&
~/.fzf/install

Software without config

  • xterm
  • openssh
  • translate-shell
  • alsa-mixer
  • iwd
  • bluez
  • feh
  • feishu
  • rofi
  • ranger
  • neofetch
  • htop
  • gdb
  • flameshot
  • vlc
  • drawio
  • simplescreenrecorder