Answer the question
In order to leave comments, you need to log in
How to disable screen off in debian jessie&mate?
There is a laptop with a subject, tlp on board. When powered from the mains, the screen turns off after 20 minutes of inactivity - when I watch a video via vlc, via vk or chat on skype. How to overcome this evil? mate-power-manager is out. If necessary, I will write configs, etc.
PS Because of watching the series, I have to reboot into Windows, I'm tired of the screen going blank ...
Answer the question
In order to leave comments, you need to log in
Solution: put a normal DE . I installed XFCE and Gnome3 - there was no such problem either there or there, everything turns off without problems, no evil demon turns off the screen when it is not asked. For comparison, it was loaded into mate - things are still there today.
I can offer a crutch option. Here is the script:
#!/bin/bash
TIMEOUT_STANDBY=60
TIMEOUT_SUSPEND=900
TIMEOUT_OFF=0
xset -dpms -display ":0.0"
while :
do
DPMS_STATUS=$(xset q | grep 'DPMS is' | awk '{print $3}')
VLC_PID=$(pgrep vlc)
if [ "$VLC_PID" == "" ]
then
if [ "$DPMS_STATUS" == "Disabled" ]
then
xset +dpms -display ":0.0" dpms $TIMEOUT_STANDBY $TIMEOUT_SUSPEND $TIMEOUT_OFF
fi
else
if [ "$DPMS_STATUS" == "Enabled" ]
then
xset -dpms -display ":0.0"
fi
fi
sleep 1
done
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question