ubuntu
dpkg
apt-get
or apt
# Update software lists
sudo apt update ## 更新軟體的最新資訊及列表
sudo apt upgrade ## 更新目前已安裝的軟體到最新版本
# Basic Tools
sudo apt install curl
## Resource Monitor
sudo apt install htop
sudo apt install iftop
## Ubuntu Cleaner
sudo add-apt-repository ppa:gerardpuig/ppa
sudo apt update
sudo apt install ubuntu-cleaner
# Multi-pane for terminal
sudo apt install tmux
sudo apt install byobu
# Coding
sudo apt install vim git
sudo apt install build-essential
sudo apt install manpages-dev
# Media Player
sudo add-apt-repository ppa:xuzhen666/gnome-mpv
sudo apt update
sudo apt install celluloid
# Picture Editor
sudo apt install pinta # Simple
sudo apt install gimp # Pro
# Microsoft Edge
sudo apt install microsoft-edge-stable
sudo apt update ## 更新軟體的最新資訊及列表
sudo apt upgrade ## 更新目前已安裝的軟體到最新版本
sudo apt install grub-customizer
Trouble Shooting:
Get grub menu back after installing Ubuntu 20.04 alongside Windows
# 將你的硬體時鐘設置為協調世界時(UTC)
$ timedatectl set-local-rtc 1
# 確定你的硬體時鐘是否設置為本地時區
$ timedatectl | grep local
RTC in local TZ: yes
Warning: The system is configured to read the RTC time in the local time zone.
'timedatectl set-local-rtc 0'.
看到以上的訊息就代表成功了
Install oh-my-zsh (powerlevel9k)
$ sudo apt install zsh
$ sh -c "$(wget https://raw.githubusercontent.com/robbyrussell/oh-my-zsh/master/tools/install.sh -O -)"
$ git clone https://github.com/bhilburn/powerlevel9k.git ~/.oh-my-zsh/custom/themes/powerlevel9k
Edit the ./zshrc
file and set the theme to powerlevel9k
ZSH_THEME="powerlevel9k/powerlevel9k"
Hide the icons of the mounted disks
$ gsettings set org.gnome.shell.extensions.dash-to-dock show-mounts false
$ gsettings set org.gnome.nautilus.desktop volumes-visible 'false'
打開 設定值 / 地區與語言 / 中文(新酷音) / 編輯
取消勾選:Caps Lock 切換中文模式
打開 設定值 / 線上帳號
路徑 | Default ![]() ![]() |
自訂數值 | 備註 |
---|---|---|---|
click-action |
![]() |
minimize-or-previews |
Activate minimize to Dock |
org/gnome/settings-daemon/plugins/media-keys/terminal |
![]() |
['<Primary><Alt>t','<Super>t'] |
增加 Terminal 快捷鍵 |
switch-to-workspace-up |
![]() |
['<Super>Page_Up', '<Control><Super>Up'] |
vscode 快捷鍵衝突 |
switch-to-workspace-down |
![]() |
['<Super>Page_Down', '<Control><Super>Down'] |
vscode 快捷鍵衝突 |
move-to-workspace-up |
![]() |
['<Super><Shift>Page_Up'] |
vscode 快捷鍵衝突 |
move-to-workspace-down |
![]() |
['<Super><Shift>Page_Down'] |
vscode 快捷鍵衝突 |
打開 設定值 / 鍵盤快速鍵
名稱 | 指令 | 快速鍵 | 欄位分類 |
---|---|---|---|
設定值 | ![]() |
Super+I |
啟動器 |
執行計算機 | ![]() |
Super+C |
啟動器 |
顯示執行明令提示 | ![]() |
Super+R |
系統 |
Xkill | xkill |
Super+K |
自訂快速鍵 |
檔案總管 | nautilus -w |
Super+E |
自訂快速鍵 |
系統監控 | gnome-system-monitor |
Shift+Ctrl+Esc |
自訂快速鍵 |
calc
for Alt-F2 alias# Create file in /usr/bin/
$ sudo sh -c "echo gnome-calculator > /usr/bin/calc"
# Make the script executable
$ sudo chmod a+x /usr/bin/calc
開啟 設定值 / 顯示器 / 夜光
$ cat /proc/sys/vm/swappiness
vm.swappiness=10
$ export LANG=en_US
$ xdg-user-dirs-gtk-update