Ubuntu installs VirtualBox, Sogou Pinyin, srr, NetEase Cloud Music

1. Install VirtualBox

Download the deb package from the official website and install it with gdebi (VirtualBox.deb should be replaced by the deb name you downloaded)

gdebi VirtualBox.deb --n

Before I used Win10-Ubuntu18.04 dual system, I can use VirtualBox by running the above command; but when I installed Ubuntu18.04 to the whole computer, I found that VirtualBox could not be used after installation. After searching on the Internet, I found out that it was because Starting with kernel version 4.4.0-20, on a computer with Secure Boot turned on, unregistered kernel modules are no longer allowed to execute, so if we want to still allow execution while maintaining Secure Boot, what we need to do is to register these Module, execute the following command:

sudo -i
openssl req -new -x509 -newkey rsa:2048 -keyout MOK.priv -outform DER -out MOK.der -nodes -days 36500 -subj "/CN=Descriptive common name/"
apt-get install gcc perl make
/sbin/rcvboxdrv start
/usr/src/linux-headers-$(uname -r)/scripts/sign-file sha256 ./MOK.priv ./MOK.der $(modinfo -n vboxdrv)
mokutil --import MOK.der

Then, restart the computer-> enroll MOK-> continue-> yes-> Enter the password, you will need to use it later)-> reboot

See if you can run VirtualBox; if not. It is recommended to install VirtualBox again and then restart;

2. Install Sogou Pinyin

Run the following command:

apt remove -y ibus
apt install -y fcitx-table-wbpy fcitx-config-gtk
im-config -n fcitx
reboot

After waiting for the restart, download the deb package of Sogou Pinyin, and then run the following command:

#sogou.deb改成你自己下载下来的deb包名称
sudo gdebi sogou.deb
reboot

After waiting for restart, the fcitx icon will appear in the top bar of the computer

Click Configure to configure the input method as follows:

3. Install ssr

ssr-linux.AppImage compressed package link: https://pan.baidu.com/s/1Lw1DsIvtr4Fn3ro7tSc2dA password: 83em

Download it and run the following command in its parent directory:

sudo mkdir /opt/ssr
tar zxvf ssr.tar.gz -C /opt/ssr
chmod +x /opt/ssr/ssr-linux.AppImage
/opt/ssr/ssr-linux.AppImage

A window appears, just follow the wizard to install;

4. Install NetEase Cloud Music

Go to the official website to download the deb package of NetEase Cloud Music, and run the following command in its parent directory:

#这里NetEase.deb要改成你自己下载的deb名称
sudo gdebi NetEase.deb

If the resolution of your computer is very high (indicating that you are rich:), then when you open NetEase Cloud Music, you will feel that the font is very small. The font size can be changed as follows:

Turn off NetEase Cloud Music first, and then run the following command:

sudo gedit /usr/share/applications/netease-cloud-music.desktop

Find the line Exec =, and replace this line with Exec = netease-cloud-music --force-device-scale-factor = 2% U; then close the configuration file, and then open NetEase Cloud Music, found that the font becomes larger Over

Published 9 original articles · praised 0 · visits 121

Guess you like

Origin blog.csdn.net/ckm1607011/article/details/105470300