安装了双系统,使用Rufus制作启动U盘。GPT格式、etx4格式、any else 、傲梅GD分区助手。
备份源:
mv /etc/apt/sources.list /etc/apt/sources.listbak
更换源:
vim /etc/apt/sources.list
写入:
deb https://mirrors.tuna.tsinghua.edu.cn/ubuntu/ bionic main restricted universe multiverse
deb-src https://mirrors.tuna.tsinghua.edu.cn/ubuntu/ bionic main restricted universe multiverse
deb https://mirrors.tuna.tsinghua.edu.cn/ubuntu/ bionic-updates main restricted universe multiverse
deb-src https://mirrors.tuna.tsinghua.edu.cn/ubuntu/ bionic-updates main restricted universe multiverse
deb https://mirrors.tuna.tsinghua.edu.cn/ubuntu/ bionic-backports main restricted universe multiverse
deb-src https://mirrors.tuna.tsinghua.edu.cn/ubuntu/ bionic-backports main restricted universe multiverse
deb https://mirrors.tuna.tsinghua.edu.cn/ubuntu/ bionic-security main restricted universe multiverse
deb-src https://mirrors.tuna.tsinghua.edu.cn/ubuntu/ bionic-security main restricted universe multiverse
deb https://mirrors.tuna.tsinghua.edu.cn/ubuntu/ bionic-proposed main restricted universe multiverse
deb-src https://mirrors.tuna.tsinghua.edu.cn/ubuntu/ bionic-proposed main restricted universe multiverse
sudo apt-get update
sudo apt-get grade
sudo ubuntu-drivers autoinstall
wget https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb
sudo apt-get -f install
sudo dpkg -i google-chrome-stable_current_amd64.deb
启动chrome
google-chrome --proxy-server=http://127.0.0.1:7890
https://zhuanlan.zhihu.com/p/327833298
https://blog.csdn.net/weixin_39792252/article/details/80415550
gsettings set org.gnome.gedit.preferences.encodings candidate-encodings "['GB18030','GB2312','GBK','UTF-8','BIG5','CURRENT','UTF-16']"
sudo apt-get install language-pack-zh-hans
然后,修改/etc/environment(在文件的末尾追加):
LANG="zh_CN.UTF-8"
LANGUAGE="zh_CN:zh:en_US:en"
再修改/var/lib/locales/supported.d/local(没有这个文件就新建,同样在末尾追加):
en_US.UTF-8 UTF-8
zh_CN.UTF-8 UTF-8
zh_CN.GBK GBK
zh_CN GB2312
最后,执行命令:
sudo locale-gen
对于中文乱码是空格的情况,安装中文字体解决。
sudo apt-get install fonts-droid-fallback ttf-wqy-zenhei ttf-wqy-microhei fonts-arphic-ukai fonts-arphic-uming
https://itsfoss.com/upgrade-ubuntu-version/
nvidia驱动在双驱动力有点不好弄,如何删除。
https://zhuanlan.zhihu.com/p/356798985
(1)管理员打开cmd
(2)输入“diskpart”
(3)输入“list disk”查询磁盘信息
(4)选择win10系统 所在磁盘“sel disk n”n为数字
(5)“list partition”查询磁盘下分区
(6)“sel partition n”选择EFI所在分区
(7)“assign letter = p”给EFI分配盘符p,“A-Z”中除了已有盘符字母都行,大小写无关。
(8)查看PC磁盘发现多出磁盘P
然后去文件系统删除EFI里的ubuntu目录。
回到cmd窗口中,“remove letter = p”移除EFI盘符。