changed 2 years ago
Published Linked with GitHub
tags: ubuntu
Contents

Ubuntu Settings

Image Not Showing Possible Reasons
  • The image file may be corrupted
  • The server hosting the image is unavailable
  • The image path is incorrect
  • The image format is not supported
Learn More →
Update Ubuntu Softwares / Security

  • Login LivePatch
  • Run update with Software Updater

Image Not Showing Possible Reasons
  • The image file may be corrupted
  • The server hosting the image is unavailable
  • The image path is incorrect
  • The image format is not supported
Learn More →
Preliminary Works

  • Install by Ubuntu Software
    • Image Not Showing Possible Reasons
      • The image file may be corrupted
      • The server hosting the image is unavailable
      • The image path is incorrect
      • The image format is not supported
      Learn More →
      dconf
    • Image Not Showing Possible Reasons
      • The image file may be corrupted
      • The server hosting the image is unavailable
      • The image path is incorrect
      • The image format is not supported
      Learn More →
      Synaptic Package Manager
    • Image Not Showing Possible Reasons
      • The image file may be corrupted
      • The server hosting the image is unavailable
      • The image path is incorrect
      • The image format is not supported
      Learn More →
      BleachBut
    • Image Not Showing Possible Reasons
      • The image file may be corrupted
      • The server hosting the image is unavailable
      • The image path is incorrect
      • The image format is not supported
      Learn More →
      cherrytree (see tutorial)
    • Image Not Showing Possible Reasons
      • The image file may be corrupted
      • The server hosting the image is unavailable
      • The image path is incorrect
      • The image format is not supported
      Learn More →
      spotify
    • Image Not Showing Possible Reasons
      • The image file may be corrupted
      • The server hosting the image is unavailable
      • The image path is incorrect
      • The image format is not supported
      Learn More →
      Clementine Music Player
# 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

Image Not Showing Possible Reasons
  • The image file may be corrupted
  • The server hosting the image is unavailable
  • The image path is incorrect
  • The image format is not supported
Learn More →
雙系統相關設定

設定 Grub Customizer

  • 安裝 Grub Customizer 指令
sudo apt update    ## 更新軟體的最新資訊及列表
sudo apt upgrade   ## 更新目前已安裝的軟體到最新版本
sudo apt install grub-customizer

避免雙系統的時區不同步

# 將你的硬體時鐘設置為協調世界時(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'.

看到以上的訊息就代表成功了

Image Not Showing Possible Reasons
  • The image file may be corrupted
  • The server hosting the image is unavailable
  • The image path is incorrect
  • The image format is not supported
Learn More →
Shell Settings

$ 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"

Image Not Showing Possible Reasons
  • The image file may be corrupted
  • The server hosting the image is unavailable
  • The image path is incorrect
  • The image format is not supported
Learn More →
Copy Setting Files

  • .bashrc
  • .bash_aliases
  • .zshrc # 使用者名稱要改
  • .vimrc
  • .tmux.conf
  • .gitconfig # Double Check
  • .bash_history
  • .zsh_history

Image Not Showing Possible Reasons
  • The image file may be corrupted
  • The server hosting the image is unavailable
  • The image path is incorrect
  • The image format is not supported
Learn More →
自動掛載外部磁區

  1. [Ubuntu] 自動掛載硬碟或磁區

  2. 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'
    

Gnome Settings (UI)

新酷音輸入法

  • Installation Guidance
  • Settings

    打開 設定值 / 地區與語言 / 中文(新酷音)

    Image Not Showing Possible Reasons
    • The image file may be corrupted
    • The server hosting the image is unavailable
    • The image path is incorrect
    • The image format is not supported
    Learn More →
    / 編輯

    Image Not Showing Possible Reasons
    • The image file may be corrupted
    • The server hosting the image is unavailable
    • The image path is incorrect
    • The image format is not supported
    Learn More →
    取消勾選:Caps Lock 切換中文模式

設定線上帳號

