在Debian上配置Compton以支持多显示器,可参考以下步骤:
sudo apt install compton -y安装。~/.config/compton.conf,可手动创建或修改默认文件。添加多屏配置选项,如screen0和screen1,分别设置不同显示器的output、position等参数。compton -c ~/.config/compton.conf启动。/etc/systemd/system/compton.service文件,添加相关内容,然后使用sudo systemctl enable compton.service和sudo systemctl start compton.service启用并启动服务。另外,还可使用xrandr命令配置显示器分辨率和位置等,Compton会自动检测显示器,也可通过其配置文件中的选项进一步优化多屏显示效果。