Hey folks,
I ran into an annoying issue on Kali Linux (using XFCE) where the screen would still turn off or blank after being idle, even though I had already disabled all the timeout and power settings through the GUI.
Turns out, the screen blanking was still being controlled by ‘xset’ (X11 screen saver settings), not just the XFCE Power Manager. Here’s the fix that finally worked for me:
Fix — Run These Commands:
xset s off # disable screensaver
xset s noblank # prevent screen from blanking
xset s 0 0 # set timeout and cycle to 0
After running those, verify with:
xset q
Make sure it shows:
timeout: 0 cycle: 0
DPMS is Disabled
Make It Persistent:
Add the commands to your ~/.xsessionrc file:
echo -e ‘xset s off\nxset s noblank\nxset s 0 0’ >> ~/.xsessionrc
This made my screen stop turning off completely during idle. Hopefully this helps someone else dealing with the same weird behavior.
Let me know if you found a different workaround!