Perfectly solve the problem that qq and tim pictures cannot be loaded under ubuntu

display image

Create tim_ipv6.sh file in any location

touch tim_ipv6.sh
gedit tim_ipv6.sh

Copy the following code in, where "password" refers to the user password, save and exit

echo "密码" | sudo  -S sysctl -w net.ipv6.conf.all.disable_ipv6=1
sudo sysctl -w net.ipv6.conf.default.disable_ipv6=1
sudo sysctl -w net.ipv6.conf.lo.disable_ipv6=1

Then enter the command line in this path sh tim_ipv6.sh
and restart wine to see the picture

Set up auto start

It must be troublesome to use the command line every time, so you can set the file to start automatically after booting.
Enter the command line gnome-session-properties
Wenqu Xun
and click "Add" in the upper right corner. The name is arbitrary. The command is the same as the command line. Pay attention to the path! ! !
Wenqu Xun
Restart, then qq and tim can display pictures~

Guess you like

Origin blog.csdn.net/qq_45758578/article/details/112283276