1、安装xcompmgr sudo apt-get install xcompmgr
2、设置xcompmgr自动启动
mkdir~/.config/autostart
vim xcompmgr.desktop
将如下内容写入xcompmgr.desktop文件,保存即可
[Desktop Entry] Type=Application Encodeing=UTF-8 Name="xcompmgr" Comment="" Exec="xcompmgr" hidden=false NoDisplay=false Terminal=false