Linux Lite Forums

Full Version: Annoying behaviour on wake from sleep LL 4.8
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hello All,

I have installed Linux Lite 4.8 on an HP 350 G2.  Everything seems to work fine except for waking from the suspended state.
I have set the computer to blank the screen after 5 minutes of inactivity and suspend after 30 minutes on both power and battery.
The screen goes blank as it should after 5 minutes, then after 30 minutes it suspends and the power light starts flashing.
If I now try to wake it up by touching the mouse pad, what happens is that the power light stops flashing, but the screen stays dark.  I have to touch the mouse pad again to make the screen turn on.

So I have to touch the mouse twice to wake it up every time.

This may seem like a small thing, but it is still annoying.  I would like the computer to wake from sleep and turn the screen back on with a single touch of the mouse.

Can anyone please suggest a fix, or at least a way of finding out why the screen doesn't turn on when the mouse is first touched?

I have already tried to fix it by putting:
ExecStart=/usr/bin/bash -c "xrandr -d :0 --output eDP-1 --auto"
in a systemd service file "After=suspend.target", which seemed like a good idea, but soon discovered that the command was not being executed on wake after suspend.
It sounds an interesting problem but Linux Lite 4.x has been out of support and un-patched for nearly three years (April 2023).
Current versions are LL 6.x (support until April 2027) and 7.x which has support until April 2029.
Is there a particular reason to be using 4.8 ?