💡 This gemlog is an evolution of the one made for Debian 12. I am pretty sure the Devuan version is going to work on Debian as well, however I won't test it again since I am not interested in reinstalling Debian.
My beloved crapbook, which does honestly its job, has having a lot of issues when you close and open the lid, it may happen anything, although the most common cases are:
sudo killall slim sudo sv restart slim
alt + printscreen r e i s u b
⚠️ this workaround requires "xorg-driver-video-intel" installed!
I tested several combinations and followed various ancient and modern workarounds, none of those worked out; eventually I found my recipe, perhaps many steps are even unnecessary, however this combination seems to have the highest rate of reliability.
Section "Device" Identifier "Intel Graphics" Driver "Intel" Option "TearFree" "false" Option "TripleBuffer" "false" Option "SwapbuffersWait" "false" EndSection
=> Suggestions from Arch Wiki Intel Graphics
sudo apt install lightdm
sudo apt remove slim
=> Select "Lock Screen After…"
⚠️ Xscreensaver will take control over the screen afterward
⚠️ Any changes on the "Display Setting Tab" won't work therefore you can ignore it
xfconf-query -c xfce4-power-manager -p /xfce4-power-manager/logind-handle-lid-switch -n -t bool -s true
=> Source
⚠️ This setting seems to be forgotten, create an entry in "session and startup"
HandleLidSwitch=ignore HandleLidSwitchExternalPower=ignore HandleLidSwitchDocked=ignore LidSwitchIgnoreInhibited=no
⚠️ it is a good idea make a backup before
If you were able to read also the last point it means the workaround made its dirty jobs, and you and I can continue to use the crapbook as any other else!
Peace! 🙏
Finalizing this workaround required a lot of trials and errors, down to resuming old tricks: there were a time where declaring the correct video driver on Xorg would avoid a lot of headaches; even though today it would be supposed to leave Xorg completely stateless without any configuration.
The final result It is not still ideal, for instance none of the screen power management features works, nor TLP is able to make them working; anyway those are minor issues respect the fact to be unable to close and open lid normally… But at least I can eventually say:
«Mission accomplished!» 👍
For comments or suggestion write me at:
=> ↩ go back This content has been proxied by September (ba2dc).Proxy Information
text/gemini;lang=en