Closed guysoft closed 7 months ago
Unfortunately I have a problem with the build. After exactly 10 minutes, the screen goes black. According to the Internet probably a screensaver. However, I should first install one to deactivate it... Can't you solve it differently?
This is the script that disables the power management: https://github.com/guysoft/CustomPiOS/blob/devel/src/modules/gui/filesystem/home/pi/scripts/start_gui
If you run that script manually on your device it should execute without error and disable power management, just like it should on boot up.
The operation of the script can be tested by running the following example:
#!/bin/bash
DISABLE_POWER_MANAGEMENT=yes
if [[ "${DISABLE_POWER_MANAGEMENT}" == 'yes' ]];
then
echo "disabling power management"
fi
Is this still beeing worked on?
Hey, yes it is, I am just swamped with work and did not get time to get to it at all. If it works for you It would help me determine if its stable. At the moment I only had people saying it does not work.
Hi, does anyone know how to fix the standby after 10 minutes? I have the same issue. Will the above script fix the issue permanently?
@kevin2xk are you running a window manager? If so then the start_gui script should be being run on start up, this will disable screen blanking
@thedumbterminal Thanks for your reply, unfortunately I don't know what a window manager is in this context. Everything works, except the standby issue after ~10 minutes. I just stumbled upon the screen blanking option in the raspi-config menu and disabled that. Also there seems to be a config.txt option called hdmi_blanking=0, maybe adding that will help? I will try this now.
This is the content in my start_gui file:
`
DISABLE_POWER_MANAGEMENT=yes
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-a> matchbox-window-manager & `
does your matchbox-window-manager start correctly? (trying to check if this script is being used)
I'm sorry, I don't know how I can check this. I'm new to Raspberry Pi and Unix. :( I tried to run the three xset commands from the start_gui file manually and this is the output: xset: unable to open display ""
Does your raspberry pi have a screen? if so does it show windows and icons etc?
You cant run the above commands if you are ssh'ed into your pi as it will need to be from a console window via your raspberry screen
I understand. Thanks for the explanation. I have a screen attached via HDMI and I can see the website as set in the fullpageos.txt file.
Right now it seems to be OK. I entered sudo raspi-config, and from "2 Display Options" I chose "D4 Screen Blanking" and selected "No". After a reboot, the screen doesn't turn off after 10 minutes. :)
Do you happen to know if there is a config.txt switch I can use to set this to no?
I think at this point it can be released.
Released Sorry for the delay: https://github.com/guysoft/FullPageOS/releases/tag/0.13.0
FullPageOS 0.13.0 first release candidate.
Features:
reload_fullpageos_txt
script added when updating fullpageos txt file #391 (Thanks @shaunhurley)Download
https://unofficialpi.org/Distros/FullPageOS/nightly/2022-03-07_2022-01-28-fullpageos-bullseye-armhf-lite-0.13.0.zip md5:
18eb778724db18af7fe934adb7a79832
no-acceleration variant
http://unofficialpi.org/Distros/FullPageOS/no-acceleration/nightly/2022-03-07_2022-01-28-fullpageos-no-acceleration-bullseye-armhf-lite-0.13.0.zip md5:
ded199d21e28336386a14aa19793dfd4