Screen Keeps Waking Up After Locking

Whenever I lock the screen, the login prompt appears as expected. After a few seconds, the screen goes black (also as expected, after the login prompt times out), but then the screen turns back on again again a few seconds later. This cycle repeats indefinitely. Very annoying as it causes my screen to be on throughout the day/night when I can’t power off my laptop.

Happens on 4.2 with all IO devices plugged in or unplugged. Running on a ThinkPad X1 Extreme Gen 3.

Has anyone else experienced this or found a fix?

Click on the Battery icon on the Panel and check that “Presentation Mode” is not turned on!

6 Likes

I have similar issue on one laptop (also ThinkPad X1, but a different model), and there I know the trackpoint is broken - it’s more or less built-in mouse jiggler…
That was only part of the issue, the main was “presentation mode”! Thanks @barto!

1 Like

I always used to forget to turn off presentation mode, so I configured Xfce to just do that for me when the screen is locked manually:

$ xfconf-query -c xfce4-session -p /general/LockCommand -n -t string -s 'eval xfconf-query -c xfce4-power-manager -p /xfce4-power-manager/presentation-mode -s false & xscreensaver-command -lock'

(The single & is not a typo: In case the inner xfconf-query command to turn off presentation mode ever fails or hangs, xscreensaver-command -lock will still be engaged by xflock4.)

3 Likes

Awesome ! That’s definitely a “quick quality of life improvement”!

2 Likes

Wow, this bothered me for so long! Thank you.

1 Like

Great, this fixed the problem ! And sorry for the bit of delayed response, was away from home all day and wanted to check your solution before replying

1 Like

Will definitely add this later. I love presentation mode so having it auto turn off will be great