- install google chrome
- change keyboard layout 設定 > 日付と言語 > 言語 > 日本語 > オプション > ハードウェアキーボードレイアウト > レイアウトを変更する > 英語キーボード
- instlal Unpacker from Microsoft store
- install changekey (Capslock to Ctrl) https://forest.watch.impress.co.jp/library/software/changekey/
- IME 切り替え IME > プロパティ > 詳細設定 > 編集操作 > 変更(D) > Ctrl + SPACE でIME ON/OFF 切り替え
- Launcher http://keypirinha.com/
- Magic trackpad を使う場合は以下をインストール(有料) https://magicutilities.net/download
sudo wget -q -O - https://dl-ssl.google.com/linux/linux_signing_key.pub | sudo apt-key add -
sudo sh -c 'echo "deb http://dl.google.com/linux/chrome/deb/ stable main" >> /etc/apt/sources.list.d/google.list'
sudo apt-get update
sudo apt-get install google-chrome-stable
$ LANG=C xdg-user-dirs-gtk-update
XKBOPTIONS="ctrl:nocaps"
sudo nano /etc/default/keyboard
$ sudo apt update & sudo apt upgrade -y
$ sudo apt install build-essential libbz2-dev libdb-dev \
libreadline-dev libffi-dev libgdbm-dev liblzma-dev \
libncursesw5-dev libsqlite3-dev libssl-dev \
zlib1g-dev uuid-dev tk-dev
$ git clone https://github.com/pyenv/pyenv.git ~/.pyenv
$ git clone https://github.com/foresta/dotfiles ~/work/.dotfiles
$ cd ~/work/.dotfiles
$ ./install.sh
$ source ~/.bash_profile
$ pyenv -v
$ pip install neovim
$ sudo add-apt-repository ppa:neovim-ppa/stable
$ sudo apt-get update
$ sudo apt-get install neovim
sudo apt install xsel
Install packages for adding repository
$ sudo apt-get install -y \
apt-transport-https \
ca-certificates \
curl \
software-properties-common
Add Docker GPG key
$ curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add -
Add repository
$ sudo add-apt-repository \
"deb [arch=amd64] https://download.docker.com/linux/ubuntu \
$(lsb_release -cs) \
stable"
Update apt package
sudo apt update
Install docker
$ sudo apt install -y docker-ce
Exec
$ sudo systemctl status docker
Exec docker for normal user
$ cat /etc/group | grep docker
> docker:x:999:
$ sudo gpasswd -a kz_morita docker
$ cat /etc/group | grep docker
> docker:x:999:kz_morita
$ sudo chmod 666 /var/run/docker.sock
$ export compose='1.25.1'
$ sudo curl -L https://github.com/docker/compose/releases/download/${compose}/docker-compose-`uname -s`-`uname -m` -o /usr/local/bin/docker-compose
$ sudo chmod 0755 /usr/local/bin/docker-compose
$ docker-compose -v
# Check hugo version
$ snap info hugo
# instlal hugo
$ sudo snap install hugo
https://github.com/nvm-sh/nvm#install-script
$ curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.35.3/install.sh | bash
Add settings to .bashrc
# nvm
[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" # This loads nvm
[ -s "$NVM_DIR/bash_completion" ] && \. "$NVM_DIR/bash_completion" # This loads nvm bash_completion
Add settings to .profile
## nvm
export NVM_DIR="$HOME/.nvm"
for toggle IME on ctrl
$ sudo apt install fcitx fcitx-mozc
$ sudo reboot
fcitx 設定 > 全体の設定 > 入力メソッドのオンオフ > LCtrl