Per*_*est 22 xorg screensaver raspberry-pi monitors
我正在使用 Raspberry Pi 在办公室运行信息显示。我希望在非工作时间以省电模式显示。我打算用来cron
在一天的开始和结束时执行某些操作,但xset dpms force off
不起作用。
我在文件中添加了xset s off
,xset -dpms
和 并禁用了屏幕保护程序(因此显示在白天保持打开状态)。xset s noblank
/etc/xdg/lxsession/LXDE/autostart
以下是结果xset q
:
Keyboard Control:
auto repeat: on key click percent: 0 LED mask: 00000000
XKB indicators:
00: Caps Lock: off 01: Num Lock: off 02: Scroll Lock: off
03: Compose: off 04: Kana: off 05: Sleep: off
06: Suspend: off 07: Mute: off 08: Misc: off
09: Mail: off 10: Charging: off 11: Shift Lock: off
12: Group 2: off 13: Mouse Keys: off
auto repeat delay: 500 repeat rate: 33
auto repeating keys: 00ffffffdffffbbf
fadfffefffedffff
9fffffffffffffff
fff7ffffffffffff
bell percent: 0 bell pitch: 400 bell duration: 100
Pointer Control:
acceleration: 20/10 threshold: 10
Screen Saver:
prefer blanking: no allow exposures: yes
timeout: 0 cycle: 600
Colors:
default colormap: 0x20 BlackPixel: 0x0 WhitePixel: 0xffff
Font Path:
built-ins
DPMS (Energy Star):
Standby: 600 Suspend: 600 Off: 600
DPMS is Disabled
Run Code Online (Sandbox Code Playgroud)
更新:xset s blank && xset +dpms && xset dpms force off
将显示空白,但不会将其置于省电模式。在阅读了很多线程后,我仍然无法获得正确的系统时间(我认为可能是防火墙问题)...
小智 9
这个问题确实属于 raspberrypi.stackexchange.com,因为它是 Raspberry Pi 特定的问题:Raspberry Pi 的内核帧缓冲驱动程序不支持 X 用来使显示器进入睡眠状态的功能:
https://github.com/raspberrypi/linux/issues/487
在此问题得到解决之前,X 不可能使用 DPMS 使显示器进入睡眠状态。
您可能对/opt/vc/bin/tvservice
程序有一些运气:tvservice -o
关闭 HDMI 并tvservice -p
应重新打开 HDMI。
归档时间: |
|
查看次数: |
20007 次 |
最近记录: |