centos

CentOS中Compton配置失败怎么办

小樊
31
2025-12-13 18:45:04
栏目: 智能运维

CentOS 下 Compton 配置失败的定位与修复

一 快速定位问题

二 常见原因与对应修复

三 最小可用配置示例

# ~/.config/compton.conf
backend = "glx";
vsync = true;
shadow = true;
shadow-radius = 12;
shadow-offset-x = -12;
shadow-offset-y = -12;
shadow-exclude = [
  "name = 'Notification'",
  "name = 'Dock'",
  "class_g = 'Conky'",
  "class_g ?= 'Polybar'",
  "_GTK_FRAME_EXTENTS@:c"
];
fade-in-step = 0.03;
fade-out-step = 0.03;
inactive-opacity = 0.95;
active-opacity = 1.0;
mark-unsafe-fonts = true;

四 仍未解决时的处理

0
看了该问题的人还看了