更新国内源

cd /etc/apt/
sudo cp -p sources.list sources.list.bak
sudo vi sources.list
#阿里云源
deb http://mirrors.aliyun.com/ubuntu/ disco main restricted universe multiverse
deb-src http://mirrors.aliyun.com/ubuntu/ disco main restricted universe multiverse
deb http://mirrors.aliyun.com/ubuntu/ disco-security main restricted universe multiverse
deb-src http://mirrors.aliyun.com/ubuntu/ disco-security main restricted universe multiverse
deb http://mirrors.aliyun.com/ubuntu/ disco-updates main restricted universe multiverse
deb-src http://mirrors.aliyun.com/ubuntu/ disco-updates main restricted universe multiverse
deb http://mirrors.aliyun.com/ubuntu/ disco-backports main restricted universe multiverse
deb-src http://mirrors.aliyun.com/ubuntu/ disco-backports main restricted universe multiverse
deb http://mirrors.aliyun.com/ubuntu/ disco-proposed main restricted universe multiverse
deb-src http://mirrors.aliyun.com/ubuntu/ disco-proposed main restricted universe multiverse

#中科大源
deb https://mirrors.ustc.edu.cn/ubuntu/ disco main restricted universe multiverse
deb-src https://mirrors.ustc.edu.cn/ubuntu/ disco main restricted universe multiverse
deb https://mirrors.ustc.edu.cn/ubuntu/ disco-updates main restricted universe multiverse
deb-src https://mirrors.ustc.edu.cn/ubuntu/ disco-updates main restricted universe multiverse
deb https://mirrors.ustc.edu.cn/ubuntu/ disco-backports main restricted universe multiverse
deb-src https://mirrors.ustc.edu.cn/ubuntu/ disco-backports main restricted universe multiverse
deb https://mirrors.ustc.edu.cn/ubuntu/ disco-security main restricted universe multiverse
deb-src https://mirrors.ustc.edu.cn/ubuntu/ disco-security main restricted universe multiverse
deb https://mirrors.ustc.edu.cn/ubuntu/ disco-proposed main restricted universe multiverse
deb-src https://mirrors.ustc.edu.cn/ubuntu/ disco-proposed main restricted universe multiverse

#163源
deb http://mirrors.163.com/ubuntu/ disco main restricted universe multiverse
deb http://mirrors.163.com/ubuntu/ disco-security main restricted universe multiverse
deb http://mirrors.163.com/ubuntu/ disco-updates main restricted universe multiverse
deb http://mirrors.163.com/ubuntu/ disco-proposed main restricted universe multiverse
deb http://mirrors.163.com/ubuntu/ disco-backports main restricted universe multiverse
deb-src http://mirrors.163.com/ubuntu/ disco main restricted universe multiverse
deb-src http://mirrors.163.com/ubuntu/ disco-security main restricted universe multiverse
deb-src http://mirrors.163.com/ubuntu/ disco-updates main restricted universe multiverse
deb-src http://mirrors.163.com/ubuntu/ disco-proposed main restricted universe multiverse
deb-src http://mirrors.163.com/ubuntu/ disco-backports main restricted universe multiverse

#清华源
deb https://mirrors.tuna.tsinghua.edu.cn/ubuntu/ disco main restricted universe multiverse
deb-src https://mirrors.tuna.tsinghua.edu.cn/ubuntu/ disco main restricted universe multiverse
deb https://mirrors.tuna.tsinghua.edu.cn/ubuntu/ disco-updates main restricted universe multiverse
deb-src https://mirrors.tuna.tsinghua.edu.cn/ubuntu/ disco-updates main restricted universe multiverse
deb https://mirrors.tuna.tsinghua.edu.cn/ubuntu/ disco-backports main restricted universe multiverse
deb-src https://mirrors.tuna.tsinghua.edu.cn/ubuntu/ disco-backports main restricted universe multiverse
deb https://mirrors.tuna.tsinghua.edu.cn/ubuntu/ disco-security main restricted universe multiverse
deb-src https://mirrors.tuna.tsinghua.edu.cn/ubuntu/ disco-security main restricted universe multiverse
deb https://mirrors.tuna.tsinghua.edu.cn/ubuntu/ disco-proposed main restricted universe multiverse
deb-src https://mirrors.tuna.tsinghua.edu.cn/ubuntu/ disco-proposed main restricted universe multiverse
sudo apt-get update
sudo apt-get upgrade

双系统时间不同步

sudo timedatectl set-local-rtc 1

https://www.jianshu.com/p/cf445a2c55e8

双系统启动顺序

sudo gedit /etc/default/grub 
GRUB_DEFAULT=saved
GRUB_TIMEOUT=3
GRUB_SAVEDEFAULT=true #末尾添加
sudo update-grub

https://jingyan.baidu.com/article/c1a3101e608595de656deb0e.html

安装 electron-ssr

https://github.com/qingshuisiyuan/electron-ssr-backup/releases

说明文档

https://awesomeopensource.com/project/qingshuisiyuan/electron-ssr-backup

安装依赖

sudo apt-get install build-essential autoconf libtool libssl-dev libpcre3-dev asciidoc xmlto libz-dev zlib1g-dev

安装 proxy

sudo apt-get install proxy

firefox 配置

electron-ssr 配置

搜狗输入法 候选乱码

fcitx -r

https://blog.csdn.net/qq_36784975/article/details/88768495ddd

https://blog.csdn.net/qq_36784975/article/details/88768495ddd

Ubuntu 安装 googlepinyin 谷歌拼音输入法

sudo apt install fcitx
im-config

开启 Input Method Configuration 窗口。
在依次出现的窗口中,依次选择OK --> Yes --> fcitx --> OK
然后重启电脑

sudo apt install fcitx-googlepinyin
fcitx-config-gtk3

打开Input Method Confuguration窗口;
点击 + 号;
取消勾选「 Only Show Current Language 」这个选框;
在搜索栏中输入 google,就会找到我们刚才安装的Google Pinyin这个输入法,选中它,点击「 OK 」,就把谷歌拼音输入法添加到当前输入法列表中了

https://www.jianshu.com/p/180cd9634b4a

发表回复

您的电子邮箱地址不会被公开。 必填项已用 * 标注