You are not logged in.
Pages: 1
Hi,
is it possible that the screen automatically turns on after resume from suspend/hibernate without moving the mouse? I'm using the Xfce as desktop environment and I'd like to see when the computer is started and ready. To be clear, this is not related to any problem where the screen doesn't turn on at all after resuming. I found them a lot during my web search.
Thanks for your help.
Current issues: Turn screen on after resume
Offline
add sth. like this to /usr/lib/systemd/system-sleep/dpms.sh
#!/bin/sh
case $1/$2 in
post/*)
sudo -u <you> xset -display :0 dpms force on
;;
esac
Tricky part is "<you>" and ":0" - the above will work for the simple single user case, but otherwise you'll have to figure which X display is presently on the active VT and who has the authority to access it.
Offline
I tried your suggestion, but the screen turns on only for an instant and goes off again after a second.
Current issues: Turn screen on after resume
Offline
Sounds as if something™ (screenlocker?) either sets the dpms timeouts to "nothing" or intercepts dpms events and forces dpms off immediately.
Prepend
sudo -u <you> xset -display :0 -q > /tmp/dpms.status
and inspect /tmp/dpms.status
Offline
This gives me the following output. The monitor seems to be on.
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: 20
auto repeating keys: 00ffffffdffffbbf
fadfffefffedffff
9fffffffffffffff
fff7ffffffffffff
bell percent: 50 bell pitch: 400 bell duration: 100
Pointer Control:
acceleration: 2/1 threshold: 4
Screen Saver:
prefer blanking: yes allow exposures: yes
timeout: 0 cycle: 0
Colors:
default colormap: 0x20 BlackPixel: 0x0 WhitePixel: 0xffffff
Font Path:
/usr/share/fonts/misc/,/usr/share/fonts/TTF/,/usr/share/fonts/OTF/,built-ins
DPMS (Energy Star):
Standby: 0 Suspend: 0 Off: 600
DPMS is Enabled
Monitor is On
Also tried
xset -display :0 s reset
This turns the back light on for a second. While the back light is on there is only a black screen.
Current issues: Turn screen on after resume
Offline
Pages: 1