ubuntu

如何解决Ubuntu上Compton不生效问题

小樊
33
2025-12-24 04:58:43
栏目: 智能运维

Ubuntu 上 Compton 不生效的排查与修复

一 快速确认与定位

二 常见根因与对应修复

三 最小可用配置与验证

backend = "glx";
vsync = true;
shadow = true;
[Unit]
Description=Compton Window Composer
After=xorg.service

[Service]
ExecStart=/usr/bin/compton --config /etc/xdg/compton.conf
Restart=on-failure

[Install]
WantedBy=multi-user.target

然后执行:sudo systemctl daemon-reload && sudo systemctl enable --now compton,用 systemctl status compton 检查运行状态。

四 仍未生效时的进阶处理

0
看了该问题的人还看了