Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 3881

Beginners • Re: FullPageOS screen is always blank after 5 Minutes

$
0
0
Yes now it seems to work but this is strange because in the start_gui file there is following code and the blank screen should be disabled by default.

Do you know why the start_gui have no affect?

#!/bin/bash

# Stop the screen from turning off when idle.
DISABLE_POWER_MANAGEMENT=yes

# Rotate screen if needed, see 'xrandr -h' for options.
DISPLAY_ORIENTATION=normal

if ["${DISPLAY_ORIENTATION}" != 'normal'];
then
xrandr --orientation ${DISPLAY_ORIENTATION}
fi

if ["${DISABLE_POWER_MANAGEMENT}" == 'yes'];
then
xset s off # don't activate screensaver
xset -dpms # disable DPMS (Energy Star) features.
xset s noblank # don't blank the video device
fi

compton -b -d :0 --backend glx --unredir-if-possible --glx-swap-method buffer-age --glx-no-stencil --paint-on-overlay ->matchbox-window-manager &

/home/pi/scripts/run_onepageos

Statistics: Posted by Rocky182 — Mon Jan 29, 2024 9:57 am



Viewing all articles
Browse latest Browse all 3881

Trending Articles