在 Ubuntu 上安装 DPMS 扩展?

在 Ubuntu 上安装 DPMS 扩展?

**意外登录 Wayland 上的 Ubuntu 导致 DPMS 无法启用。我的错。**

我需要在 JS 中运行一个脚本:exec('xset dpms force off', null);

我正在运行 Ubuntu 18.10,但未启用 DPMS。有没有办法安装/启用它?似乎找不到任何东西。

谢谢!

答案1

我登录了 Wayland 上的 Ubuntu,但未启用或安装 DPMS。只需登录常规 Ubuntu,一切正常。

不过@Terrance 确实想出了一个解决方案:sudo apt install libxcb-dpms0*

相关内容