Ubuntu system beautification memo

1. System optimization
    1. Update source
        1. Change to the source of aliyun in the settings before the update, the speed will be faster
            sudo apt-get update
            sudo apt-get upgrade`
        2. Remove the link to Amazon
            sudo apt-get remove unity-webapps-common
    2. Theme beautification
        1. First install the unity graphics management tool
            sudo apt-get install unity-tweak-tool
        2. Install the Flatabulous theme again
            sudo add-apt-repository ppa:noobslab/themes
            sudo apt-get update
            sudo apt-get install flatabulous-theme
            In ubuntu 17.01, there was an error that the acquisition failed, and a solution was found on the Internet:
            Direct git:
                #You'll have to pull updates manually.
                # in case of permission errors
                sudo chown $USER:$USER -R /usr/share/themes/
                sudo chmod 755 -R /usr/share/themes/
                cd /usr/share/themes/
                git clone https://github.com/anmoljagetia/Flatabulous
                #To update:
                #cd /usr/share/themes/Flatabulous/ && git pull origin master
        3. And matching icons
            sudo add-apt-repository ppa:noobslab/icons
            sudo apt-get update
            sudo apt-get install ultra-flat-icons
        4. Open the unity setting interface and change the theme and icon
            unity-tweak-tool
    3. System Status Indicator
        sudo add-apt-repository ppa:indicator-multiload/stable-daily
        sudo apt-get update
        sudo apt-get install indicator-multiload
2. Shell modification
    1.oh my zsh
        1. First of all, this is a zsh, first download zsh
            sudo apt-get install zsh
        2. You can check the shells available to the system, and zsh appears
            cat /etc/shells
            /bin/bash
            /bin/csh
            /bin/ksh
            /bin/sh
            /bin/tcsh
            /usr/bin/zsh
        3. Set the account's default shell to zsh
            chsh -s /usr/bin/zsh
            sudo chsh -s /usr/bin/zsh (set root user)
        4. Download and install oh-my-zsh
            1. Install git and wget tools (if not necessary)
                sudo apt-get install git
                sudo apt-get install wget
            2. Download oh-my-zsh from github
                wget https://github.com/robbyrussell/oh-my-zsh/raw/master/tools/install.sh -O - | sh
            3. Configure zsh
                cp ~/.oh-my-zsh/templates/zshrc.zsh-template ~/.zshrc
            4. Customize
                Configuration file ~/.zshrc
                Default theme:
                    ZSH_THEME="robbyrussell"
                    Currently using ys
                    Configuration files for various themes are placed in ~/.oh-my-zsh/themes/

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=325174024&siteId=291194637