在Debian中使用Compton进行多显示器设置,可参考以下步骤:
sudo apt install compton
安装。~/.config/compton.conf
,可通过nano
等编辑器打开。若要设置特定显示器参数,可在文件中添加如screen0
、screen1
等字段,指定输出设备、位置等信息,也可通过xrandr
命令配置显示器分辨率和位置,Compton会自动检测显示器。compton -c ~/.config/compton.conf
命令启动。/etc/systemd/system/compton.service
文件,添加相关内容,然后使用sudo systemctl enable compton.service
和sudo systemctl start compton.service
启用并启动服务。