天天看點

定制我的 Ubuntu 17.04

來來回回裝了 N 次系統了,每次都要重裝一大堆的工具,這次就想寫這篇記錄一下,以便下次再安裝不用挨個找,順便給其他 Linux 使用者參考,如果他們需要的話。對于界面美化,我也是會講究的,一款好的界面會讓使用者更喜愛他,不是麼 ;)

文章分 工具篇 和 界面美化篇

工具篇

科學上網工具

我想這是首先必須的。好多人沒有它不能做任何事情。通過 PPA 源安裝,支援 Ubuntu 14.04 或更高版本。

sudo add-apt-repository ppa:hzwhuang/ss-qt5
sudo apt-get update
sudo apt-get install shadowsocks-qt5
           
項目位址

Google Chrome

  1. 可通路 Google Chrome 官網 進行下載下傳(前提:科學上網工具)
  2. 通過 PPA 源安裝

    首先安裝密鑰

    wget -q -O - https://dl-ssl.google.com/linux/linux_signing_key.pub | sudo apt-key add -
               
    添加 PPA 源
    sudo sh -c 'echo "deb http://dl.google.com/linux/chrome/deb/ stable main" >> /etc/apt/sources.list.d/google-chrome.list'
               
    更新源
    sudo apt update
               
    安裝 stable 、 Beta 或者 Unstable 版本
    sudo apt-get install google-chrome-stable
    sudo apt-get install google-chrome-beta
    sudo apt-get install google-chrome-unstable
               

Oh-My-ZSH

這是一個 Terminal 架構,不僅提供豐富的外觀主題,還提供了豐富的功能如更強大、智能的自動補全等。需要預先安裝

zsh

工具。

sudo apt install zsh
           

一鍵安裝 oh-my-zsh 指令

sh -c "$(wget https://raw.github.com/robbyrussell/oh-my-zsh/master/tools/install.sh -O -)"
           
定制我的 Ubuntu 17.04

oh-my-zsh.png

相關配置資訊、主題請通路

Node.js

安裝 6.x 版本

curl -sL https://deb.nodesource.com/setup_6.x | sudo -E bash -
sudo apt-get install -y nodejs
           

安裝 8.x 版本

curl -sL https://deb.nodesource.com/setup_8.x | sudo -E bash -
sudo apt-get install -y nodejs
           

npm 更換淘寶鏡像

npm config set registry https://registry.npm.taobao.org/
           

Typora

這是一款 MarkDown 編輯器,功能也很強大。

sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys BA300B7755AFCFAE
sudo add-apt-repository 'deb https://typora.io ./linux/'
sudo apt-get update
sudo apt-get install typora
           

界面美化篇

對桌面環境來說,最喜歡 GNOME 了,它的高擴充性提供了豐富的定制功能。Github 上好多針對 GNOME 優化的項目,何況 Ubuntu 都放棄 Unity 了。

桌面主題

Github 上一大堆,我用比較熱門的一款叫 Arc-Theme 的主題,包括了 GNOME Shell 主題和 GTK 主題

安裝前需要以下依賴包(直接使用

sudo apt install *

安裝即可):

  • autoconf
  • automake
  • pkg-config
  • libgtk-3-dev
  • git

安裝步驟

  1. 從 Github 上擷取項目
    git clone https://github.com/horst3180/arc-theme --depth 1 && cd arc-theme
               
  2. 建構項目并安裝
    ./autogen.sh --prefix=/usr
    sudo make install
               
  3. 其他選項
    --disable-transparency     在 GTK3 主題中禁用透明度
    --disable-light            禁用 Arc Light
    --disable-darker           禁用 Arc Darker
    --disable-dark             禁用 Arc Dark
    --disable-cinnamon         禁用 Cinnamon
    --disable-gnome-shell      禁用 GNOME Shell
    --disable-gtk2             禁用 GTK2
    --disable-gtk3             禁用 GTK3
    --disable-metacity         禁用 Metacity
    --disable-unity            禁用 Unity
    --disable-xfwm             禁用 XFWM
    
    --with-gnome=<version>     為特定的 GNOME 版本 (3.14, 3.16, 3.18, 3.20, 3.22) 建構主題
               
  4. 選擇主題

    安裝完成後打開 GNOME Tweak Tool 工具選擇對應的 Arc 主題即可。

注意 :對于高分屏,可能使用 Arc-Theme 顯示 GNOME Shell 的字型過小,可通過修改

/usr/share/themes/[對應 Arc 主題]/gnome-shell/gnome-shell.css

修改 stage 的

font-size

,其他熱門主題

Numix

Paper

圖示主題

sudo add-apt-repository ppa:numix/ppa
sudo apt-get update
sudo apt-get install numix-icon-theme
           
sudo add-apt-repository ppa:snwh/pulp
sudo apt-get update
sudo apt-get install paper-icon-theme
# 同時也可以安裝 GTK 和 Cursor 主題
sudo apt-get install paper-gtk-theme
sudo apt-get install paper-cursor-theme
           

Papirus

sudo add-apt-repository ppa:papirus/papirus
sudo apt-get update
sudo apt-get install papirus-icon-theme
           

或者下載下傳最新的

deb 安裝包

.

GNOME Shell Extensions

定制我的 Ubuntu 17.04

weather.png

  • System Monitor 系統螢幕
  • Topicons Plus

    任務圖示欄

    任務圖示欄使用預設的圖示,如何讓他使用自定義的圖示主題呢?

    比如使用 Papirus ,它支援 hardcode-tray 腳本來實作

    1. 安裝 hardcode-tray
    sudo add-apt-repository ppa:andreas-angerer89/sni-qt-patched
    sudo apt update
    sudo apt install sni-qt sni-qt:i386 hardcode-tray
               
    1. 轉換圖示
    hardcode-tray --conversion-tool Inkscape
               
定制我的 Ubuntu 17.04

extensions.png

  • Dash To Dock

    可定制的 Dock

    可選擇主題,停靠位置,個人習慣喜歡停靠在底部

定制我的 Ubuntu 17.04

dock.png

結束

GNOME 可以定制的還有更多,可通過項目位址進去仔細研究。 ;)

順便曬一下我的桌面

定制我的 Ubuntu 17.04

desktop.png

原文位址 我的部落格