Skip to content

waking from suspend (lid close) briefly reveals desktop

System
Ubuntu 20.04 LTS (Focal Fossa)
Xfce 4.14.2
Kernel: 5.4.0-37-generic
ThinkPad X1 Carbon 4th (20FBCTO1WW)
Intel Core i5-6200U
Intel Skylake GT2 ()HD Graphics 520)
xfce4-screensaver version: 0.1.10-0ubuntu1
Output of xfconf-query -c xfce4-screensaver -lv
/lock/enabled                     true
/lock/saver-activation/delay      5
/lock/user-switching/enabled      false
/saver/enabled                    true
/saver/fullscreen-inhibit         true
/saver/idle-activation/delay      15
/saver/mode                       0
/screensavers/hexadrop/arguments  -delay 30000 -speed 1 -size 15 -sides 4 -uniform-speed -lockstep
/screensavers/hexadrop/lockstep   lockstep
/screensavers/hexadrop/sides      4
/screensavers/hexadrop/uniform    uniform

My laptop is configured to suspend when the lid is closed. However, when I open the lid, the screen briefly shows the contents of the unlocked screen for a second before showing the lock screen. It shows whatever applications were open when I closed the lid. I do not have this issue when suspending via the menu and waking the system up.

There is nothing useful in the logs. I previously discussed this issue here and here (years ago on Arch).

Edited by Yochai Gal