关于Ubuntu环境搭建的便捷指令集
#卸载libreoffice以及亚马逊
sudo apt-get remove unity-webapps-common libreoffice-common
#调整Ubuntu状态栏位置(Bottom/Left/Right/Top)
gsettings set com.canonical.Unity.Launcher launcher-position Bottom
#双系统引导丢失
sudo update-grub
#ubuntu引导丢失,需要提前准备Ubuntu启动盘,并进入try ubuntu模式
sudo add-apt-repository ppa:yannubuntu/boot-repair
sudo apt update
sudo apt install boot-repair -y
boot-repair #开始对引导进行修复,最好在root模式下修复
#换源
sudo gedit /etc/apt/sources.list
deb http://mirrors.ustc.edu.cn/ros/ubuntu/ $DISTRIB_CODENAME main
#阿里源
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.ali