美文网首页
Ubuntu 16 / 18配置

Ubuntu 16 / 18配置

作者: 易水寒_1327 | 来源:发表于2019-03-22 19:48 被阅读0次

    一,卸载与更新

    1,卸载LibreOffice

    sudo apt remove libreoffice-common
    

    2,更新

    sudo apt-get update
    sudo apt-get upgrade
    

    ps:解决无法获得锁:https://www.cnblogs.com/exmyth/p/6195597.html

    二,主题美化

    1,安装主题管理软件
    Ubuntu 16.04 LTS 安装unity-tweak-tool

    sudo apt install unity-tweak-tool 
    

    Ubuntu 18.04 LTS 安装gnome-tweak-tool

    sudo apt install gnome-tweak-tool
    

    2,安装papirus的图标

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

    3,打开tweak修改图标为papirus


    YMJ1.png

    4,安装Vimix-gtk-theme主题

    # 在自己喜欢的文件夹
    git clone https://github.com/vinceliuice/vimix-gtk-themes
    # 在该文件夹下
    cd vimix-gtk-themes
    # 安装
    ./Install
    

    5,打开tweak选择一个Vimix主题修改


    YMJ2.png

    PS:
    1,之后可以根据个人喜好更换壁纸,推荐一个壁纸网站Unsplash
    2,tweak还能显示日期、电池电量以及隐藏桌面垃圾桶等功能,根据情况自己调整
    这是我自己配的效果,感觉还行

    YMJ3.png

    三,终端美化

    1,安装git和curl

    sudo apt install git
    sudo apt install curl
    

    2,安装zsh

    sudo apt-get install zsh
    # 切换为zsh
    chsh -s /bin/zsh 
    # (有时可能需要重启后才能切换成功)
    

    3,安装Oh-my-zsh

    wget https://github.com/robbyrussell/oh-my-zsh/raw/master/tools/install.sh -O - | sh
    

    4,安装语法高亮highlight

    # 在自己喜欢的文件夹
    git clone https://github.com/zsh-users/zsh-syntax-highlighting.git
    echo "source ${(q-)PWD}/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh" >> ${ZDOTDIR:-$HOME}/.zshrc
    # 生效
    source ./zsh-syntax-highlighting/zsh-syntax-highlighting.zsh
    source ~/.zshrc
    

    5,更换终端主题

    # 打开编辑
    gedit ~/.zshrc
    # 找到ZSH_THEME="robbyrussell"并修改为下面,然后保存
    ZSH_THEME="ys"
    # 生效
    source ~/.zshrc
    # 还可以根据个人喜好在终端设置中更改透明度、光标样式
    
    效果图 YMJ4.png

    四,安装分屏终端terminator

    1,安装

    sudo apt-get install terminator
    

    2,修改配置

    cd ~/.config
    # 创建文件夹
    mkdir terminator
    # 进入文件夹
    cd terminator
    # 编辑
    sudo gedit config
    

    3,加入以下配置

    [global_config]
      focus = system
      suppress_multiple_term_dialog = True
      title_transmit_bg_color = "#d30102"
    [keybindings]
    [layouts]
      [[default]]
        [[[child1]]]
          parent = window0
          profile = default
          type = Terminal
        [[[window0]]]
          parent = ""
          type = Window
    [plugins]
    [profiles]
      [[default]]
        background_color = "#2d2d2d"
        background_darkness = 0.85
        background_image = None
        background_type = transparent
        copy_on_selection = True
        cursor_color = "#f7ebeb"
        cursor_shape = ibeam
        font = Ubuntu Mono 13
        foreground_color = "#eee9e9"
        palette = "#2d2d2d:#f2777a:#99cc99:#ffcc66:#6699cc:#cc99cc:#66cccc:#d3d0c8:#747369:#f2777a:#99cc99:#ffcc66:#6699cc:#cc99cc:#66cccc:#f2f0ec"
        scroll_on_keystroke = False
        scrollbar_position = hidden
        show_titlebar = False
        use_system_font = False
    

    效果如图


    YMJ5.png

    相关文章

      网友评论

          本文标题:Ubuntu 16 / 18配置

          本文链接:https://www.haomeiwen.com/subject/bbhrvqtx.html