S
S
shaivam2015-09-01 22:09:32
linux
shaivam, 2015-09-01 22:09:32

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

3 answer(s)
S
shaivam, 2015-11-25
@shaivam

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.

3
3vi1_0n3, 2015-09-02
@3vi1_0n3

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

to autostart

A
AVKor, 2015-09-02
@AVKor

xset dpms 0 0 0Does not help?

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question