# Setup Ubuntu </br> ### Gnome ```shell= sudo add-apt-repository ppa:gnome3-team/gnome3 sudo apt-get update sudo apt-get install gnome-shell ubuntu-gnome-desktop # uninstall unity sudo apt-get remove unity sudo apt-get remove lightdm sudo apt-get remove ubuntu-desktop # UI zoom-in/zoom-out gsettings set org.gnome.desktop.interface scaling-factor 2 ``` ### Prettier shell >[Hyper](https://github.com/zeit/hyper) >[Fish Shell](https://github.com/oh-my-fish/oh-my-fish) >[ZSH Shell](https://medium.com/@wifferlin0505/%E5%9C%A8-ubuntu-16-04-lts-%E4%B8%AD%E5%AE%89%E8%A3%9D%E4%BD%BF%E7%94%A8-oh-my-zsh-cf92203ca8a2) ```shell= # Fish sudo apt-get install fish curl -L https://get.oh-my.fish | fish curl -L https://get.oh-my.fish > install fish install --path=~/.local/share/omf --config=~/.config/omf chsh -s /usr/bin/fish # Set Hyper as default terminal sudo update-alternatives --install /usr/bin/x-terminal-emulator x-terminal-emulator /opt/Hyper/hyper 50 ``` >[Omf notes](/qwll9789TBqNNeZOW1Q3yA) >[vim & vi ](/kQKumKC9QMKVxvosOmRtcw) ### Hardware >[Ubuntu 安裝指南(Ubuntu 16.04)- By 宗翰](https://hackmd.io/hh6TMZUyQ6qRiCBkOFwD1Q?fbclid=IwAR3mfcJlWfmnvTNA1608BIJVfPJC9TTmnEY8gs5IE5GQ4IoizRJZqPuN6iU) > [ubuntu 18.04實際安裝 簡略步驟](https://medium.com/caesars-study-review-on-web-development/ubuntu-18-04%E5%AF%A6%E9%9A%9B%E5%AE%89%E8%A3%9D-%E7%B0%A1%E7%95%A5%E6%AD%A5%E9%A9%9F-b023f61436bf) | 順序 | 分區 | 容量(MB) | 檔案格式 | | :--------: | :--------: | :--------: |:----: | 1 | /boot | 500 | ext2(bi-system) | 2 | / | 看自己需求 | ext4 | 3 | /home | 看自己需求 | ext4 | 4 | /swap | RAM的兩倍 (通常可以少一點) | 置換空間 ### Arch theme >[Ubuntu 配置 (Ubuntu 16.04)- By Fan](https://hackmd.io/chLXXKpZSDyUUQHP5cM1pg?edit&fbclid=IwAR2a-9zzNIOxkatfxm8i3rAhlWvGXXFlCKEC3UnkwSLCLOopYTHQ5SK8pZE) > [Arch theme](https://www.ubuntupit.com/install-arc-theme-icon-ubuntu-fedora-linux-desktop/) ```shell= sudo add-apt-repository ppa:noobslab/themes sudo apt-get update sudo apt-get install arc-theme sudo add-apt-repository ppa:noobslab/icons sudo apt-get update sudo apt-get install arc-icons # scaling gsettings set org.gnome.desktop.interface text-scaling-factor 1.2 ``` ### Cursors ```shell= sudo add-apt-repository ppa:dyatlov-igor/la-capitaine sudo apt update sudo apt install la-capitaine-cursor-theme ``` ### Close/Zoom in/Zoom out >[Ubuntu 配置 (Ubuntu 16.04)- By Fan](https://hackmd.io/chLXXKpZSDyUUQHP5cM1pg?edit&fbclid=IwAR2a-9zzNIOxkatfxm8i3rAhlWvGXXFlCKEC3UnkwSLCLOopYTHQ5SK8pZE) ```shell= gsettings set org.gnome.desktop.wm.preferences button-layout 'close,maximize,minimize:'` ``` ### Ssh >[SSH 基本用法](https://zhuanlan.zhihu.com/p/21999778?fbclid=IwAR0FLlvetcU5kPL1dHTdE_q4SP4ZDK-LEAvnGaJCkMdi15IZMlIeTnAFi4g) >[Linux 的 scp 指令用法教學與範例:遠端加密複製檔案與目錄](https://blog.gtwang.org/linux/linux-scp-command-tutorial-examples/?fbclid=IwAR3aE3BDLRJaGeba7imDXahQPqpnUS3LAtp5LtkdZFinyr863zSXPFdQuCE) ### LaTeX > [Guide to install on Ubuntu16.04](https://hackmd.io/@vFZ6FaJ_SNi49PV3Uan45Q/S1DQHMNTB) ### prohibit the nvidia-drivers > [here](https://blog.csdn.net/u012442845/article/details/78855573) > [here](https://gitpress.io/@chchang/install-nvidia-driver-cuda-pgstrom-in-ubuntu-1804)