要通过Compton配置提升流畅度,可以参考以下几种方法:
mark-wmwin-focused = true;mark-ovredir-focused = true;use-damage = true;paint-on-overlay = true;unredir-if-possible = true;unredir-if-possible-delay = 5000;shadow-exclude = [
"name = 'Notification'",
"class_g = 'Conky'",
"class_g ?= 'Notify-osd'",
"class_g = 'Cairo-clock'",
"_GTK_FRAME_EXTENTS@:c"
];
unredir-if-possible-exclude = [
"class_g = 'Firefox'",
"class_g = 'Chromium'"
];
compton --config ~/.config/compton.conf -b
ini exec --no-startup-id compton --config ~/.config/compton.conf -bopengl, opengl-swc, opengl-mswc, drmuse-damage选项xrender或glxcompton --diagnostics命令检查当前配置。通过以上配置,你应该能够获得一个既美观又流畅的Linux桌面体验。根据你的具体硬件和桌面环境,可能需要微调某些参数以达到最佳效果。