要调整Linux Compton的刷新率,可以按照以下步骤进行:
Ctrl + Alt + T
打开终端。compton --version
查看Compton的版本信息。xrandr
查看当前显示器的分辨率和刷新率。compton --backend glx --config /etc/compton.conf --shadow-exclude '*' --vsync opengl --refresh-rate 60
--refresh-rate 60
参数指定了新的刷新率。~/.xprofile
或 ~/.xinitrc
,以便每次启动X服务器时自动应用新的刷新率设置。/etc/compton.conf
或编辑现有的配置文件。sudo nano /etc/compton.conf
。[compositor]
部分。refresh-rate
参数,例如:[compositor]
shadow-exclude = '*'
backend = glx
vsync = opengl
refresh-rate = 60
compton --config /etc/compton.conf
重启Compton服务,使新的配置生效。通过以上步骤,你应该能够成功调整Linux Compton的刷新率。