如何通过命令行更改 XFCE 显示配置文件?

red*_*pet 6 xfce xubuntu command-line display multiple-monitors

我可以使用该xfce4-display-settings命令配置不同的显示配置文件,并且我知道我可以使用该命令查询当前正在使用哪个显示配置文件

xfconf-query -c displays -p /ActiveProfile
Run Code Online (Sandbox Code Playgroud)

这给了我当前配置文件的 ID。是否可以使用命令行更改显示配置文件?我试过

xfconf-query -c displays -p /ActiveProfile -s <PROFILE ID>
Run Code Online (Sandbox Code Playgroud)

但是,虽然这改变了 的输出xfconf-query -c displays -p /ActiveProfile,但它实际上并没有改变我的显示器的配置。

小智 6

以下应该有效。我厌倦了 XFCE 4.16。

xfconf-query --create --type string -c displays -p /Schemes/Apply -s <PROFILE>
Run Code Online (Sandbox Code Playgroud)