ubuntu vi编辑器键盘错乱

编辑文件/etc/vim/vimrc.tiny,将“compatible”改成“nocompatible”非兼容模式;

并添加一句:

set backspace=2

ubuntu换国内源

备份原有源

sudo cp /etc/apt/sources.list /etc/apt/sources.list.back

更换阿里源

打开/etc/apt/sources.list文件将以下内容替换进去

deb http://mirrors.aliyun.com/ubuntu/ xenial main
deb-src http://mirrors.aliyun.com/ubuntu/ xenial main
deb http://mirrors.aliyun.com/ubuntu/ xenial-updates main
deb-src http://mirrors.aliyun.com/ubuntu/ xenial-updates main
deb http://mirrors.aliyun.com/ubuntu/ xenial universe
deb-src http://mirrors.aliyun.com/ubuntu/ xenial universe
deb http://mirrors.aliyun.com/ubuntu/ xenial-updates universe
deb-src http://mirrors.aliyun.com/ubuntu/ xenial-updates universe
deb http://mirrors.aliyun.com/ubuntu/ xenial-security main
deb-src http://mirrors.aliyun.com/ubuntu/ xenial-security main
deb http://mirrors.aliyun.com/ubuntu/ xenial-security universe
deb-src http://mirrors.aliyun.com/ubuntu/ xenial-security universe

更新源

sudo apt-get update
#更新软件包
sudo apt-get upgrade

Mac主题美化

安装神器 gnome-tweak-tool

sudo apt install gnome-tweak-tool

安装 gnome-shell-extensions

sudo apt-get install gnome-shell-extensions
最后修改:2020 年 03 月 22 日 04 : 16 PM
如果觉得我的文章对你有用,请随意赞赏