定制 Ubuntu 17.04 桌面环境

先晒一下我的Ubuntu 17.04桌面

desktop

文章分 工具篇界面美化篇

工具篇

Google Chrome

  1. 可访问 Google Chrome 官网 进行下载(前提:科学上网工具)
  2. 通过 PPA 源安装
    首先安装密钥

    1
    wget -q -O - https://dl-ssl.google.com/linux/linux_signing_key.pub | sudo apt-key add -

    添加 PPA 源

    1
    sudo sh -c 'echo "deb http://dl.google.com/linux/chrome/deb/ stable main" >> /etc/apt/sources.list.d/google-chrome.list'

    更新源

    1
    sudo apt update

    安装 stable 、 Beta 或者 Unstable 版本

    1
    2
    3
    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) 工具。

1
sudo apt install zsh

一键安装 oh-my-zsh 命令

1
sh -c "$(wget https://raw.github.com/robbyrussell/oh-my-zsh/master/tools/install.sh -O -)"

on-my-zsh

相关配置信息、主题请访问 项目地址

相关:

Node.js

安装 6.x 版本

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

安装 8.x 版本

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

相关:

npm 更换淘宝镜像

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

Typora

这是一款 MarkDown 编辑器,功能也很强大。

1
2
3
4
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 上获取项目

    1
    git clone https://github.com/horst3180/arc-theme --depth 1 && cd arc-theme
  2. 构建项目并安装

    1
    2
    ./autogen.sh --prefix=/usr
    sudo make install
  3. 其他选项

    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    --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 修改 stagefont-size

项目地址 ,其他热门主题 NumixPaper

图标主题

Numix

1
2
3
sudo add-apt-repository ppa:numix/ppa
sudo apt-get update
sudo apt-get install numix-icon-theme

项目地址

Paper

1
2
3
4
5
6
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

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

或者下载最新的 deb 安装包 .

项目地址

GNOME Shell Extensions

  • Weather 天气插件

    weather

  • System Monitor 系统监视器

  • Topicons Plus 任务图标栏

    任务图标栏使用默认的图标,如何让他使用自定义的图标主题呢?

    比如使用 Papirus ,它支持 hardcode-tray 脚本来实现

    1. 安装 hardcode-tray

      1
      2
      3
      sudo add-apt-repository ppa:andreas-angerer89/sni-qt-patched
      sudo apt update
      sudo apt install sni-qt sni-qt:i386 hardcode-tray
    2. 转换图标

      1
      hardcode-tray --conversion-tool Inkscape
  • Nvidia GPU Temperature Indicator 显卡温度指示器

    以上三个的界面效果

    extensions

  • Dash To Dock 可定制的 Dock

    可选择主题,停靠位置,个人习惯喜欢停靠在底部

    dock

结束

GNOME 可以定制的还有更多,可通过项目地址进去仔细研究。 ;)

猜你喜欢

转载自www.linuxidc.com/Linux/2017-10/147702.htm