This page looks best with JavaScript enabled

Ubuntu-Terminal-Style

 ·  ☕ 1 min read
  • 为内容增加padding

    操作:

    1. 进入/home/<User>/.config/gtk-3.0

    2. vi gtk.css

    3. 增加样式:

    1
    2
    3
    4
    5
    
    VteTerminal,
    TerminalScreen {
        padding: 10px 10px 10px 10px;
        -VteTerminal-inner-border: 10px 10px 10px 10px;
    }
    
    1. 重启Terminal

    增加之前:

    增加之后:

  • 配置ZSH和oh-my-zsh

    3den.zsh-theme           dst.zsh-theme              intheloop.zsh-theme       minimal.zsh-theme        Soliah.zsh-theme
    adben.zsh-theme          duellj.zsh-theme           itchy.zsh-theme           mira.zsh-theme           sonicradish.zsh-theme
    ......
    
    • 修改配置文件 ~/.zshrc
    修改主题
    ZSH_THEME="amuse"
    
    • 安装缺少字体 powerline
    1
    2
    3
    
    wget https://github.com/powerline/powerline/raw/develop/font/PowerlineSymbols.otf
    wget https://github.com/powerline/powerline/raw/develop/font/10-powerline-symbols.conf
    mv PowerlineSymbols.otf ~/.fonts/
    
    • 更新字体缓存
    1
    
    fc-cache -vf ~/.fonts/
    
    • 配置字体
    1
    
    mv 10-powerline-symbols.conf ~/.config/fontconfig/conf.d/
    
    • 最后重启终端
Support the author with
alipay QR Code
wechat QR Code

Yang
WRITTEN BY
Yang
Developer