Last active
April 20, 2024 14:43
-
-
Save LimHyungTae/6dc69ac1e9d2b0a1527fbde30f96112a to your computer and use it in GitHub Desktop.
2023 version of ubuntu 20.04 setting (only Korean Available)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# First, CUDA and its driver should be installed | |
# for saving time | |
# 1. Set off the nouveau | |
# (reference: https://support.huawei.com/enterprise/de/doc/EDOC1100165479/93fe5683/how-to-disable-the-nouveau-driver-for-different-linux-systems) | |
a) Create the /etc/modprobe.d/blacklist-nouveau.conf file and add the following information to the file. | |
``` | |
blacklist nouveau | |
options nouveau modeset=0 | |
``` | |
b) Re-generate initramfs. | |
sudo update-initramfs -u | |
# 2. Check the optimal driver by following command | |
# (reference: https://hwk0702.github.io/python/tips/2021/04/23/NVIDEA/) | |
ubuntu-drivers devices | |
# 3. And then, follow the other instruction | |
# 해당 사이트가 제일 정리가 잘 돼 있는 듯함: https://hwk0702.github.io/python/tips/2021/04/23/NVIDEA/ | |
# Hardward에 맞는 driver 버전 찾는게 인상깊음 | |
# ---------------------------------------------- | |
# Install Google Chrome | |
wget https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb | |
sudo dpkg -i google-chrome-stable_current_amd64.deb | |
# ---------------------------------------------- | |
# Install zsh | |
# https://gist.github.com/renshuki/3cf3de6e7f00fa7e744a | |
# https://www.tecmint.com/install-oh-my-zsh-in-ubuntu/ | |
# Just follow the below commands | |
sudo apt install curl wget git vim | |
# a) Install ZSH | |
sudo apt-get install zsh | |
# b) Install Oh-My-ZSH | |
sh -c "$(wget https://raw.github.com/ohmyzsh/ohmyzsh/master/tools/install.sh -O -)" | |
# Resolve the font issue of `agnoster` theme | |
# Easy way: If your are using Ubuntu >= 16.04 you can simply run: | |
sudo apt-get install fonts-powerline | |
# ---------------------------------------------- | |
# Install terminator | |
sudo apt-get update | |
sudo apt-get install terminator | |
# Set the config of terminator by following the page: https://gist.github.com/LimHyungTae/eeb134ff5d8c67690fd8020cf8265082 | |
# NOTE: terminator에서 Ctrl+Shift+e가 안 될 때에는 ibus-setup과의 충돌 때문에 그렇다고 함. | |
# 아래 주소 참고: | |
# https://jh-byun.github.io/study/terminator-split-vertically/ | |
# ---------------------------------------------- | |
# Set Korean | |
# https://pstudio411.tistory.com/entry/Ubuntu-2004-한글-입력-방법 | |
# 요약하자면, `ibus-setup` 명령어를 통해 Korean (Hangul)이 추가돼야 시스템 상에서 등록할 수 있나봄 | |
# 그래서 | |
# a) "Language Support"에서 Install/Remove Languages를 클릭 후, 설치해야하는 것 설치하고 | |
# b) Install/Remove Languages에서 Installed Languages에서 Korean 추가 | |
# c) 재부팅 | |
# d) command 상에서 IBus Preference를 통해 Korean-Hangul 추가, i.e. `$ibus-setup`를 친 후에 "Input Method"에서 한글 추가 | |
# e) 다시 Region & Language로 돌아가서 (Ubuntu 22.04의 경우에는 Keyboards에 있음) Input sources에서 "+" 버튼 눌러야 함 | |
# Set minimal C++ example | |
sudo apt install cmake libeigen3-dev libboost-all-dev | |
# ---------------------------------------------- | |
# For playing mkv file | |
sudo apt install ubuntu-restricted-extras | |
sudo apt install mpv |
한글 키보드 세팅 관련
Ubuntu 22.04 기준으로, fcitx 4를 설치해야 함! (fcitx 5, ibus는 입력할 때 뭔가가 이상함)
- https://ieworld.tistory.com/4
- https://mytory.net/archives/14412
- 입력에서 Ctrl + Alt + H 끄는 방법
https://askubuntu.com/questions/446231/whats-the-spell-hint-is-on-ubuntu-12-04- In my case, I put
Toggle the word hint
key asCtrl + Alt + Shift + Insert
, which is a dummy input
- In my case, I put
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
zsh auto completion setting
https://dev.to/kumareth/a-beginner-s-guide-for-setting-up-autocomplete-on-ohmyzsh-hyper-with-plugins-themes-47f2