打開 設定值 / 線上帳號

  • 登入 Google 帳號來啟用 GD 虛擬磁碟(授權給 GNOME)

Image Not Showing Possible Reasons
  • The image file may be corrupted
  • The server hosting the image is unavailable
  • The image path is incorrect
  • The image format is not supported
Learn More →
Dconf

路徑 Default
Image Not Showing Possible Reasons
  • The image file may be corrupted
  • The server hosting the image is unavailable
  • The image path is incorrect
  • The image format is not supported
Learn More →
Image Not Showing Possible Reasons
  • The image file may be corrupted
  • The server hosting the image is unavailable
  • The image path is incorrect
  • The image format is not supported
Learn More →
自訂數值 備註
click-action
Image Not Showing Possible Reasons
  • The image file may be corrupted
  • The server hosting the image is unavailable
  • The image path is incorrect
  • The image format is not supported
Learn More →
minimize-or-previews Activate minimize to Dock
org/gnome/settings-daemon/plugins/media-keys/terminal
Image Not Showing Possible Reasons
  • The image file may be corrupted
  • The server hosting the image is unavailable
  • The image path is incorrect
  • The image format is not supported
Learn More →
['<Primary><Alt>t','<Super>t'] 增加 Terminal 快捷鍵
switch-to-workspace-up
Image Not Showing Possible Reasons
  • The image file may be corrupted
  • The server hosting the image is unavailable
  • The image path is incorrect
  • The image format is not supported
Learn More →
['<Super>Page_Up', '<Control><Super>Up'] vscode 快捷鍵衝突
switch-to-workspace-down
Image Not Showing Possible Reasons
  • The image file may be corrupted
  • The server hosting the image is unavailable
  • The image path is incorrect
  • The image format is not supported
Learn More →
['<Super>Page_Down', '<Control><Super>Down'] vscode 快捷鍵衝突
move-to-workspace-up
Image Not Showing Possible Reasons
  • The image file may be corrupted
  • The server hosting the image is unavailable
  • The image path is incorrect
  • The image format is not supported
Learn More →
['<Super><Shift>Page_Up'] vscode 快捷鍵衝突
move-to-workspace-down
Image Not Showing Possible Reasons
  • The image file may be corrupted
  • The server hosting the image is unavailable
  • The image path is incorrect
  • The image format is not supported
Learn More →
['<Super><Shift>Page_Down'] vscode 快捷鍵衝突

Keyboard Shortcuts

打開 設定值 / 鍵盤快速鍵

名稱 指令 快速鍵 欄位分類
設定值
Image Not Showing Possible Reasons
  • The image file may be corrupted
  • The server hosting the image is unavailable
  • The image path is incorrect
  • The image format is not supported
Learn More →
Super+I 啟動器
執行計算機
Image Not Showing Possible Reasons
  • The image file may be corrupted
  • The server hosting the image is unavailable
  • The image path is incorrect
  • The image format is not supported
Learn More →
Super+C 啟動器
顯示執行明令提示
Image Not Showing Possible Reasons
  • The image file may be corrupted
  • The server hosting the image is unavailable
  • The image path is incorrect
  • The image format is not supported
Learn More →
Super+R 系統
Xkill xkill Super+K 自訂快速鍵
檔案總管 nautilus -w Super+E 自訂快速鍵
系統監控 gnome-system-monitor Shift+Ctrl+Esc 自訂快速鍵

Set 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

開啟夜光功能

開啟 設定值 / 顯示器 / 夜光

Nautilus (檔案總管)

精華版 50 Things to Do After installing Ubuntu 20.04

4. Decrease Swap use

$ cat /proc/sys/vm/swappiness

vm.swappiness=10

5. Reduce SSD Writes

12. GNOME Sushi

27. Default applications

38. Enable Netflix support

將 Ubuntu 家目錄資料夾的語言改為英文

$ export LANG=en_US
$ xdg-user-dirs-gtk-update

Tmux 詳細設定

Select a repo