sudo dedit /etc/profile.d/kwin.sh
加入以下内容:
#!/bin/sh
export KWIN_TRIPLE_BUFFER=1
或者直接执行这段:
sudo sh -c “tee -a /etc/profile.d/kwin.sh” << EOF
#!/bin/sh
export KWIN_TRIPLE_BUFFER=1
EOF
编辑 ~/.config/kwinrc 为以下内容:
[Compositing]
Enabled=true
GLCore=false
OpenGLIsUnsafe=false
WindowsBlockCompositing=false
在/home/路径下,找到文件.config/plasmashellrc并添加以下行(可选):
[QtQuickRendererSettings]
GraphicsResetNotifications=true
同样在/home/路径下,找到文件.config/kwinrc并添加以下行:
[QtQuickRendererSettings]
GraphicsResetNotifications=true